Jump to content

Doesn't Display Correctly In Ie And Firefox


Flame1622

Recommended Posts

I'm making my first starting test website and I've used IE and Firefox to check to see what they look like in it, but, it doesn't display correctly, in Firefox the backgrounds missing and both have some small at the bottom, it displays correctly in Goggle Chrome. Is my problem because I use HTML for mostly everything, I know its bad to use HTML for a lot of stuff.

<html><head><style type="text/css">body {color:white}h1 {color:#00008B}p.ex {color:rgb(5,5,255)}</style><title>Cryengine 3 Maximum</title></head><body background="C:\Users\Groundunit\Desktop\Website\NanoSuit 2 Linked.jpg"><div align="center"><font color="darkblue"><h1>Cryengine 3 Maximum</h1></font></div><div align="center"><font size="4"><a href="http://www.crytek.com/technology/cryengine-3/specifications/">Crytek <br>Cryengine 3</br>Specifications</a></font></div><hr style="width:15%;background-color:maroon;height:3px;border-width:0px" /><div align="center"><font size="4"><a href="http://www.crynetsystems.com/">Crynetsystems</a></font></div><div align="center"><p class="ex"><a href="http://www.crytek.com/downloads/technology/">Downloads</a><br />Crytek downloads including Wallpapers, Cryengine 3 Trailer, Cryengine 2 Features, and more</p></div><hr style="height:3px;border-width:0;background-color:maroon" /><div align="center"><font color="darkred"><h2>Videos</h2></font></div><div align="center"><p><font size="4" color="darkblue"><b>Cryengine 3 trailer</b></font><br /><object width="853" height="505"><param name="movie" value="http://www.youtube.com/v/KSlsOQsVxPU&hl=en&fs=1&rel=0&hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/KSlsOQsVxPU&hl=en&fs=1&rel=0&hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="853" height="505"></embed></object></p></div><div align="center"><p><font size="4" color="darkblue"><b>Crysis 2 First look Teaser</b></font><br /><object width="853" height="505"><param name="movie" value="http://www.youtube.com/v/VXGOPn6QnGs&hl=en&fs=1&rel=0&hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/VXGOPn6QnGs&hl=en&fs=1&rel=0&hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="853" height="505"></embed></object></p></div><div align="center"><font size="4" color="darkblue"><p><b>Nanosuit 2 Technical Specifications</font></b><br /><object width="853" height="505"><param name="movie" value="http://www.youtube.com/v/z5Mu4KryOD8&hl=en&fs=1&hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/z5Mu4KryOD8&hl=en&fs=1&hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="853" height="505"></embed></object></div></p><!-- I do not own these videos, brought to you by cryEddy(http://www.youtube.com/user/CryEddy) --><hr style="height:3px;border-width:0;background-color:maroon" /><div align="center"><font color="darkred"><h2>Screenshots</h2></font></div><div align="center"><img src="http://www.crytek.com/fileadmin/user_upload/cryengine3/screenshots/Subsurface_Scattering.jpg" /></div><div align="center"><img src="http://www.crytek.com/fileadmin/user_upload/cryengine3/screenshots/Interactive_and_Destructible__Environments.jpg" /></div><div align="center"><img src="http://www.crytek.com/fileadmin/user_upload/cryengine3/screenshots/Play_Realtime_PC.jpg"></div><div align="center"><img src="http://www.crytek.com/fileadmin/user_upload/cryengine3/screenshots/Integrated_Vegetation_and_Terrain_Cover_Generation_System.jpg"></div><div align="center"><img src"http://www.crytek.com/fileadmin/user_upload/cryengine3/screenshots/CryENGINE3_GDC_Demo_Screen3.jpg"></div></body></html>

Link to comment
Share on other sites

To ensure maximum compatibility across all browsers, it is good practice to declare a DTD at the top of your page to ensure that browers are aware of which definitions to render your page by. Doing that and cleaning up your code to remove deprecated tags and seperating the CSS from the HTML would definitely be good starts. A run through the validator (after declaring a DTD) will help you sort out the old from the new.DTDvalidator

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...