Welcome to WebmasterWorld Guest from 54.205.106.138

Forum Moderators: not2easy

Message Too Old, No Replies

Text Wrapping and CSS

     
3:43 pm on Sep 24, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 5, 2004
posts: 114
votes: 0


Trying to wrap some text around a graphic in an online email marketing service, which has slightly inscrutable stylesheet conventions.

How do I write the following class rule as an inline style?

.img {float: left; margin-right: 7px; margin-bottom: 4px;}

Thanks.

3:48 pm on Sept 24, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 26, 2004
posts:1497
votes: 0


<img alt="My alt text" style="float:left;margin-right:7px;margin-bottom: 4px;" />

Be aware though that in Outlook 2007 float isn't supported any more :( You'll have to go back to the seriously old school method of align="left"!

3:59 pm on Sept 24, 2007 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 5, 2004
posts: 114
votes: 0


Thanks -- for both pieces of information. My day wouldn't be right if I couldn't find some new reason to intensely dislike the practices of our friends in Redmond. Fortunately, they make it so easy. :)