Results 1 to 3 of 3

Thread: feathered edge to webpage

  1. #1
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default feathered edge to webpage

    Good Afternoon Team, as a newbie to css I am loosing to much hair and need some help please.. to best descripbe it, imagain a clear page floating in the center of screen, now add image to both left and right side only, and as the page gets longer both images pulls down with the page..
    This is what I have but it the graphic does not grow with height...

    HTML
    <div id="main">

    <div id="left"></div>
    <div id="right"></div>
    <div id="middle"><div class="menu">
    </div>
    <div>
    Like many other pet websites about missing and found pets, our services were developed for you because of the lack of information, resources and assistance in making the most of the Internet to reunite missing pets with their owners.
    <br />
    </div>
    </div>

    body {
    background-color: #788cf0;
    }

    #main {
    margin-left: auto;
    margin-right: auto;
    width:800px;

    }
    #left {
    float:left;
    width:35px;
    background:url("images/rep_left.gif");
    background-repeat: repeat-y;}

    #right {
    float:right;
    width:35px;
    background:url("images/rep_right.gif");
    background-repeat: repeat-y;}

    #middle {
    height:100%;
    background:white;

    }
    .column-padding {
    margin:0; padding:0.5em 1em;
    }

    All the best and Thanks for any help from Alan

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    firstly welcome to the forums

    the only problem, syntatically, I can see with the code you posted is that you have not closed the <div id="main">. your css is correct also, but i would like to be thorough and ask a couple questions.

    does your page follow the format of

    Code:
    __DOCTYPE__
    <html>
    <head>
    __CSS__
    </head>
    <body>
    __main/left/right/middle_divs__
    </body>
    </html>
    if not the sequence is out of order and you cannot rely on the browser displaying it with some degree of predictability. It is also recommended that you use the Strict 4.1 HTML DOCTYPE
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    as a closing note when posting any computer code please use the
    [code] [/code]

  3. #3
    Join Date
    Jan 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sorry I was trying to save space...
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <title>Al CSS Layout</title>
    <link rel="stylesheet" type="text/css" href="menu.css" />
    </head>
    <body>

    <div id="main">

    <div id="left"></div>
    <div id="right"></div>
    <div id="middle"><div class="menu">
    </div>
    <div>
    Like many other pet websites about missing and found pets, our services were developed for you because of the lack of information, resources and assistance in making the most of the Internet to reunite missing pets with their owners.
    <br />
    Like many other pet websites about missing and found pets, our services were developed for you because of the lack of information, resources and assistance in making the most of the Internet to reunite missing pets with their owners.
    <br />
    Like many other pet websites about missing and found pets, our services were developed for you because of the lack of information, resources and assistance in making the most of the Internet to reunite missing pets with their owners.
    <br />
    </div>
    </div>
    </div>
    </body>
    </html>

    What I am trying to create is this www.grandstart.com look at the sides..

    All the best from Alan

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
  •