homepage Welcome to WebmasterWorld Guest from 54.224.202.109
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderator: open

CSS Forum

    
Text Wrapping and CSS
pab1953




msg:3459288
 3:43 pm on Sep 24, 2007 (gmt 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.

 

Robin_reala




msg:3459290
 3:48 pm on Sep 24, 2007 (gmt 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"!

pab1953




msg:3459299
 3:59 pm on Sep 24, 2007 (gmt 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. :)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved