2 replies [Last post]
olebole
Offline
newbie
Last seen: 16 years 6 weeks ago
Joined: 2004-08-09
Posts: 8
Points: 0

HI! This is my first post her =)

Im making a website for a Illustrator.
I Thougth this was a nice job to start using css and get rid of tables once and for all.

I Thought it worked ok, until i tryed it in IE for WIN. (im using mac)

PROBLEM:

I get a white space between the top graphic and the background graphic.

Does anybody know what i am doing wrong?

Link
stylesheet

The Finch
Offline
Enthusiast
Cincinnati
Last seen: 16 years 7 weeks ago
Cincinnati
Timezone: GMT-5
Joined: 2004-08-01
Posts: 65
Points: 0

First time im making design without tables

Try adding display:block to grafikk/topp.jpg

Quote:

<img src="http://www.heidilines.no/grafikk/topp.jpg" alt="grafikk-topp" width="589" height="86" style="display:block;" />

Or define it in your css

Quote:

<img
id="top" src="http://www.heidilines.no/grafikk/topp.jpg" alt="grafikk-topp" width="589" height="86" />

img#top { display:block;
}

However, appears to work also

Quote:

<div><img src="http://www.heidilines.no/grafikk/topp.jpg" alt="grafikk-topp" width="589" height="86" /></div>

olebole
Offline
newbie
Last seen: 16 years 6 weeks ago
Joined: 2004-08-09
Posts: 8
Points: 0

First time im making design without tables

Thanx!!
It now works