wolverinejoe80
09 Mar 2006, 09:03 PM
here is my problem. i have a white page border on my website.
http://www.jc-dc.net/html2/z001.gif
instead of square, i want it to look like this, a never ending square
http://www.jc-dc.net/html2/sample1.gif
this is my code for the white square
.pageborder {
border:1px solid #FFF;
background-color:#FFF;
margin-left:auto;
margin-right:auto;
width:840px;
height:530px;
top:50%;
left:50%;
margin-top:-265px;
margin-left:-410px;
text-align:left;
position:absolute;
}
what do i have to do make it never ending square? that 2nd pics works on my computer, but in a smaller screen, it's off centered. also, it works in firefox, but doesn't work in explorer.(there is a gap) what do i have to change, so it is perfectly in the middle and square never ends?
this is my first time doing css, and i'm kinda lost. please help me. thanks.
http://www.jc-dc.net/html2/z001.gif
instead of square, i want it to look like this, a never ending square
http://www.jc-dc.net/html2/sample1.gif
this is my code for the white square
.pageborder {
border:1px solid #FFF;
background-color:#FFF;
margin-left:auto;
margin-right:auto;
width:840px;
height:530px;
top:50%;
left:50%;
margin-top:-265px;
margin-left:-410px;
text-align:left;
position:absolute;
}
what do i have to do make it never ending square? that 2nd pics works on my computer, but in a smaller screen, it's off centered. also, it works in firefox, but doesn't work in explorer.(there is a gap) what do i have to change, so it is perfectly in the middle and square never ends?
this is my first time doing css, and i'm kinda lost. please help me. thanks.