6 replies [Last post]
massive3215
Offline
Enthusiast
Last seen: 13 years 48 weeks ago
Joined: 2004-04-16
Posts: 81
Points: 0

Does anyone know why I'm getting a 4px space between my top header image and my nav in IE 6.0 - http://echolux.net/help/index2.html? It doesn't show up in Firefox. Thanks!

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 20 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Common problem, it's an

Common problem, it's an inline image(any reason ? ought to be background really). Try setting it to display:block or vertical-align bottom.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

massive3215
Offline
Enthusiast
Last seen: 13 years 48 weeks ago
Joined: 2004-04-16
Posts: 81
Points: 0

I made it inline because I

I made it inline because I wanted it to be a link back to the homepage. Is there another way to do this other than making it inline?

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 20 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

yes google for image

yes google for image replacement techniques it's another common technique for dealing with headers and links; essentially a heading is used with anchor text but moved off the screen leaving the background image visible or a span is placed absolute within header and that holds a background image that masks the text behind.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 4 weeks 6 days ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

Massive, it's not a good

Massive, it's not a good idea to have a link on the homepage linking back to itself.

Verschwindende wrote:
  • CSS doesn't make pies

massive3215
Offline
Enthusiast
Last seen: 13 years 48 weeks ago
Joined: 2004-04-16
Posts: 81
Points: 0

I wanted the logo to be

I wanted the logo to be clickable so if you were on an interior page and you clicked on it, it would take you back to the home page.

thepineapplehead
thepineapplehead's picture
Offline
Moderator
Last seen: 4 weeks 6 days ago
Timezone: GMT+1
Joined: 2004-06-30
Posts: 9683
Points: 819

That's good, it's links on

That's good, it's links on the homepage that link to the homepage which are bad.

Links on subpages are fine.

Verschwindende wrote:
  • CSS doesn't make pies