Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    May 2004
    Posts
    121
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Another CSS Question

    If you go to: http://www.tombraiders.net/katie/CEC2/sample.html

    user: letme
    pass: in

    And scroll down to "Register for a Workshop" this works fine in IE, but in Firefox the orange box around it doesn't go to the second line of text. How can I make it do that?

    Thanks

  • #2
    Regular Coder
    Join Date
    May 2004
    Posts
    121
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Fixed!

  • #3
    Senior Coder koyama's Avatar
    Join Date
    Dec 2006
    Location
    Copenhagen, Denmark
    Posts
    1,246
    Thanks
    1
    Thanked 5 Times in 5 Posts
    Usually one should avoid setting a height on a div when it holds text. This almost always gives problems.

    It is almost never necessary. Get rid of the red part:
    Code:
    .sbihead {
     height: 14px;
     width: 188px;
     padding: 5px 0px 5px 19px;
     text-transform: uppercase;
    }
    Why is IE6 expanding the div? The answer is because of the expanding box bug.

  • #4
    Regular Coder
    Join Date
    May 2004
    Posts
    121
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Fixed it! Thanks


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •