Well you use lists because that's what navigation is, a list of links.
To give them letters, use the CSS property:
list-style-type:lower-alpha;
on your <li> elements.
Chris Stratford wrote:
I believe its because, when you style it in CSS.
And make the LINKS, BLOCK ELEMENTS - without using <ul>'s.
Without the stylesheet, the links will bunch up without any spaces or gaps.
So you use a <ul> and <li>'s - just for the fact that it will be backwards compatable with browsers which dont support CSS, and also its just better formatted when you view your code... - thats my opinion...
:)
Ted Drake wrote:
<ol> gives your links the number 1, 2, 3, etc. On this line, how do I change it to A, B, C, a, b, c, etc. Ted
-----Original Message----- From: ckimedia [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 4:10 PM To: [EMAIL PROTECTED] Subject: [WSG] As Good As the Weakest Link
Hi,
When styling a group of links one can simply change the display of the a:link and a:visited state to display block, making a simply line of links into a list. What is the advantage of using a <ol> for links as opposed to the aforementioned, if any?
#navbar a:link, #navbar a:visited { display: block; color: #7e7e7e; background-color: #ffffff; border-bottom: solid 1px #000000; padding-bottom: 3px; padding-top: 3px; }
"Complexity is good, complicated is bad." —Paolo Soleri
Chris ***************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ***************************************************** ***************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *****************************************************
***************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *****************************************************
-- Rob Miller http://robm.kicks-ass.net/ | http://blog.robm.kicks-ass.net/
begin:vcard fn:Rob Miller n:Miller;Rob email;internet:[EMAIL PROTECTED] note;quoted-printable:Head developer of hazeCMS=0D=0A= http://robm.kicks-ass.net/ x-mozilla-html:TRUE url:http://robm.kicks-ass.net version:2.1 end:vcard
