Link to home
Start Free TrialLog in
Avatar of edvinson
edvinsonFlag for United States of America

asked on

CSS tabs with background?

I am converting a PSD to HTML , and am stuck on this part.

The attached menu is comprised of tabs.

I know there are a hundred ways to do this, but I need a little nudge.

How would I take this menu (just the tabs)  User generated image
...and convert it into valid CSS/HTML , when all I have is this...

 User generated image

I purchased this template as a PSD and am trying to convert to HTML.

This part has me stumped.

Can anyone show me an example of how I would do this?

I assume, correct me if I am wrong, but I would think we would need to somehow make the corners rounded by slicing the image?

Of course the ideal solution would be something like the attached code, EXCEPT of course, the proper CSS needs to be applied, which is where I NEED YOU - THE EXPERTS!!! lol


<ul>

    <li><a href = "#">Menu Item 1</a></li>
    <li><a href = "#">Menu Item 2</a></li>
    <li><a href = "#">Menu Item 3</a></li>

</ul>

Open in new window

Avatar of qwerty021600
qwerty021600
Flag of India image

u r absolutely right in following <UL> <LI> tags..
do this way and give styling in CSS.
use the blck image as background image to UL
for li : hover or active use the red color image.
make all these things in CSS
for rounded corners use css
Avatar of edvinson

ASKER

thanks, guys. but what i need is an example, actually a solution!

trust me, it's not for a lack of trying. I have tried.

i only have the images i have provided here, to accomplish my task.

i have googled, i have tried everything. i cannot get it.
ASKER CERTIFIED SOLUTION
Avatar of qwerty021600
qwerty021600
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Qwerty, I downloaded all the files, and only get a black page with a list vertical.

Probably something to do with paths.

Can you zip it? I am running apache.

To the rest, who provided links, again, trust me, I have tried.
i did that bt unable to upload zip as it is not supported.
U plz change the path.. It'll work fine..
Close enough! Thanks
Welcome !!
And thanks for the points.