- This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hey, need some help here. Designing a website and integrating facebook into it. (http://tifty.tinr.org/index2.php)
I want a layout like this
[img]http://triton.imageshack.us/Himg243/scaled.php?server=243&filename=whatiwantpo9.png&xsize=578&ysize=480[/img]
However, I can’t get the navigation bar the way I want it. I tried floats but they don’t seem to want to work :x
Here is my code as of right now (html) but can be changed in anyway
…
Try putting links b in a span tag instead of a div tag.
Find:
Replace with:
Find:
#menubar2
{
font-size: 10pt;
display: inline;
float:right;
background: #809FFF;
margin-bottom: 5px;
padding-right: 5px;
padding-left: 5px;
}
#menubar a
{
color: white;
display: compact;
list-style: none;
text-decoration: none;
}
#menubar a:hover
{
background: #CCCCFF;
}
Replace with:
#menubar2 {
float: right;
}
#menubar a {
color: #fff;
text-decoration: none;
}
#menubar a:hover {
background: #ccf;
}
Thanks iopet. The clear:both did it.