Can you create a website navigation bar out of images in CSS like you could with tables?
Aug.02, 2007 in
CSS
Henry J asked:
I have a beautiful navigvation bar design sliced up in photoshop and ready for the web and i want to build the new web site in CSS without tables. But I haven’t figured out a way to do this. Is it possible?
What would the code look like? I want the images to be seemless-no padding or borders.
Tags: Beautiful, Borders, Create A Website, Css Tables, Padding, Photoshop, Website Images, Website Navigation Bar
Custom Search
August 3rd, 2007 at 6:12 am
leave the code for the sliced image exactly how it is! If it isn’t broken don’t fix it. Just put the code for the sliced image inside a div. You will not get any benefit from converting the generated code into a div.
generated code here
August 6th, 2007 at 5:38 am
I don’t know if this might help but in html the code looks like this
but without these |
August 6th, 2007 at 9:46 pm
Are you putting actual text on top of the images (if they are background images) or do you just want to have each image be an actual link? Is it a horizontal bar or vertical?
You could also just make the whole image an image map without having to slice and dice.
Lots of ways to do this.