View Full Version : CSS Border, How Do I Do It?
Iso-Rob
November 15th, 2005, 06:08 PM
Hi
I want to recreate the borders i have on this page http://www.iso-land.com/Artwork.html but in CSS.
I have two images:
LBorder.jpg
RBorder.jpg
I want them to be placed at either side of the page and repeated on the y axis.
How can i do this in CSS?
Thanks
senocular
November 15th, 2005, 06:11 PM
its easier if you make them one image and just set that as the background for body, centered
body {
background:blue url(mybackground.jpg) top center repeat-y;
}
Iso-Rob
November 15th, 2005, 06:17 PM
Ok thanks, i've just done that.
Say i wanted to put text on top of the background, how do i set it at a certain point. I want something that will start a bit in from the left and not on top of the border. Obviously it would need to finish before the start of the right border too.
Thanks
simplistik
November 16th, 2005, 08:31 AM
Place a div in the center do somethin like...
#content { margin-top: 50px; }
to bump it 50px from the top of the page or whatever element is laying above it.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.