Free Advertising - Debt Consolidation - Debt Consolidation - Discount Furniture Values - Debt Consolidation

PDA

View Full Version : Tableless Site, with small problem with ads?


misohoni
Jan 6th 2005, 9:32 pm
If you view http://www.misohoni.com/bba/index.php in Firefox you can see when graphic banners show up - they float to the middle of the page. I checked the size and everything looks ok esp when Google Ads the same size appear ok...

Strange stuff!

J.D.
Jan 7th 2005, 5:38 am
Your document is *so far* from being XHTML transitional, that this may screw things up (eg. all tags must be lower case). Don't use document.write - move this JS code to PHP.

J.D.

misohoni
Jan 7th 2005, 6:33 am
Thanks, was it you before who said my code was like a freak baby or something - with a donkey head and baby body? haha

I can't change the JS to PHP - I think it's the CSS tags surrounding the graphic banner - although the Google ads show up ok and they are the same size?

J.D.
Jan 7th 2005, 7:19 am
Thanks, was it you before who said my code was like a freak baby or something - with a donkey head and baby body? haha

DOCTYPE ins't there to beautify HTML - the browser may use DOCTYPE to create the appropriate HTML parser and if your HTML doesn't comply, your page may not render the way you expect in some browsers (or, sometimes, it may not render at all). If you are not XHTML-compliant, just use HTML transitional.

J.D.

misohoni
Jan 7th 2005, 8:56 pm
Is the code to use:
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">1