HighDots Forums  

Re: help! Fixed width table with an image in it is assuming the imagesintrinsic width

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: help! Fixed width table with an image in it is assuming the imagesintrinsic width in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ian Hobson
 
Posts: n/a

Default Re: help! Fixed width table with an image in it is assuming the imagesintrinsic width - 12-29-2007 , 02:44 PM






satya.komatineni (AT) gmail (DOT) com wrote:
Quote:
I have struggling with this for 2 days. I searched far and wide in
google and msdn etc. No luck. Hope one of you may have seen this. I am
seeing this in ie6 and ie7

Your problems are two.

a) No doctype.

Without a doctype, IE is in quirks mode - and its does its own thing.

Add a html strict doctype and fix your html. (Transitional would work
but has other defects).

b) Invalid markup.

You have no closing </p>s, you put a table (a block) within a paragraph,
in in-line context, and then put an invalid <image> tag in the <td>,
There is no such tag a <image> - you need <img>.

Fix those and your problems will go away.

Regards

Ian


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.