View Single Post
  #2 (permalink)  
Old Aug 18th, 2006, 21:29
ukgeoff ukgeoff is offline
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: problem with layout

For starters get rid of the prolog:
Code: Select all
<?xml version="1.0" encoding="iso-8859-1"?>
This line causes all sorts of problems in various browsers and its not a mandatory requirement.

Next code your pages to proper xhtml standards such as closing <img tags with ... /> Note the space and the forward slash.

Attribute names should all be in lowercase.

This line is pointless:
Code: Select all
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Really you should start again and use the <div> tag as a layout tool, not tables, and use proper symantic markup.
Reply With Quote