Bradley Wright wrote:
> On 22 Mar 2007, at 10:56, Robert O'Rourke wrote:
>> I've had similar problems in the past but there's a really useful tool
>> that comes with the developer toolbar  for firefox. If you go to
>> CSS dropdown and click on view style information (or ctrl+shift+y)
>> you can click on any element to see all the CSS that applies to it,
>> way you can eliminate unnecessary styles and/or re-plan the code.
> I've had more success using Firebug  for that purpose, as you can
> edit styles live to test out bug fixes etc. The latest version is
> just amazing.
>  - http://getfirebug.com/
For me, it's been best to start with a CSS file that parallels the HTML
file - you know, styles for HTML and/or BODY, then styles for any
positioning DIVs, and work my way down - and always set an attribute as
high up the chain as possible.
Then, when it's working the way it's supposed to, I go back through the
CSS, searching for duplicates, then decide if I really need that duplicate.
But I try to keep my HTML as simple as possible; working my way might
not be so easy with a complex HTML document.
authenticity, honesty, community
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/