Cheers for that mate, it looks like a brilliant solution..

Taco Fleur
Blog http://www.tacofleur.com/index/blog/
Methodology http://www.tacofleur.com/index/methodology/
0421 851 786
Tell me and I will forget
Show me and I will remember
Teach me and I will learn 


> -----Original Message-----
> From: Mark Stanton [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, 13 January 2004 3:24 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [WSG] DIV not displaying as I want, browser IE6
> 
> 
> 
> Image I have a picture that appears once on lots of pages so 
> I give it:
> 
> <img id="galah" src...>
> 
> with the style:
> 
> img#galah { border:0; }
> 
> But on one page I want to give it more emphasis - I decide 
> that a big pink border will be perfect - how do I do this? 
> Well on the page in question I put a class or id on the body:
> 
> <body class="birdsOfAustralia">
> 
> and add this into my css:
> 
> body.birdsOfAustralia img#galah { border: 50px solid pink; }
> 
> I've take this to such extremes that on sites where every 
> page has a unique identifier I chuck that in the body tag on 
> every page as either a class or id (any thoughts on which?). 
> This just makes it super simple to write in that odd 
> exception, without hacking at the content itself.
> 
> 
> Cheers
> 
> Mark
> 
> 
> ------------------
> Mark Stanton
> Technical Director
> Gruden Pty Ltd
> Tel: 9956 6388
> Mob: 0410 458 201
> Fax: 9956 8433
> http://www.gruden.com
> 
> *****************************************************
> The discussion list for http://webstandardsgroup.org/
> ***************************************************** 
> 

*****************************************************
The discussion list for http://webstandardsgroup.org/
***************************************************** 

Reply via email to