Previous Message
Next Message

Border Problem - Update

Sent by Gunlaug_Sørtun on 25 March 2006 08:08


Iorhael wrote:
> www.drkdesign.com/LRE/

> This is an update to the border problem I posted about earlier. The 
> borders for the #header and #search divisions for some reason are 
> appearing *at the top of the divisions* rather than containing the 
> content within the division, even though I have them nested in the 
> html.

Add, separately...

#header, #search {overflow: hidden;}
@media screen {
* html #header, * html #search {overflow: visible; height: 0;}
}

That will make those containers expand to 'contain the content'[1][2].


Also, you may want to add...

#guidescontainer2 {margin-right: -3px;}

....just to save IE/win from its calculation-bugs that may otherwise
cause float-drop on some window-widths.

regards
	Georg

[1]http://www.w3.org/TR/CSS21/visuren.html#q15
[2]http://www.satzansatz.de/cssd/onhavinglayout.html
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Message thread: