close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Add CSS

Thread began 10/30/2011 7:50 pm by simmo515303621 | Last modified 11/04/2011 11:33 pm by simmo515303621 | 1832 views | 4 replies |

simmo515303621

Add CSS

Hi I am trying to create an Newsletter that grabs Products from a DB... Im having issues adding inline styles.. For some reason nothing I add seems to work...

<div class="product" style="width: 164px; height: 354px; float: left;"><img src="http://www.webaddress.com.au/images/products/med/<?php echo $row_WADAproducts['product_img']?>?<?php echo time()?>" vspace="8" border="0" /></div>

In this instance the products are not floating and repeating underneath each other

Sign in to reply to this post

Jason ByrnesWebAssist

Try adding overflow: hidden; to the style as well.

Before creating it in universal email using dynamic data, it is helpful to create the layout as a static page with test data, if your still having an issue getting the layout to work, send us a link where we can see the problem in a browse.

Sign in to reply to this post

simmo515303621

I want to repeating products horizontally across the Newsletter page... I would usually use <div style="float:left;><info</div> then wrap the div in the repeat region..

But this is laying out the products in the sent email stacked on top of each other as if the div is still acting as a block element...

I am able to achieve the horizontal repeat using a table aligned left - but I am still unable to use any type of css positioning for other elements?

To clarify I am creating a newsletter to be sent to a mailing list...My results are seen in Microsoft Outlook...In the preview window of Universal Email the template looks fine but the results are as stated above.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

what version of outlook?


It looks like outlook 2007/2010 does not have support for the float property:
css/

Sign in to reply to this post

simmo515303621

Im using 2010

Its all ok now - I decided to use a table - it does the trick but no where near as good as using CSS

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...