Horizontal menu using css and jpgs - help needed

Ankou and bwh2,

Wow guys I don’t know what to say or how to thank you both. This is wonderful and works great in both ie and firefox.

Ankou, sure if you want to check over the code and look for any glitches great.

Once again sincerest thanks, I will myself now look deeply at what is happening in the code and use this also as a learning process. :slight_smile:

no problem.

Yeah like bwh2 said, no problem.

I’ll try to have a look at the code tonight, but the brief look I had at it looked pretty good.

:smiley: That’s the best way to look at any problem/bug/error/etc. - which means over time I’ve had **many, many **learning processes!

I took a peek at the rest of the code and it looks fine as far as I can tell. The only thing I’d suggest is a few things in your CSS:

Your paragraph rule (p{…}) has line-height twice.

Make use of CSS shorthand methods when available to you.

When a CSS rule is inherited there’s no need to set the value to the same value as the parent.

And because of the one above… If you’re not planning on making a lot of changes b/n font-family values, you can call font-family in the body ruleset to make life easier if you make changes down the road.

I’m sure most of that you’re already aware of and you may already do those things. I’m sure since it’s just a site mock-up it’s in the rough stage of development. I just thought I’d mention it incase someone new to CSS grabs the file to have a look at it. :slight_smile:

Thanks Ankou. I just got a nasty shock when I looked at this in opera. There’s an odd gap between the buttons and the header (does this also in mozilla but fine in firefox). see enclosed pic.

I looked at the css and cannot see any margins that might be causing this. I wonder what it is?

Grrrrrrr…browsers.

cheers

can you repost your html and css?

bwh2, I fixed it. I had added some extra padding to the h1 element and that was causing it, well it was either padding or margins i can’t remember but it was odd.

:slight_smile:

thanks