I have just added two paypal logos to my site using the html markup item and then entering the paypal code from their site. I have placed the html boxes where I would like them to appear on my site but when I preview the logos appear but they have moved about 2cm down on the page. Is there anyway of getting them to appears where I actually want them? When I return to the page the html boxes are still in the correct place.
You may have to look at the page in a tool like Xyle scope to be sure, but I’d bet that these logos contain form tags, and that’s what’s tripping the layout up. You can add the following to your page through the Page / HTML Markup dialog, in the Before /HEAD segment of that dialog and see if it helps:
<style type="text/css">
form { margin: 0; padding: 0; }
</style>
That resets the form tag to add no space to the page (except for that which its child elements require). One other thing to look into – does your page have any Freeway-created forms on it at all? That would end up with a form within a form, which is not going to work on several levels.
thanks for this, I have tried entering the markup for the page but it doesn’t seem to be helping.
I don’t have any forms on the page so it can’t be that.
If I place the logo higher on the page over the text I would like it to appear under (to compensate for the extra spaces you talk about) then the logo appears where I want it. Will this cause problems with my text if it is layered over an html text box when I upload? It looks okay in preview?
Thanks for the help.
No its not the form tag. But note image the code is requesting is
291px wide by 80px high. So it might be this that is creating to
discrepancy you see.
If you’ve got the HTML markup in a HTML box, make this HTML box 291px
wide by 80px high and position it, this will then represent the image
final published size, and you should be good to go.
Thanks so much for looking at this for me, I have the html box at the correct size but am still getting a drop with the logo positioning. Will have to put up with it in the wrong place I guess. Many thanks for your help.
Your markup code has an empty table row that does nothing but pad the
top of the table. If you remove this as well as the table cellpadding
(set this to 0) then the item will position itself where you place it
on your freeway page. In fact you don’t need the table at all. Try
this modified (cut down) HTML code;
(fingers crossed that all of that code displays OK both in email and
online at FreewayTalk)
Regards,
Tim.
On 26 Jun 2009, at 08:58, gfel wrote:
Thanks so much for looking at this for me, I have the html box at
the correct size but am still getting a drop with the logo
positioning. Will have to put up with it in the wrong place I
guess. Many thanks for your help.