designer — 2011-12-07T21:01:42-05:00 — #1
I am needing to create cross-browser tabs using css, with the tabs as images. Please post a link to the best tutorial here. Thanks in advance.
ralphm — 2011-12-07T21:04:53-05:00 — #2
Could you say a bit more about what you mean by 'tabs'? That can mean a lot of different things—often involving JS.
designer — 2011-12-07T21:08:49-05:00 — #3
I can't really say anymore until I find out what you need to know, so could you please maybe ask me what you need to know?
ralphm — 2011-12-07T21:11:41-05:00 — #4
What are you picturing on your page? What would the tab look like and what would it do? To me, 'tabs' conjours a scenario where you have a row of horizontal links (the tabs), and each time you click one of those links different content appears that was previously hidden. Is that what you are talking about?
designer — 2011-12-07T21:21:29-05:00 — #5
The tabs will be rounded, with a hover state, in a horizontal line. As this project will be one web page, the tabs will act as links to the content within the page.
ralphm — 2011-12-07T21:38:19-05:00 — #6
OK, so you really just want some links styled with rounded corners. The nicest way to do that is with CSS3, but older browsers (IE8 and under) don't recognize that, though you can give them a nudge with some JS, which is my preferred option. The alternaitve is to do this with images, but honestly, they suck.
There are hundreds of links online for CSS3 rounded corners, such as [this and [URL="http://jonraasch.com/blog/css-rounded-corners-in-all-browsers"]this](http://css-tricks.com/snippets/css/rounded-corners/), but I've just chosen them at random.
Firstly, it sounds like you need an UL with the LIs floated left to make them horizontal. From there, it's just a matter of adding the border-radius code to your styles. Personally, I just let older browsers get square corners these days.
designer — 2011-12-07T22:49:34-05:00 — #7
Thanks, I have now made the tabs appear in the page without any images.
ralphm — 2011-12-07T22:51:25-05:00 — #8
Cool. What solution did you end up going with?