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 2 of 2
  1. #1
    New Coder
    Join Date
    Oct 2011
    Posts
    24
    Thanks
    1
    Thanked 0 Times in 0 Posts

    How do I un-set a width in IE?

    Hi there,

    I've got a CSS class which sets the targeted HTML element to a fixed width but in one page I want the width to be unspecified so that it stretches around the content. With Firefox and Chrome, I overrode the value by setting the width to 'auto'. In IE though this makes it take up all available space!

    How can un-set the width of an element with IE?

    Cheers, Ian.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Can we have a link to your page your complete HTML+CSS ?
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

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