Re: XBlue_Pro theme

Marjolein Katsma <[email protected]> Sat, 26 Jul 2003 20:56:39 +0000 (UTC)
Newsgroups gmane.comp.cms.xaraya.ui
Organization Xaraya News Server
Message-ID <[email protected]>
andy varganov wrote in 
news:mailman.2829.1059212451.14415.xaraya_ui-n5IRV0TL0hwRxVAL8JNkPw@public.gmane.org:

> Debugging css can be a pain ;-)

Amen to that.

But, I've found it's even harder when you combine a linked stylesheet 
with in-line styles. I suggest moving *all* in-line styles to a (the) 
linked style sheet before you even start debugging!

(After figuring out my own multi-site setup, that's the very next step 
for me!)

Debugging hint: It often helps to see the exact 'extent' of an element 
while debugging sizing and positioning. Two possible approaches 
(depending on what you already have for that element) which I often use:
- add a temporary (and 'glaringly' different) background color, e.g.
    	background-color: yellow; /* debug */
- add a temporary border with a distinguishing color, e.g.
    	border: solid 1px red; /* debug */
It's easy to leave these in the stylesheet and comment/uncomment them as 
needed until all sizing/positioning is sorted out.


-- 
Marjolein Katsma
* Help with HomeSite/Studio: http://hshelp.com/
* Books for webmasters and webrookies: http://books.hshelp.com/
* Java Woman: http://javawoman.com/