SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    The Jellophonic Autobrain CHeeSeBLiND's Avatar
    Join Date
    Jul 2001
    Location
    Bolton, England
    Posts
    584
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    definition list problem (ie, suprise suprise)

    http://www.kjimn.com/cv.html

    Displays as I want in firefox but not IE. I'm using a defination list for the personal details. I want the definition type on the left and the definition description on the right.

    Any suggestions?
    hmm...

  2. #2
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    dt { float: left; }
    Remove the dd from this rule (don't really need display: block either).

  3. #3
    padawan silver trophybronze trophy markbrown4's Avatar
    Join Date
    Jul 2006
    Location
    Victoria, Australia
    Posts
    4,122
    Mentioned
    29 Post(s)
    Tagged
    2 Thread(s)
    dl
    {
    display: block;
    }

    dt
    {
    clear: left;
    display: block;
    font-weight: bold;
    float: left;
    width: 120px;
    }

    dd
    {
    clear: right;
    display: block;
    white-space: nowrap;
    margin-left: 0px;
    }

    This will work


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
  •