SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Div width in IE

Hybrid View

  1. #1
    Bored One boredboi's Avatar
    Join Date
    Jul 2000
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Div width in IE

    http://www.passionsm.com/new/contact/index.html

    In Opera, the labels "Address", "Telephone" and so forth are aligned to the right, as planned, but in IE this is not so.

    The reason is that the width of the div (class "qns") is collapsed to the width of the text in IE, instead of being 80px wide as defined in CSS.

    How can i fix this?
    Thanks.
    Last edited by boredboi; Dec 27, 2002 at 12:23.

  2. #2
    killall -9 lusers
    Join Date
    Oct 2002
    Location
    Cincinnati, Ohio, USA
    Posts
    390
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You didn't specify the units. You have "width: 80;". It should be "width: 80px;".

  3. #3
    Bored One boredboi's Avatar
    Join Date
    Jul 2000
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh i can't believe i made such a silly mistake. Thanks!


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
  •