Thread
:
Good CSS layout tutorials?
View Single Post
06-19-2008, 10:25 AM
#
10
phernikas
Join Date
Oct 2005
Posts
440
Senior Member
The best layouts have the least HTML
For the footer, instead of using a div and a bunch of nav anchors, try making it an unordered list.
It makes it easier to style because you can apply a class (or ID) to the UL, rather than each anchor.
Code:
Code
home
news
today
accommodations
heritage museum
CAP program
businesses
organizations
ratepayers
contact us
#footnav { list-style-type: none; } #footnav li { display: inline; margin: 0 3px; /* 0 margin on top / bottom, 3px on left and right */ } #footnav li a { text-decoration: none; /* remove underline */ color: #000000; }
Quote
phernikas
View Public Profile
Find More Posts by phernikas
All times are GMT +1. The time now is
11:25 AM
.