View Single Post
  #18 (permalink)  
Old 01-09-2009, 01:23 PM
JSeverson JSeverson is offline
WebProWorld Member
 
Join Date: Feb 2004
Location: New York
Posts: 82
JSeverson RepRank 0
Default Re: CSS Problem with IE

Quote:
Originally Posted by Website Design France View Post
<div id="logo"><span class="display-none"><h1>Imaginez Cannes are a wedding planning company, organising weddings at venues in Monaco.</h1></span></div>
Try switching the span and h1 tags around. The span tag is an inline element and you are trying to wrap it around a block-level element.

<div id="logo"><h1><span class="display-none">Imaginez Cannes are a wedding planning company, organising weddings at venues in Monaco.</span></h1></div>

Is there any reason why you can't just apply the display-none class directly to the h1 tag and get rid of the span tag altogether?
__________________
Jeff T. Severson
J.T.S. Design, Inc.
Reply With Quote