Hello Paul,
Been a while since i've chkd the formus here.
I have a small query, have been tryin to wrk out a method to perfect a 2 or 3 column layout with tiling bg which is not wrkin.
I referred to the SitePoint book i purchased in which it says using Javascript I can acheive the same. Is there a way to do so w/o using js ??
I wrked on a sample, the code for whick is below, pls have a look and show a way out. Thanks,
style defined i the head tags as below:
<style>
#left {
float: left;
width: 200px;
}
#center {
margin-left: 210px;
margin-right: 210px;
background-color: #ccc;
}
#clear {
clear: both;
}
</style>
in my body this is what's ther:
<div id="wrapper">
<div id="left">
raj left column<br><br>raj left column<br><br>raj left column<br><br>raj left column<br><br>raj left column<br><br>raj left column<br><br>raj left column<br><br>raj left column<br><br>raj left column<br><br>raj left column<br><br>
</div>
<div id="center">
kjhdfkjg hsdkfg<br><br>kjhdfkjg hsdkfg<br><br>kjhdfkjg hsdkfg<br><br>kjhdfkjg hsdkfg<br><br>kjhdfkjg hsdkfg<br><br>kjhd<br><br>
</div>
<div id="clear"></div>
</div>
Once i run this file, u'll notice the grey bg for the center div does not meet the lenght that of the left div.
Please find a way out for me, else i'll have to revert to an HTML solution to the same.
Thanks,
Raj








Bookmarks