www.webdeveloper.com
Results 1 to 6 of 6

Thread: firefox

  1. #1
    Join Date
    Dec 2005
    Posts
    144

    firefox

    I have a style tag that is clipping the contents of a div just fine for IE but, Firefox is not handling the overflow:hidden
    How do I do it?
    <STYLE type=text/CSS>
    #Adiv{border:1px solid green;height:181;width:240px;overflow:hidden;}
    </STYLE>

  2. #2
    Join Date
    Feb 2003
    Location
    Michigan, USA
    Posts
    5,773
    Quote Originally Posted by jzwp
    I have a style tag that is clipping the contents of a div just fine for IE but, Firefox is not handling the overflow:hidden
    How do I do it?
    <STYLE type=text/CSS>
    #Adiv{border:1px solid green;height:181;width:240px;overflow:hidden;}
    </STYLE>
    Note that you have not given a unit of measure for the height. In all browsers, except Internet Explorer in quirks mode, the unit of measure is required for all numbers except zero.

    <STYLE type=text/CSS>
    #Adiv{border:1px solid green;height:181px;width:240px;overflow:hidden;}
    </STYLE>

    will probably work.

  3. #3
    Join Date
    Dec 2005
    Posts
    144
    Well, yeah, that was a good possibilty but px is a default. I still tried it tho, it didn't help

  4. #4
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    Well, yeah, that was a good possibilty but px is a default.
    No. Of course we have to take your implied word for it that you have a <div id="Adiv"> in your page somewhere. AFAIK Fx doesn't have an overflow:hidden bug but I could be wrong.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

  5. #5
    Join Date
    May 2005
    Posts
    2,040

  6. #6
    Join Date
    Dec 2005
    Posts
    144
    I got another firefox problem. See me over at "javascript"

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles