Previous Message
Next Message

css header how-to?

Sent by Gunlaug_Sørtun on 28 March 2006 03:03


Will Wyatt wrote:
> I give up. I'm developing at http://dev.highlandchurch.org/ I can't 
> figure out where the space below the two images is coming from.

Your strict DTD makes images default to 'display: inline' in all
browsers (not just IE/win - which has that default regardless of DTD).

Solution...
#image1 img, #image2 img {display: block;}

regards
	Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: