Re: Cross browser issue with position:absolute...

by Emily Berk <emily(at)armadillosoft.com>

 Date:  Fri, 31 Dec 2004 16:51:55 -0800
 To:  hwg-style(at)hwg.org
 References:  earthlink
  todo: View Thread, Original
Thanks, Tim.

This seems to have resolved a number of my issues.

-- Emily

At 10:12 PM 12/27/2004 -0500, you wrote:
>> Is there some way to force the text to not change, no matter what?
>
>Just use an absolute font size. You have "smallest! important", but
>"smallest" is not a valid font size, and even if it were it would be
>ignored because you are not using "!important" correctly. Try using
>"xx-small !important" (actually the !important shouldn't even be
>necessary.) For information on font sizes, read
>http://www.w3.org/TR/CSS21/fonts.html#propdef-font-size
>
>
>
>> 2.  The drop-down menu is position:absolute; and this puts in where
>> I want in IE at present or in Firefox, but, apparently, top must be
>> different for each.
>
>If I remember correctly, for a block to have a reliable absolute
>position, the containing block should be given "position: relative".
>Otherwise, the positioned block could be positioned with respect to
>either the containing block (which is correct) or to the page (buggy
>browser.)
>
>
>Tim

Emily Berk
http://www.armadillosoft.com

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA