Log in

View Full Version : Can someone see whats wrong



darje
04-22-2007, 04:54 PM
K here is the site that im building and in Firefox it renders fine but in IE it has like a <BR> tag so there is some unwanted space somewhere beneath that css rollover menu. Can someone help? Thanks.

http://free-zg.t-com.hr/dbukovs6/indexcss.htm

deficit
04-23-2007, 12:18 AM
Is there a reason for the <br /> to be there? If not, just take it out. It would probably be better to use CSS margins anhow, they are much more flexible than <br />, and give you more control over the spacing. Don't forget to use EMs rather than PX when setting your margins though, as PX render differently for some reason across browsers (a margin that looks perfect in firefox will look too close together in IE, and too far apart in Opera and Safari when PX are used).

mburt
04-23-2007, 12:56 AM
Also, for line breaks on inline elements, use:

style="display:block"