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
Expand|Select|Wrap|Line Numbers
- <div id="docket">
- <div id="header">
- </div>
- <div id="left">
- </div>
- <div id="middle">
- </div>
- <div id="right">
- </div>
- <div id="bottam">
- </div>
- </div>
Expand|Select|Wrap|Line Numbers
- #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;
- height:80px;
- }
- #middle
- {
- float:left;
- width:98%;
- background:url(images/popBG.jpg);
- height:80px;
- }
- #right
- {
- float:left;
- width:1%;
- background:url(images/STRIP0W2.jpg) no-repeat;
- height:80px;
- }
- #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