positioning borders (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


vision2000 -> positioning borders (4/26/2006 22:49:55)

Hi,

How do I prevent the wrapper border from extending past the top and bottom of this page?

http://www.ihost-websites.com/wicc/

CSS
#wrapper{
width: 760px;
margin-left: auto;
margin-right: auto;
padding: 0px;
background-color: #FFFFFF;
margin-top: 10px;
border-right: 1px #4778A0;
border-left: 1px #4778A0;
border-top:0px;
border-bottom:0px;
border-style: solid;
margin-bottom: 10px;
background-image: url(images/bkground.jpg);
}

Thank you




Tailslide -> RE: positioning borders (4/27/2006 2:59:55)

They aren't they're stopping 10px before the top and bottom.

If you mean that they're overlapping your rounded corner top and bottom bits then there's nothing you can do about that with the current structure. You'd need to put the borders on one of the lower elements like the main content area.




vision2000 -> RE: positioning borders (4/27/2006 8:17:05)

Thanks - I'll work on your suggestion




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625