[email protected] wrote: > I notice that if I position text on a webpage using absolute > positioning, the text rises up the page or falls down the page > depending on the browser I use.
I'd like to see an example of that. Got a link? > How can I "pin" text to a particular spot on a web page and have it > remain in that spot from one browser to the next? Establish a relation for your absolute positioned element to a containing block - 'position: relative' on containing block, and include both horizontal and vertical positions on the absolute positioned element. IE7 and older also need 'Layout'[1] on the containing block you A:P relative to - unless the containing block is body, or else IE won't know where the containing block is and what area it covers. A "special" A:P example... <http://www.gunlaug.no/contents/wd_chaos_25.html> ...which may help you understand the details a little better. regards Georg [1]http://www.satzansatz.de/cssd/onhavinglayout.html#cb -- http://www.gunlaug.no ______________________________________________________________________ css-discuss [[email protected]] 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/
