I hope you will correct your HTML. You have a lot of block level elements in inline elements like this : <a href=".."><div>something</div></a>
You can't do that kind of thing. Please try to correct your HTML before to make your CSS. You will not have any problem as you have now. And remove the comment line before the doctype. you can only have a xml prolog before the doctype. And I thing if you have comment before doctype your IE browser version 7 and 8 are rendering the website in quirksmode (IE 5.5 mode) PS : sorry for my bad english. I'm french and i'm trying to improve my english :D On Jun 3, 2010, at 12:14 PM, Thierry Koblentz wrote: >> I have a class with position:relative on the 'a' tag, then absolute >> on >> the hover state. The positioning doesn't work correctly in either FF >> or Chrome. Works fine in every other browser. Haven't been able to >> find any possible reason in my Google searches thus far. Anyone else >> experience something like this? >> >> All relevant CSS has been placed in the head for debugging. >> >> My only possible lead so far: >> I've placed a border around the entire 'a' tag contents, and it's not >> wrapping around any of it. So my assumption is that these two >> browsers >> are not reading the correct positioning, if that makes sense?? >> >> LINK: >> http://www.loctiteproducts.com/super-glues-debug.shtml > > For the border to show around the element try: > > a.tooltip {display:block;} > > That may also fix the behavior you're looking for. > > As a side note, you cannot have P (or any block-level elements) in > anchors. > > > -- > Regards, > Thierry > www.tjkdesign.com | www.ez-css.org | @thierrykoblentz I've figured out a solution. Thanks for the replies, they are very helpful. GS > ______________________________________________________________________ > css-discuss [cs...@lists.css-discuss.org] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/