Forum:Problem with absolute positioning

On the Nintendo Wiki I am currently working on working on some of the templates that use absolute positioning. For some reason the links and hover text don't work on the things that are absolutely positioned. Does anyone know how to fix that?

The templates I am working on are Template:FeaturedStar & Template:Protected.


 * The page header's z-index, if greater than 1, will overrule the star template's z-index anyhow.--PedroM 14:33, November 3, 2012 (UTC)
 * So how do I fix it?
 * Try setting the page header z-index to 1 .--PedroM 20:59, November 3, 2012 (UTC)
 * That worked. Thanks!

I just noticed that now the edit dropdown menu is underneath the page text, which makes it difficult to fix. Do you know how to fix that?
 * Should be .--PedroM 13:54, November 4, 2012 (UTC)
 * I tried that, but it didn't work.
 * Um, I'm out! You can always report the page header's misbehaviour as a bug.--PedroM 21:56, November 4, 2012 (UTC)

Rocketslime: instead of using absolute positioning to move the featured star up into the header, I recommend floating it in the upper right corner within the article space. It avoids problems like this where other parts of the page / editing interface get messed up when you try to move things where they shouldn't be. Also, most wikis with featured article systems do it this way. For example, today's featured article on Wookiepedia w:c:starwars:Arca_Jeth -- you can see the purplish star floating just above the infobox.

To do that, all you need to do is
 * Remove any CSS you added for absolute positioning.
 * In the template, use  to float the star to the right.


 * I tried that, but then it moves the article content around which makes it look really bad.


 * You probably didn't use  at the end of the template. If you do that, it'll "clear" all contents around the floating part. Basically it just pushes the entire article down by a very, very small amount (however big your image is).


 * Nope It did that, but it just makes the article look kinda bad.

Nevermind. Instead I condensed all of those types of templates into Template:Head.