Nick Fitzsimons wrote:
> Mark D Hiatt wrote:
>   
>> One trick I've used quite a few times is to put a garish border around 
>> whatever I'm working on at the moment. If my page is deep reds and browns, 
>> I'll put a 1px solid yellow border around a DIV I am wrestling with, and 
>> quite often that shows me that I'm having issues with margins or paddings 
>> or whatever. 
>>     
> Setting a border affects the box model - use the "outline" property 
> instead, supported in FF1.5, Opera and Safari.
>   

Sorry for the late reply on this one (trying to read some straggling 
threads before I go out of town). I use background colors to see where 
elements are lying because, like outline, they don't affect the box 
model, and unlike outline, they are supported in IE and older browser 
versions. I use the outline property in the rare cases where background 
colors don't make the divisions between elements clear enough. I almost 
never use the border property, because as soon as it is removed there is 
a likelihood that things will shift around (due to margin collapsing).

Zoe

-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/

Reply via email to