Luc wrote: > Somehow i'm forced to set a width on my contentwrapper: no width or a > width of 100% cuts off the #contentright and the background image i > had on my header when resizing to smaller screen resolution. I'm > wondering if this is normal behaviour? > <trimmed> > > http://www.dzinelabs.com/sandbox/madcow/madcowbody.html > > > > Seems i caught the mad cow disease lol > >
That cow is going to send all of us to the psych ward: how's she feel about this? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="generator" content="HTML Tidy for Linux/x86 (vers 1st November 2002), see www.w3.org" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>Your Title</title> <style type="text/css"> html, body { background-color : #fff; color : #000; margin : 0; padding : 0; } body { font : 100% arial, sans-serif; } h1 { font-size : 140%; margin : 0; text-align : right; padding : 170px 10px 0 0; } #page { border : 1px solid fuchsia; } #header-2 { background : url(http://www.dzinelabs.com/sandbox/madcow/doodle_header.gif) no-repeat 0 0; height : 248px; } #header-1 { background : url(http://www.dzinelabs.com/sandbox/madcow/doodle_head2.gif) repeat-x; height : 248px; } p { margin : 10px; } #primary { width : 30%; float : left; } #secondary { display : table; width : 44%; } #secondary p { margin-left : 20%; } ul { background-color : #eee; margin : 0; padding : 10px 0 10px 10px; } li { display : inline; list-style-type : none; margin : 0; padding : 0 20px 0 0; } .clear { clear : both; } </style> <!--[if lt IE 7]><style> /* style for IE6 + IE5.5 + IE5.0 */ #secondary { zoom: 1; } </style><![endif]--> </head> <body> <div id="page"> <div id="header-1"> <div id="header-2"> <h1>a mighty mad cow</h1> </div> </div> <ul> <li><a href="#">Item one</a></li> <li><a href="#">Item two</a></li> <li><a href="#">Item three</a></li> <li><a href="#">Item four</a></li> <li><a href="#">Item five</a></li> </ul> <div id="wrapper"> <div id="primary"> <p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p> </div> </div> <div id="secondary"> <p>There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don't look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn't anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p> </div> <div class="clear"><!-- --></div> </div> </body> </html> -- http://chelseacreek -- http://chelseacreekstudio.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
