Styling a list as tabs with a background overflowing into content
Posted
by Litso
on Stack Overflow
See other posts from Stack Overflow
or by Litso
Published on 2010-05-11T13:10:37Z
Indexed on
2010/05/11
13:14 UTC
Read the original article
Hit count: 259
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 )
© Stack Overflow or respective owner