Re: [css-d] two colored headers

2006-01-28 Thread david
What is the purpose of the span? Screenreader users won't see the colors. If it's for emphasis, you might want to do something like this instead: Markup: Leroy Jenkins CSS: h1.strong {color:blue;} h1.em {color:red} Add additional CSS settings to each of the above to change what the browser defau

Re: [css-d] two colored headers

2006-01-27 Thread David Hucklesby
On Fri, 27 Jan 2006 09:25:37 -0600, cj wrote: > i think spans are the way to go for this situation, but i think you'll > find that naming your classes something meaningful (such as > "first-name" and "last-name") is a better practice than naming them by > color. > > Lerrroyy class="las

Re: [css-d] two colored headers

2006-01-27 Thread Ben Liu
Thanks for response cj, and for correcting my spelling of Lerryyy. :-) On 1/27/06, cj <[EMAIL PROTECTED]> wrote: > i think spans are the way to go for this situation ... __ css-discuss [EMAIL PROTECTED] http://www.css-disc

Re: [css-d] two colored headers

2006-01-27 Thread cj
i think spans are the way to go for this situation, but i think you'll find that naming your classes something meaningful (such as "first-name" and "last-name") is a better practice than naming them by color. LerrroyyJenkins hth

[css-d] two colored headers

2006-01-27 Thread Ben Liu
Apologies if this has been answered before. What is the semantically correct method of coding a two color header? Is this the optimal syntax: LeroyJenkins .blue_part_of_the_header {color: blue;} .red_part_of_the_header {color: red;} Thanks for any help. - Ben Liu ___