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 6 of 6
  1. #1
    Member animalcracker's Avatar
    Join Date
    Nov 2004
    Posts
    95
    Member #
    8193
    I really need help.
    Someone on the forum sugested that i add a color boarder to my site to make peoples eyes focus on the middle. I did this and it looks great. I am using div tags and tables. The tables background is the color i want in the middle. I but the table layers over it. If somone in a diffrent resolution views my site the table is centered but the table layes are off set and are where they are not supposed to be. How do i stop this from happening.

    Help!

  2.  

  3. #2
    Senior Member Trico's Avatar
    Join Date
    Feb 2004
    Location
    Nottingham, UK
    Posts
    894
    Member #
    5081
    Instead of using a table to create the colour you can use a vertically repeating background image. (see attached image: 'repeater.gif')

    Add the addional CSS code to your page(s).

    Code:
    html, body {
    
    background: #cc9933 url('images/repeater.gif') repeat-y 50%;
    	
    text-align: center;
    margin: 0;
    padding: 0;
    
    }
    The reason everything is offset is because you're using Absolute Positioning. If you were to wrap the entrie layout in a pair of <div></div> tags and removed the following: left: xx; from all of the layers, things should begin to fall into plac.

    I.E

    Code:
    #container {
    	
    width: 760px;
    	
    text-align: left;
    margin: 0 auto;
    
    }
    Code:
    ...<body>
    <div id="container">
    REST OF LAYOUT GOES HERE.
    </div>
    </body>...
    On another note, I noticed the width of the layout is too big, you should aim to acomodate the default resolution 8*6 by using a width of 760 pixels or below... this allows for the brwoser scrollbars.
    Attached Images Attached Images

  4. #3
    Member animalcracker's Avatar
    Join Date
    Nov 2004
    Posts
    95
    Member #
    8193
    I did all the things you told me for the absolute positioning. When I did this all my layers went to the left. I entered the css code and it still all stayed to the left. I also have the div tags in too. Do you know what is wrong. Do I need all my div tags by each ohter?, do i need to put the css code in a certain place? please help you have been so helpfull already

  5. #4
    Senior Member Trico's Avatar
    Join Date
    Feb 2004
    Location
    Nottingham, UK
    Posts
    894
    Member #
    5081
    If you upload your most recent re-working of the site I'll take a look, but could you also possibly post the site address following after this post or edit your previous one(s)? ...so I don't have to go searching for the url

  6. #5
    Member animalcracker's Avatar
    Join Date
    Nov 2004
    Posts
    95
    Member #
    8193
    http://imagemania.100free.com
    I will upload the html soon.

  7. #6
    Member animalcracker's Avatar
    Join Date
    Nov 2004
    Posts
    95
    Member #
    8193
    hear is my site in the attached file. I really need help when i did the pic and stuff everything ends up on the left side with the background in the middle. how do i make the layers stay where they are supposed to be!


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
  •  
All times are GMT -6. The time now is 11:31 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com