I've managed to hand-code, slideshows, and lightbox 2 into my pages with absolutely no errors (Can't take credit for that really mostly thanks to angelwatt
) but I'm still struggling with lists
.
I have an inline list as my navigation on the top and I'm starting to try to format them before I really mess up my site
.
I want the last bar (contact us) to have no padding, because the padding-right is causing it to over-run and go to bottom
. I would like it neat and flush with the right, but can't get my head around it, I've tried everything. Floats, margins, lists within lists and other lists etc.
One question for the pro's; should my primary font 'lucidia grande' not be available just realised all the work I'm putting in now to try to get a neat layout will be worthless. What do you guys do about this; I'm guessing fluid layouts
.
Thanks guys..
CSS:
HTML:
I have an inline list as my navigation on the top and I'm starting to try to format them before I really mess up my site
I want the last bar (contact us) to have no padding, because the padding-right is causing it to over-run and go to bottom
One question for the pro's; should my primary font 'lucidia grande' not be available just realised all the work I'm putting in now to try to get a neat layout will be worthless. What do you guys do about this; I'm guessing fluid layouts
Thanks guys..
CSS:
HTML:
#nav_list ul{
list-style:none;
margin:0px;
padding:0px;
padding:0px:
float:left;
font-family: "Lucidia Grande", Lucida Sans Unicode, Verdana, sans-serif;
font-size: 1.8em;
}
#no_pad ul {
list-style:none;
margin:0px;
padding:0px;
padding:0px:
float:left;
}
#no_pad li {
padding-right:0px;
text-align:right;
font-family: "Lucidia Grande", Lucida Sans Unicode, Verdana, sans-serif;
font-size: 1.8em;
}
#navbar {
padding:15px 0px 8px 0px;
}
#navbar ul{
list-style:none;
margin:0px;
padding:0px;
padding:0px:
float:left;
}
#navbar li{
font-family: "Lucidia Grande", Lucida Sans Unicode, Verdana, sans-serif;
font-size: 1.8em;
display:inline;
width:225px;
padding:0px 30px 0px 0px;
margin:0px;
line-height:0px;
}
HTML:
<div id="navbar">
<ul id="nav_list">
<li><a href="index.htm">home</a></li>
<li>services</li>
<li><a href="gallery.htm">previous jobs</a></li>
<li>guarantee</li>
<li id="no_pad">contact us</li>
</ul>
</div>