Results 1 to 3 of 3

Thread: having problem in page layout.

  1. #1
    Join Date
    Aug 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile having problem in page layout.

    my html page background is not settled how to set a small bg picture in full page

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Your question does not give us enough information to help you. Please:
    1) Explain in more detail:
    --What do you want to happen?
    --What is actually happening (as an error)?
    --What have you tried to do to fix it?
    2) Provide us with a link to your page (or, not as helpful, but possible, source code posted here in [CODE] tags). Without seeing your page, we can only make (bad) guesses about what might be wrong.

    More specifically, what do you mean by "settled"? I don't understand. And what is a "full page"?


    Are you looking for how to center an image in the background of a page?
    Daniel - Freelance Web Design | <?php?> | <html>| espa˝ol | Deutsch | italiano | portuguŕs | catalÓ | un peu de franšais | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,380
    Thanks
    31
    Thanked 148 Times in 142 Posts
    Blog Entries
    33

    Default

    Try to experiment with this (if this is what you mean):
    Code:
    <!doctype html>
    <html >
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    
    <title>Small image used as background</title>
    
    <style>
    body {font-family: arial; font-size: 13px; }
    </style>
    
    </head>
    
    <body >
    
    <div style="position:absolute; left:0px; top:0px; width:100%; height:100%; z-index:-1; ">
    <img src="https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcSgUEAom7HzEHVBZzwqRgzrLf3XGeq5Xj20QxrOaS_A1U18uQl3NpU82zPj" style="position:fixed; width:100%; height:130%;" alt="">
    </div>
    
    
    
    <div style="position: relative; text-align: center; font-size:140%; top: 40px; padding-bottom:8%">
    Homo habilis: 2.4 million to 1.4 million years ago </div>
    
    <div style="background: white; padding: 20px; margin-left:20%; margin-right: 20%; opacity:0.8">
    <i>Homo habilis</i> has a smaller face and smaller teeth than <i>Australopithecines</i> or older hominin species. But it still retains some ape-like features, including long arms and a moderately-prognathic face. Its name, which means 'handy man', was given in 1964 because this species was thought to represent the first stone-tool maker. Currently, the oldest stone tools are dated slightly older.<br><br>
    
    <i>Homo habilis</i> has a smaller face and smaller teeth than <i>Australopithecines</i> or older hominin species. But it still retains some ape-like features, including long arms and a moderately-prognathic face. Its name, which means 'handy man', was given in 1964 because this species was thought to represent the first stone-tool maker. Currently, the oldest stone tools are dated slightly older.<br><br>
    
    <i>Homo habilis</i> has a smaller face and smaller teeth than <i>Australopithecines</i> or older hominin species. But it still retains some ape-like features, including long arms and a moderately-prognathic face. Its name, which means 'handy man', was given in 1964 because this species was thought to represent the first stone-tool maker. Currently, the oldest stone tools are dated slightly older.<br><br>
    </div>
    
    </body>
    
    </html>

Similar Threads

  1. Page layout coding
    By alakbd in forum CSS
    Replies: 2
    Last Post: 08-15-2011, 06:03 PM
  2. Replies: 9
    Last Post: 10-05-2008, 09:38 AM
  3. Frontpage CSS Page Layout
    By apoc.3.21 in forum CSS
    Replies: 0
    Last Post: 04-08-2008, 09:59 PM
  4. Layout of my web page is shifting
    By capale in forum JavaScript
    Replies: 2
    Last Post: 03-25-2008, 03:22 AM
  5. IE6 Ugliness In Layout of Web Page
    By toad78 in forum CSS
    Replies: 2
    Last Post: 03-06-2008, 11:19 PM

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
  •