> I have a dog on our website that does not stay put. Depending on which > browser you are using it will move. The dogs leg will cover links on our > menu that makes it difficult to click the links. > > It appears on every page in our website aside from the homepage. Here is > a > link to one of the pages: http://www.coastalpet.com/aboutus.php. ---------------------------------------------------------------------------------- Hi Jason, The div#Layer1 is absolutely positioned. The origin (base context) for elements with position:absolute is the ancestor element positioned othe than static. If there isn't such element the origin is the BODY element (this is your markup case). Note that resizing the window the dog remains at 731px from left and 46px from top.
The cure is: 1-) Put the div#Layer1 inside the div#container; 2-) Add position:relative in #container CSS rules; (the new positioning context) 3-) Change to left: 490px; top: 25px; (or choose another position) the inline CSS styles for div#Layer1. (I suggest get rid of the inline styles for div#Layerq and put it in the CSS style sheet) Making the Absolute, Relative: http://www.stopdesign.com/articles/absolute/ Regards Maurício Samy Silva http://www.maujor.com/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
