Quote:
Originally Posted by Website Design France
<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?