The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi, I have an issue with CSS. I want to add a table at the very top of my site with links in it, and I want to add a background image to the table. How would I go about doing something like this on vbulletin?
|
|
#2
|
|||
|
|||
|
hum, actually you are messing CSS with tables...
CSS is WITHOUT tables... you have to edit the template "header" to add the table you want... |
|
#3
|
||||
|
||||
|
Nope. CSS doesn't mean without tables. CSS is for styling, it can be applied to anything, including tables.
|
|
#4
|
||||
|
||||
|
yep, CSS is for presentation (style) not content (structural elements/data)
with that said, I do believe that the thread poster is confusing some terms |
|
#5
|
||||
|
||||
|
Set an Image as Background:
Code:
<html>
<head>
<style type="text/css">
body
{
background-image:
url('bgdesert.jpg')
}
</style>
</head>
<body>
</body>
</html>
Create A Horizontal Menu: Code:
<html>
<head>
<style type="text/css">
ul
{
float:left;
width:100%;
padding:0;
margin:0;
list-style-type:none;
}
a
{
float:left;
width:6em;
text-decoration:none;
color:white;
background-color:purple;
padding:0.2em 0.6em;
border-right:1px solid white;
}
a:hover {background-color:#ff3300}
li {display:inline}
</style>
</head>
<body>
<ul>
<li><a href="#">Link one</a></li>
<li><a href="#">Link two</a></li>
<li><a href="#">Link three</a></li>
<li><a href="#">Link four</a></li>
</ul>
</body>
</html>
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|