SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Design Your Site Team bronze trophy Erik J's Avatar
    Join Date
    May 2007
    Location
    Countryside, Sweden
    Posts
    3,407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your attachment isn't approved yet, in the meantime; test using both html and body:
    HTML Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html lang="en">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled</title>
    <meta name="generator" content="PSPad editor, www.pspad.com">
    <style type="text/css">
    html {
    	height: 100&#37;;
    	background: url(bg.jpg);
    }
    body {
    	margin: 0;
    	padding: 0;
    	height: 100%;
    	background: url(top_bg.jpg) repeat-x left top;
    }
    #wrapper {
    	margin: 0 auto;
    	border: 2px solid;
    	width: 80%;
    	min-height: 150%;
    }
    * html #wrapper {
    	height: 150%;
    }
    </style></head><body>
    <div id="wrapper"></div>
    </body></html>
    Happy ADD/ADHD with Asperger's

  2. #2
    Design Your Site Team bronze trophy Erik J's Avatar
    Join Date
    May 2007
    Location
    Countryside, Sweden
    Posts
    3,407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by nisha View Post
    ... and we can't add 2 background images in one
    selector.
    No we can't (yet).
    Happy ADD/ADHD with Asperger's

  3. #3
    Design Your Site Team bronze trophy Erik J's Avatar
    Join Date
    May 2007
    Location
    Countryside, Sweden
    Posts
    3,407
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Doesn't work in all browsers, here is another example of multiple backgrounds.
    Happy ADD/ADHD with Asperger's


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •