Sent by david on 22 March 2007 19:07
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 [1] for firefox. If you go to
>> the
>> CSS dropdown and click on view style information (or ctrl+shift+y)
>> then
>> you can click on any element to see all the CSS that applies to it,
>> that
>> way you can eliminate unnecessary styles and/or re-plan the code.
>
> I've had more success using Firebug [1] for that purpose, as you can
> edit styles live to test out bug fixes etc. The latest version is
> just amazing.
>
> [1] - 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.
--
David
[EMAIL-REMOVED]
authenticity, honesty, community
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
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/