Every time I setup a custom email and use the slightest bit of HTML within the email, there's a block (for lack of a better term) of dead space at the top of the email. I can't seem to get rid of it. I've tried different things, but I'm at the end of my rope with my skillset. Does anyone know how to fix this?
|
Make sure you have no white space between your tags when you add/refrence it in SPD, should be one nice long string. i.e. Try encapsulating your content into a table or div and setting margin to 0 and/or adding a negative for the top margin. Ben McCormack has an Access Form that can generate the code for you. http://unitedsupplyco.sharepointsite.net/publicfacing/bensblog/Lists/Posts/Post.aspx?ID=49 If you just look at the examples you will how the code is not 'formatted' in a clear readable way (no line breaks, indents, etc). This is how the email template needs to be. I would also strip out all your CSS code and see if the layout is working without that, then start adding back your CSS and you'll find what's causing your problem. Not sure how much more I can give you without seeing a pic of your 'white space' problem and the actual code you are using. |
|||||||||||||
|