Forum Moderators: phranque

Message Too Old, No Replies

Adsense distorting my layout.

         

Boulder90

10:24 am on Jan 29, 2009 (gmt 0)

10+ Year Member



Ok, right now I'm in the process of converting my site to a template based system since it keeps growing. I'm using Dreamweaver's template and applying it to my own design.

What I am noticing is that a simple two text box Adsense ad is causing my layout to distort in IE7, but it looks fine in FF 3.0. Even more strange is when I apply the adsense ad in a similar fashion to a non-template page in another folder, there is no issue of Adsense distorting the layout. It seems to specificaly occur in the area of the site in which I have begun to use templates. I have lots of adsense up on my site and never had this problem before.

Any tips or tricks for getting adsense to behave? Perhaps I messed up my code somewhere along the way.....but it does work with all the other pages I have no templated yet.

The Adsense width is 468 and my cell width is 476, am I cutting it too close? These are the same dimensions on my other pages which work with Adsense, so not sure why it's distorting the layout on these template pages.

Thanks for any tips or tricks. This is frustrating. I know I need to do these tempaltes so I'm not manualy updating 400 pages at the end of 2009, but so far it's one step forward and one step back for this conversion.

tedster

6:43 pm on Feb 8, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Adsense width is 468 and my cell width is 476, am I cutting it too close?

Depending on the doctype, that might well be your answer. IE uses a non-standard box model so padding rules might be the culprit. You can use Site Search [webmasterworld.com] to locate related discussions.

Boulder90

9:48 pm on Feb 8, 2009 (gmt 0)

10+ Year Member



Thanks. I resolved the problem.