Styling a list as tabs with a background overflowing into content
- by Litso
I couldn't think of any better way to name this question, but I'll explain.
I have a mediawiki website with a background pattern (like parchment) behind the articles. At the top of each article I want to have tabs like wikipedia does (with page | talk | edit etc links).
The problem is, the tabs should seamlessly fit with the article's background and I can't figure out if this is actually possible.
The way I was trying to do it was positioning the list inside the actual content div and give the <li items a transparent background, but as far as I can see there's no way to color the rest of the <ul's background black without affecting the <li's in there.
Anyone have an idea?
(example url: http://dev.mansonwiki.com/wiki/Sandbox )