6 replies [Last post]
takuhii
takuhii's picture
Offline
Regular
Last seen: 13 years 21 weeks ago
Joined: 2003-12-23
Posts: 19
Points: 0

As the title suggests, I'm trying to create a CSS based menu system that also includes some images, I'd prefer to do this using ONE DIV tag rather than several DIV tags.

My main problem isn't creating the actual CSS, I have that down to a fine art, it's actually aligning the images that is causing the problem. I don't want to have to create individual image references in my CSS as I already have quite a hefty CSS (which I am trying to trim down).

I can align my images to the left fine, the CSS loves that, it's as soon as I try to align them to the right I hit a sticking point. At the moment I am using the HTML tag ALIGN=RIGHT, and this is just making the site look awful.

Anyone with any ideas I would be very greatful. I DO NOT want to use tables at all.

Daybreak_0
Offline
Enthusiast
Sydney, Australia
Last seen: 17 years 26 weeks ago
Sydney, Australia
Timezone: GMT+10
Joined: 2003-11-15
Posts: 389
Points: 0

I'm trying to create a CSS menu system with images... help!

can you post a link so we can see the code

Day

The only way to learn is to do it yourself

takuhii
takuhii's picture
Offline
Regular
Last seen: 13 years 21 weeks ago
Joined: 2003-12-23
Posts: 19
Points: 0

I'm trying to create a CSS menu system with images... help!

I've included a HTML extract to give you an idea of my menu and how it's laid out. I've had to edit it slightly as i work ofr a large company and they wouldn't appreciate me posted extracts of their HTML on an outside website. Basically none of the links will work and the images won't display. But all the layouts and sizes are their to simulate the menu.

Cheers

Daybreak_0
Offline
Enthusiast
Sydney, Australia
Last seen: 17 years 26 weeks ago
Sydney, Australia
Timezone: GMT+10
Joined: 2003-11-15
Posts: 389
Points: 0

I'm trying to create a CSS menu system with images... help!

Its a little hard to help as the extract you have given over is some tables, with some cells containing images.

Is it a CSS based menu, table based menu, or a table based menu with some CSS thrown in for presentation purposes ???

It does not really look CSS based and there is no CSS in your extract.

You may want to check out
http://www.alistapart.com/articles/taminglists/
http://css.maxdesign.com.au/index.htm

Regards
Day

The only way to learn is to do it yourself

Bigdawg
Offline
Enthusiast
Last seen: 17 years 22 weeks ago
Joined: 2003-12-16
Posts: 65
Points: 0

I'm trying to create a CSS menu system with images... help!

Am I blind or what I can not see the extract!!!!!! Looking??? Merry Christmas Anyways. Edit God I thought I was going blind!!! For some reason it was not there but now it is!!! Laughing out loud

takuhii
takuhii's picture
Offline
Regular
Last seen: 13 years 21 weeks ago
Joined: 2003-12-23
Posts: 19
Points: 0

I'm trying to create a CSS menu system with images... help!

Basically I want to convert this table to CSS and maintain its structure

Daybreak_0
Offline
Enthusiast
Sydney, Australia
Last seen: 17 years 26 weeks ago
Sydney, Australia
Timezone: GMT+10
Joined: 2003-11-15
Posts: 389
Points: 0

I'm trying to create a CSS menu system with images... help!

Well have a go yourself and if you have any problems come back and we can help.

Regards
Day

The only way to learn is to do it yourself