Friday, November 27, 2009

HTML prob. OK in Firefox, bad in IE?

Ive run into a roadblock Im hoping someone can help fix. Ive got a house blog and have been reworking it today with new graphics and the blogger.com link here: http://1916home.blogspot.com/ does not look good in IE, but is fine in Firefox. Now, to make matters worse, my own file here:



http://www.1916home.net/about.html looks fine in both Firefox and IE.



Where is my coding problem? Ive been trying to fix this thing since 10am and cant track down the problem.



If anyone can solve this I would be extremely appreciative!



Thanks! -Dave



HTML prob. OK in Firefox, bad in IE?windows movie maker





Use this in the one that shows strange:



--------------------------------------...



%26lt;/head%26gt;



%26lt;body onload="MM_preloadImages('ad-box-FONT2.g... %26lt;iframe src="http://www.blogger.com/navbar.g?tar... height="30px" width="100%" marginwidth="0" marginheight="0" scrolling="no" id="navbar-iframe" frameborder="0"%26gt;%26lt;/iframe%26gt; %26lt;div id="space-for-ie"%26gt;%26lt;/div%26gt;



%26lt;!-- Outer Dark Brown Container / Centers Content --%26gt;



%26lt;div%26gt;%26lt;/div%26gt;



%26lt;div id="wrap"%26gt;



--------------------------------------...



HTML prob. OK in Firefox, bad in IE?microsoft project internet explorer



Hi,



Do you want an advice?



Dont have so many articles at one page...



- William



http://www.seo.webarticles.dk
Check again. Might be you get right this time. At times there are cache-related issues with IE. So Refresh or load on a fresh IE browser
The issue comes down to how you set your widths and heights. IE and Firefox actually interpret sites differently. Everything except IE reads % values off of the whole screen. So if you have 1280 px in height, 100% = 1280px. IE does it different. If you create a subspace of say 800px, IE reads 100% as 800px. Firefox and the rest will still read 100% as 1280px. Its a small quirk that can be avoided by adding in straight up px values into your CSS section for everything and avoid using width and height in your html code if possible.

No comments:

Post a Comment

 
loan