Hi guys,
i only know basic css mainly the formatting part....
i want to create a side panel for my website that looks like a small window that has a blue header and blue borders and slightly curved bottam border...i did this by making images and setting them as backbround images fo the respective divs
here my code
and in the css i have defined these
in the main div i will place a table that has say 6 or 7 rows with various options for the user such as profile visit,messsages ,videos,pics etc...now sometimes i want to show or hide some rows based on privacy settings and i want it to resize automatically.. ....
i an earlier post i learnt that float overflows its container but the rest was pretty cryptic to me.....tried using auto but that diidnt work
you will notice that the left,main,and right have fixed widths of 80px to incorporate six rows...so is there any way to do this???
it works pretty well except the fact that it doesnt resize automatically
i only know basic css mainly the formatting part....
i want to create a side panel for my website that looks like a small window that has a blue header and blue borders and slightly curved bottam border...i did this by making images and setting them as backbround images fo the respective divs
here my code
Code:
<div id="docket">
<div id="header">
</div>
<div id="left">
</div>
<div id="middle">
</div>
<div id="right">
</div>
<div id="bottam">
</div>
</div>
Code:
#docket
{
width:189px;
height:auto;
}
#header
{
width:100%;
background:url(images/STRIP01.jpg) no-repeat;
height:24px;
}
#left
{
float:left;
width:1%;
background:url(images/STRIP0W2.jpg) no-repeat;
[B]height:80px;[/B]
}
#middle
{
float:left;
width:98%;
background:url(images/popBG.jpg);
[B]height:80px;[/B]
}
#right
{
float:left;
width:1%;
background:url(images/STRIP0W2.jpg) no-repeat;
[B]height:80px;[/B]
}
#bottam
{
clear:both;
width:100%;
background:url(images/STRIP0W3.jpg) no-repeat;
height:7px;
}
i an earlier post i learnt that float overflows its container but the rest was pretty cryptic to me.....tried using auto but that diidnt work
you will notice that the left,main,and right have fixed widths of 80px to incorporate six rows...so is there any way to do this???
it works pretty well except the fact that it doesnt resize automatically
Comment