The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> IE 7 img align bug
susieq772
post Mar 3 2010, 05:32 PM
Post #1





Group: Members
Posts: 2
Joined: 3-March 10
Member No.: 11,278



I am creating an HTML email and cannot use CSS (at the request of a third party who is sending the email). I have created an HTML email using tables and in one of the cells I have an image that needs to be flush against the side of the table (i.e. no padding) with text to the right of it.
Initially, I used this code:
<img src="http://example" width="16" height="114" align="left">
and the text did show up to the right of the image, but there was padding to the left of the image, so it was not flush against the table's edge.

I figured if I remove the align tag then the image does sit flush against the table, but then my text appears beneath it instead of next to it.

So I tried this next:
<img width="16" height="114" style="float:left;" src="http://example">

And had the exact same problem.

So, any ideas how I can get the image to sit flush and also have the text right next to it?

Thanks in advance!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 3 2010, 11:38 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Not without seeing more than that. BTW 'float:left´' is CSS.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
susieq772
post Mar 4 2010, 08:44 AM
Post #3





Group: Members
Posts: 2
Joined: 3-March 10
Member No.: 11,278



QUOTE(pandy @ Mar 3 2010, 11:38 PM) *

Not without seeing more than that. BTW 'float:left´' is CSS.


I know "float:left" is CSS, but I was trying to say that even that isn't working. Does anyone know what will work for image alignment in IE 7 without causing padding?

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Mar 5 2010, 03:08 AM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Not without seeing more than what you've showed us.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 29th March 2024 - 05:28 AM