Thanks for all your comments, CSS3 sounds loads better, but it will
probably be many years until we can get decent browser support!

I decided to put it in as an image, because I can't hide the text of
an ordered list (list-style:none;) without it causing problems with
Screen readers anyway. Hence if I used a background image to replace
it, I defeat it's intended purpose.

So, with that done, I can also use server side code to implement the
image names. A bit easier all round, but the HTML doesn't look as
clean as I would like.

Thanks for your help everyone.
Paul


On 18/05/07, Mordechai Peller <[EMAIL PROTECTED]> wrote:
Lucien Stals wrote:
> Why aren't you just dealing with this server side and generating the
> desired classes and tags there?
I see two reasons. First, by generating the CSS dynamically, browsers
are unable to cache it, thereby loosing one of the benefits of external
style sheets. Second, by adding all those extra classes (or ids), the
HTML becomes bloated and looses semantic value.


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************




--
-----------------------------------------------

Paul Collins
Ph: +44 (0) 793 9038 249 (UK)
[EMAIL PROTECTED]


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to