Results 1 to 5 of 5

Thread: Layout problem, need the pros!

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

    Default Layout problem, need the pros!

    Hey guys, I will try keep this short. Having a layout problem with CSS and really need some help, as you can see in my below layout, the main structure bit, it all the way at the top and cut off, anyone know whats going on?



    Code:
    Code:
    <style type="text/css">
    <!--
    body {
    	margin-left: 0px;
    	margin-top: 0px;
    	margin-right: 0px;
    	margin-bottom: 0px;
    	background-image: url();
    	background-repeat: no-repeat;
    	height: 100%;
    	width: 100%;
    	position: inherit;
    }
    #main {
    	background-image: url(Images/backgroundScene.jpg);
    	background-repeat: no-repeat;
    	background-position: center bottom;
    	height: 100%;
    	position: absolute;
    	width: 100%;
    	text-align: center;
    	vertical-align: bottom;
    }
    #main #main-structure {
    	text-align: center; /* counter the body center */
    	height: 500px;
    	width: 625px;
    	background-image: url(Images/mainStructure.jpg);
    	background-repeat: no-repeat;
    	background-position: center bottom;
    	margin-top: 0;
    	margin-right: auto;
    	margin-bottom: 0;
    	margin-left: auto;
    	z-index: 2;
    }
    #overlay {
    	background-image: url(Images/overlay.png);
    	height: 330px;
    	width: 100%;
    	z-index: 5;
    	background-position: center bottom;
    }
    -->
    </style>
    Thanks for any help!

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

    Default

    Please post a link to the page on your site that contains the problematic code so we can check it out.
    --------------------------------------------------
    Reviews, Interviews, Tutorials, and STUFF
    --------------------------------------------------
    Home of the SexyBookmarks WordPress plugin

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

    Default

    Hi, yea sure here we go:

    HERE

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

    Default

    Looks right to me in FF and IE, so I'm assuming you've already figured it out.
    --------------------------------------------------
    Reviews, Interviews, Tutorials, and STUFF
    --------------------------------------------------
    Home of the SexyBookmarks WordPress plugin

  5. #5
    Join Date
    Sep 2008
    Location
    Whiteford, MD
    Posts
    39
    Thanks
    1
    Thanked 2 Times in 2 Posts

    Default

    You have position:inherit on the body tag. Where is it supposed to inherit from? Try adding some top padding to the area.

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
  •