W3C home > Mailing lists > Public > www-talk@w3.org > November to December 2006

Best Practices - CSS

From: Sze Chan <sze.m.chan@gmail.com>
Date: Thu, 30 Nov 2006 11:41:04 -0500
Message-ID: <294d4f740611300841y2e24a556m4389c04df940d08b@mail.gmail.com>
To: www-talk@w3.org
Hi everyone,

I've noticed at work that most DIV elements have to be over-written with a
new style sheet.
Such as:
<div class="main" style="width:85%; font-size:18pt;">

I don't think this is good practice since it's such a hack, but it works and
fixes the underlying layout problem.

Can anyone tell me what the best practice for over-writing existing CSS
styles?

-- 
Sze  Chan
sze.chan@acm.org

"DON'T BE ENCUMBERED BY HISTORY. GO OFF AND DO SOMETHING WONDERFUL. "
~Intel Co-Founder, Bob Noyce
Received on Saturday, 2 December 2006 01:50:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:29 GMT