Results 1 to 9 of 9

Thread: image at bottom?

  1. #1
    Join Date
    Mar 2008
    Posts
    58
    Thanks
    22
    Thanked 0 Times in 0 Posts

    Default image at bottom?

    i want to put the repeat-x menu_pat.gif onto the bottom of topnav so it aligns with that big white thing

    www.voigrafic.com/golfsite1

  2. #2
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there Annexion,

    change this...
    Code:
    
    #menu {
    	background: transparent url(http://www.voigrafic.com/golfsite1/images/menu_pat.gif) repeat-x;
           width:430px;
    	height:40px;
    	float:right;
    	position: relative;
    	vertical-align: baseline;
    	}
    
    ...to this...
    Code:
    
    #menu {
    	background: transparent url(http://www.voigrafic.com/golfsite1/images/menu_pat.gif) repeat-x;
           background-position:0 51px;
           width:430px;
           height:40px;
           padding-top:60px;
    	float:right;
    	}
    
    coothead

  3. The Following User Says Thank You to coothead For This Useful Post:

    Anexxion (08-07-2008)

  4. #3
    Join Date
    Mar 2008
    Posts
    58
    Thanks
    22
    Thanked 0 Times in 0 Posts

    Default

    Okay, Nyne, everytime you help it doesn't work lol noffense. Thanks coothead. I also want to place the entire site horizontally in the middle, how? I've looked for tuts and tried all ofit but to no avail.

  5. #4
    Join Date
    Jan 2006
    Location
    Ft. Smith, AR
    Posts
    795
    Thanks
    57
    Thanked 129 Times in 116 Posts

    Default

    Had you explained in maybe a little more clarity about what exactly you were trying to achieve, I may have helped. The only difference between the solution I posted and what coothead posted was the margins.

    I thought you wanted the box lined up with the big white thing, or maybe it was that big white thing, or the other one... Either way, the general idea was the same, you were defining the "position" as absolute when it should have been relative, no offense.
    --------------------------------------------------
    Reviews, Interviews, Tutorials, and STUFF
    --------------------------------------------------
    Home of the SexyBookmarks WordPress plugin

  6. #5
    Join Date
    Mar 2008
    Posts
    58
    Thanks
    22
    Thanked 0 Times in 0 Posts

    Default

    yeah no problem I thank you anyways :P

    also, I cant get my images aligned to the bar now!

  7. #6
    Join Date
    Nov 2006
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,920
    Thanks
    2
    Thanked 267 Times in 262 Posts

    Default

    Hi there Anexxion,

    Your page appears to be an excellent example of 'Divitis'
    Check out the symptoms here...

    Here it is the simplified code...
    Code:
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
       "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta http-equiv="Content-Style-Type" content="text/css">
    <title>Untitled Document</title>
    <style type="text/css">
    html,body {
        margin:0;
        padding:0;
        background: #f5f5f5 url(http://www.voigrafic.com/golfsite1/images/bg_pat.gif) repeat-x scroll center top;
     }
    #container {
        width:804px;
        height:770px;
        text-align:center;
        margin:100px auto 0;
        background: transparent url(http://www.voigrafic.com/golfsite1/images/bg_site.png) no-repeat; 
     }
    #menu {
        width:430px;
        height:32px;
        padding-top:60px;
        margin-left:374px;
        background: transparent url(http://www.voigrafic.com/golfsite1/images/menu_pat.gif) repeat-x 0 51px;
     }
    
    </style>
    
    </head>
    <body>
    
    <div id="container">
       <div id="menu">ssss</div>
    </div>
    
    </body>
    </html>
    
    coothead

  8. The Following User Says Thank You to coothead For This Useful Post:

    Anexxion (08-07-2008)

  9. #7
    Join Date
    Mar 2008
    Posts
    58
    Thanks
    22
    Thanked 0 Times in 0 Posts

    Default

    THANKS! that was a great post

    anyone help me on aligning the images?

  10. #8
    Join Date
    Mar 2008
    Posts
    58
    Thanks
    22
    Thanked 0 Times in 0 Posts

    Default

    bump10char

  11. #9
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Are you still working on this page? How should the images be aligned?

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
  •