Reply
Image as border for entire web page?
Old 02-25-2008, 10:44 AM Image as border for entire web page?
Junior Talker

Posts: 1
Name: Derick
I would like to know if there were a way that I could use a simple image as a border for my ENTIRE web page, not just a table or anything. Meaning the image would be around all four sides of my webpage.
LildudeNC is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 02-25-2008, 04:06 PM Re: Image as border for entire web page?
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
body {
background: (your image here);
color: #000000;
margin: 0;
padding: 0;
}
div#page-container {
margin: 10px;
padding: 0;
background-color: #FFFFFF;
color: inherit;
}
That will effectively create a 10-pixel border minimum around your entire page. You may notice more of a border in the footer on short pages.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to Image as border for entire web page?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10533 seconds with 12 queries