By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,648 Members | 1,198 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,648 IT Pros & Developers. It's quick & easy.

Please help !

P: 5
Hello guys out there.... my problem is a little bit strange... hope you will still be able to help me !!
Ok .. now no more twisting talks... lets come to the point !!

So here i go ... :-
The problem is that my website http://micromationindia.com is coming perfect with INTERNET EXPLORER.... at 800 X 600 resolution and even with
1024 X 768 resolution..... Now the point is ,,,, its coming perfectly fine and same in FIREFOX as its coming in INTERNET EXPLORER on 800 X 600 resolution... but when i switch onto 1024 X 768 resolution ... the website just forgets the aligning... its alignment disturbs... but only in FIREFOX !! Why ??? My code is extremely fine...i have checked everything... and i am now unable to gauge out this strange problem... help me....i am confused !!!!!!!! Remember ... it disturbs only on firefox and only when i switch on 1024 X 768 resolution !!
Jan 12 '07 #1
Share this Question
Share on Google+
10 Replies


Expert 100+
P: 1,892
Do you have the correct DOCTYPE & have you validated your code?

HTML DOCTYPE
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  2. "http://www.w3.org/TR/html4/strict.dtd">
  3.  
XHTML DOCTYPE
Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3.  
Jan 12 '07 #2

P: 5
Dood......yep dood....i have extremely correct doctype !
Jan 12 '07 #3

Expert 100+
P: 1,892
When I validated your page it said you have no doctype.
Jan 12 '07 #4

acoder
Expert Mod 15k+
P: 16,027
Your website failed validation with 4 errors. See the validation page for you site here .
Jan 12 '07 #5

drhowarddrfine
Expert 5K+
P: 7,435
1) You have more than one doctype. More doctypes is not better.
2) You are declaring html but using Xhtml type ending tags, />. Remove the trailing slashes.
3) Your charset is windows-1252. You should be using utf-8.
4) Validate your html and css, as mentioned above and fix any errors listed there.
5) Get it working in a modern, standards compliant browser first, such as Firefox. Then we can work on IEs bugs and quirks.
Jan 13 '07 #6

P: 5
I would only say..... that i am literally confused....!
Jan 13 '07 #7

P: 5
But... the main point...is ... why everythings fine with 800 X 600 resolution with any browser.... and when i switch onto 1024 x 768px the alignment disturbs.... but not in any other browser except firefox and netscape !!
Jan 13 '07 #8

acoder
Expert Mod 15k+
P: 16,027
But... the main point...is ... why everythings fine with 800 X 600 resolution with any browser.... and when i switch onto 1024 x 768px the alignment disturbs.... but not in any other browser except firefox and netscape !!
Just because it works under one resolution on a browser doesn't mean it's correct. Remember browsers are very forgiving, especially IE, which encourages or allows for bad code. IE is never a browser to use to determine if a web page has been developed properly. Use a browser that follows the standards, e.g. Firefox and then test for IE.
Jan 13 '07 #9

drhowarddrfine
Expert 5K+
P: 7,435
Perhaps it would be helpful if we just work on the problem one step at a time. Your page is not coded properly and it's hard enough working with proper code than improper code, so that is why we are saying fix the errors first so we know they aren't causing any problems now, or might cause problems later. So...

1) Remove the second <!DOCTYPE html ... line you have on the page a little further down from the top.
2) Anywhere you have a line ending with /> delete the slash.
3) Where you have this: charset=windows-1252 change it to this: charset=utf-8

Let us know when you've done that.
Jan 13 '07 #10

P: 5
Ok !! its fine.....i will do the needfull positively !
Jan 16 '07 #11

Post your reply

Sign in to post your reply or Sign up for a free account.