Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Senior Member whippetkid's Avatar
    Join Date
    May 2010
    Location
    Scotland
    Posts
    123
    Member #
    22044
    Hi,

    I a trying for the first time to create a 3 texture background with full screen width for any size screen and a fixed footer similar to this website: http://www.kylemkramer.com/

    I have attached a screenshot of what I am seeing in Dreamweaver, however when testing no background image shows, also attached is the CSS I have been trying.

    I will be using a small tile or a 1px strip of a background image, initially I took the background I created and used the strip (repeat-y) but the highest quality png/jpg was really rough. I am very new to CSS3 and my CSS knowledge is decent but not brilliant by any means. Can somebody please advise and possibly show me an example to help?

    Many thanks

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style type="text/css">
        
    .top {
    height: 300px;
    width: 100%;
    background:url(burlap_tile.png) top right repeat,
    
    }
    .middle {
    height: 600px;
    width: 100%;
    background:url(bg.jpg) top right repeat,;
    }
    #content {
    height: 300px;
    width: 600px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 50px;
    }
    </style>
    </head>
    
    <body>
    <div class="top">Content for  class "top" Goes Here</div>
    
    <div class="middle">
    
    <div id="content"><img src="chop_slider.jpg" width="600" height="300" /></div>
     
    </div>
       
    </body>
    </html>
    Attached Images Attached Images

  2.  

  3. #2
    Member christopher_b's Avatar
    Join Date
    Aug 2011
    Location
    Pretoria, South Africa
    Posts
    69
    Member #
    29042
    Liked
    7 times
    Hi, I'm not entirely sure as to what you want to do.

    1- You want to repeat-y a 1px by 1px image? That's gonna be tiny.
    2- Your css has syntax errors, you are adding commas instead of semi-colons.
    3- Make sure your urls to your images are correct.
    m3n0tu18 likes this.

  4. #3
    WDF Staff m3n0tu18's Avatar
    Join Date
    Jul 2011
    Location
    Devon, UK
    Posts
    1,473
    Member #
    28473
    Liked
    265 times
    exactly what chris said. The best thing you can do is to upload the site as it currently is to a free webhost and send us the link so we can diagnose the issue properly.
    AlphaMare likes this.
    If you like my comments to your thread please click the LIKE button

    Check out my portfolio: Here!
    View my company Facebook Page
    View my company Website

    <<Plrease ignoer my typo's I have isdexlyia>>


Remove Ads

Posting Permissions

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

Search tags for this page

css background multilayer png

Click on a term to search for related topics.
All times are GMT -6. The time now is 09:42 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com