This is actual from my .css file
#subcontent {
float:right;
width:160px;
font-size:1.4em;
line-height:1.8em;
border:1px solid;
}
I have the top margin and left margin both at 0px for the page. My questioin is, with the float:right command, everything is perfect except that the border (border:1px solid;) is literally touching the right side of the webpage. How do i create a buffer or pad so that the right border will be off the side of the webpage.
i saw a padding: argument with 4 values call them ex.
padding:(1st) (2nd) (3rd) (4th)
what feature does 1,2,3,4 change relative to the div
Note: I do not wish to change the body border margin, just the div.
Thanks
2006-11-12
07:43:44
·
3 answers
·
asked by
f1avor_f1av
3
in
Computers & Internet
➔ Programming & Design