chilipie
10-25-2004, 06:30 PM
I had a go at the Faux Columns (http://www.alistapart.com/articles/fauxcolumns/) method at ALA (http://www.alistapart.com/) but the background appears in IE but not Mozilla.
HTML:
<div id="container">
<div id="left">
<p>Lots of Lipsum.</p>
</div>
<div id="right">
<p>
menu item<br />
menu item<br />
menu item<br />
menu item<br />
menu item<br />
menu item<br />
</p>
</div>
</div>
</div>
CSS:
body {
background : #39f;
text-align : justify;
color : #000;
font : small Arial, Helvetica, sans-serif;
}
#container {
width: 600px;
background: #fff url(fauxtest.gif) repeat-y 50% 0;
margin: 0 auto;
}
#left {
width: 400px;
float: left;
background: transparent;
}
#left p {
padding: 3%;
}
#right p {
padding: 3%;
color : #ccc;
font-weight: bold;
text-align: center;
}
#right {
width: 200px;
float: right;
background: transparent;
}
Thanks.
HTML:
<div id="container">
<div id="left">
<p>Lots of Lipsum.</p>
</div>
<div id="right">
<p>
menu item<br />
menu item<br />
menu item<br />
menu item<br />
menu item<br />
menu item<br />
</p>
</div>
</div>
</div>
CSS:
body {
background : #39f;
text-align : justify;
color : #000;
font : small Arial, Helvetica, sans-serif;
}
#container {
width: 600px;
background: #fff url(fauxtest.gif) repeat-y 50% 0;
margin: 0 auto;
}
#left {
width: 400px;
float: left;
background: transparent;
}
#left p {
padding: 3%;
}
#right p {
padding: 3%;
color : #ccc;
font-weight: bold;
text-align: center;
}
#right {
width: 200px;
float: right;
background: transparent;
}
Thanks.