edvinson
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)
...and convert it into valid CSS/HTML , when all I have is this...
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
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)
...and convert it into valid CSS/HTML , when all I have is this...
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>
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
for li : hover or active use the red color image.
make all these things in CSS
for rounded corners use css
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
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..
U plz change the path.. It'll work fine..
ASKER
Close enough! Thanks
Welcome !!
And thanks for the points.
And thanks for the points.
do this way and give styling in CSS.