Connecting Tech Pros Worldwide Forums | Help | Site Map

My site's layout getting distorted

Newbie
 
Join Date: Oct 2008
Posts: 2
#1: Oct 18 '08
Please have a look at http://www.atharvinsurance.com/contact.html.

When I saw this page on my laptop using Firefox, Opera and IE, it looked fine on all the three browsers. But after uploading it to the server, it is showing distorted layout on all of these browsers.

Looking forward to some pointers...

drhowarddrfine's Avatar
Expert
 
Join Date: Sep 2006
Posts: 5,579
#2: Oct 18 '08

re: My site's layout getting distorted


These /> are closing tags for XHTML but you declared (old style) transitional HTML. Remove the slashes. Then validate your html and css for those lists of errors.
Markus's Avatar
Moderator
 
Join Date: Jun 2007
Location: York, England, with wolves.
Posts: 4,949
#3: Oct 18 '08

re: My site's layout getting distorted


And you're using tables for your layout. Tables are for tabular data. Use CSS to get the desired look.
Newbie
 
Join Date: Oct 2008
Posts: 2
#4: Oct 18 '08

re: My site's layout getting distorted


Thanks for the guidance. Actually my css file was stale. I have uploaded the correct version, and the page is displaying fine now.
Expert
 
Join Date: Aug 2008
Posts: 397
#5: Oct 18 '08

re: My site's layout getting distorted


Quote:

Originally Posted by atharvinsurance

Thanks for the guidance. Actually my css file was stale. I have uploaded the correct version, and the page is displaying fine now.

Every page on your site looks like an explosion in a jigsaw puzzle factory on this end (in every browser on earth). Welcome to the World Wide Web. Users control the Web. Not you.
Reply