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 5 of 5

Thread: CSS Probs

  1. #1
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    Ok.

    On this page: http://tekp.com/newversion there are some problems with the left hand navigation.

    in firefox the padding doesn't work, nor does it in IE, which it doesn't display in at all! :O

    Anybody know how to fix this?

    CSS:

    .Left {
    width:130px;
    float:left;
    text-align:left;
    padding-left:20px;
    }
    XHTML:
    <div class="left">
    ...
    </div>
    tekp :cheeky: tekponline.com

  2.  

  3. #2
    Senior Member
    Join Date
    Dec 2003
    Posts
    1,274
    Member #
    4362
    Easy first:
    Maybe because the class is named "Left" and it's called as "left"?

  4. #3
    Senior Member Aleister's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    250
    Member #
    2329
    I generally do it like this.. set the container div to be relative.. set the left div to be absolute with a fixed width, and then for the content div, use a margin-left at least the size of the left column, if that makes sense This is the way I float the sides on my main domain (http://www.templeofdagon.com/) (http://www.templeofdagon.com/main.css).
    The Temple of Dagon | Dagon Design
    "That is not dead which can eternal lie, And with strange aeons even death may die." - HPL

  5. #4
    Senior Member Brak's Avatar
    Join Date
    Apr 2003
    Location
    San Francisco, CA
    Posts
    3,413
    Member #
    1217
    Liked
    2 times
    yep, xarst has it
    Kyle Neath: Rockstar extraordinare
    The blog | The poetry site | The Spore site

  6. #5
    Senior Member tekp's Avatar
    Join Date
    Jan 2004
    Location
    A small village near a small city near a small cit
    Posts
    918
    Member #
    4667
    Liked
    1 times
    ok thanks for your help, I'll try it tonight.

    I thought it might be that

    Ill see into your technique too, Aleister. Thanks.
    tekp :cheeky: tekponline.com


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 06:03 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com