On Fri, May 28, 2010 at 12:43 AM, Rob
Lanphier<robla(a)wikimedia.org> wrote:
What we're struggling with is that the
"[review pending revisions]" with the
little lock icon beside it to look right in a cross-browser and cross-skin
fashion. A couple of the problems we're seeing:
1. In Vector, the placement of the text can be too high or too low,
depending on the browser in use
2. In Monobook, the problem is even worse. For example, in Chrome on
Linux, the text hovers way up above article, covering up the "My
contributions" link, for example
Try just putting your div right before the<h1
id="firstHeading"> or
equivalent, and float: right it. You can put some margins or padding
on the top and/or right to adjust it a bit if you like. Something
like that should work. This will be much more reliable than trying to
absolutely position it, because different skins will use different
heights, and the heights won't be consistent at all in the face of
things like site notices.
I agree. Don't use CSS for positioning if you can do it better. Except
for the problems mentioned by others there is a box model problem: