Firefox has problems with my site. IE doesnt.

Thread Solved

Join Date: Nov 2008
Posts: 26
Reputation: maxicube is an unknown quantity at this point 
Solved Threads: 0
maxicube maxicube is offline Offline
Light Poster

Firefox has problems with my site. IE doesnt.

 
0
  #1
Sep 8th, 2009
I dunno how to fix this.
All i get in FireFox is the text. In IE i get all the div tags and graphics and everything.

here's my code, thx for the help
HTML and CSS Syntax (Toggle Plain Text)
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html xmlns='http://www.w3.org/1999/xhtml' xml:lang="en" lang="en">
  5. <head>
  6.  
  7. <meta http-equiv="Content-Style-Type" content="text/html; charset=utf-8; text/css" />
  8. <title>Maxi-Studios.info | Home</title>
  9. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css">
  10. <!--
  11. body,td,th {
  12. font-family: Arial, Helvetica, sans-serif;
  13. }
  14. -->
  15. </style></head>
  16.  
  17.  
  18. <body style='margin: 0px; height: 100%; background:url(bg2.png)'>
  19. <div style="position: fixed; z-index: -10; top: 100%; left: 100%; width:200px; height:20px; margin-top:-20px; margin-left:-200px; line-height:20px; text-align:right; color:white;">© Maxicube 2009</div>
  20. <div style='position: fixed; top: 100%; left: 100%; width:88px; height:31px; margin-top:-51px; margin-left:-88px; background:url(http://www.w3.org/Icons/valid-xhtml10-blue); z-index: -10;' onclick="window.location.href='http://validator.w3.org/check?uri=referer;"></div>
  21.  
  22. <div style='position: fixed; top: 0; left: 0; width: 100%; height: 50%; background:url(bg1.png); z-index: 1;'></div>
  23. <div style='position: fixed; top: 50%; left: 0; width:100%; height:2px; background-color:black;'></div>
  24. <div style='position: fixed; top: 50%; left: 50%; width:433px; height:32px; margin-top:-31px; margin-left:-432px; background:url(logo.png); z-index:3;'></div>
  25.  
  26. <div style='position: fixed; top: 50%; left: 50%; width:108px; height:25px; margin-top:0px; margin-left:-432px; border:2px black solid; background-color:#b4b4b4; text-align:center; line-height:25px' onclick="window.location.href='index.html'">Home</div>
  27.  
  28. <div style='position: fixed; top: 50%; left: 50%; width:108px; height:25px; margin-top:0px; margin-left:-324px; border:2px black solid; background-color:#b4b4b4; text-align:center; line-height:25px' onclick="window.location.href='folio.html'">Folio</div>
  29.  
  30. <div style='position: fixed; top: 50%; left: 50%; width:108px; height:25px; margin-top:0px; margin-left:-216px; border:2px black solid; background-color:#b4b4b4; text-align:center; line-height:25px' onclick="window.location.href='about.html'">About Me</div>
  31.  
  32. <div style='position: fixed; top: 50%; left: 50%; width:108px; height:25px; margin-top:0px; margin-left:-108px; border:2px black solid; background-color:#b4b4b4; text-align:center; line-height:25px' onclick="window.location.href='upload.html'">Upload</div>
  33.  
  34.  
  35.  
  36.  
  37.  
  38. <div style='position: fixed; top: 50%; left: 50%; width:400px; height:400px; background-color:#999; margin-top:-200px; border:2px black solid; z-index:2; padding:10px 10px 10px 10px'>
  39. <h1>Home</h1>
  40. <p>Hello and welcome to maxicubes website. The main purpose of this website is...<br/>well there is no purpose</p>
  41. </div>
  42. </body>
  43. </html>

and its all W3C approved etc.
Reply With Quote Quick reply to this message  
Join Date: Aug 2009
Posts: 101
Reputation: valonesal is an unknown quantity at this point 
Solved Threads: 2
valonesal's Avatar
valonesal valonesal is offline Offline
Junior Poster

Re: Firefox has problems with my site. IE doesnt.

 
0
  #2
Sep 8th, 2009
You need to remove all of your extras and repeats in your head, you have a bunch of stuff you dont need try this. Replace your head with this.

HTML and CSS Syntax (Toggle Plain Text)
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Maxi-Studios.info | Home</title>
  6. <style type="text/css">
  7. <!--
  8. body,td,th {
  9. font-family: Arial, Helvetica, sans-serif;
  10. }
  11. -->
  12. </style>
  13. </head>

I would also strongly recommend that you use a css style sheet for this to clean it up and for future usability in design.
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 26
Reputation: maxicube is an unknown quantity at this point 
Solved Threads: 0
maxicube maxicube is offline Offline
Light Poster

Re: Firefox has problems with my site. IE doesnt.

 
0
  #3
Sep 8th, 2009
still being annoying....
any other ideas?
Reply With Quote Quick reply to this message  
Join Date: Nov 2008
Posts: 26
Reputation: maxicube is an unknown quantity at this point 
Solved Threads: 0
maxicube maxicube is offline Offline
Light Poster

Re: Firefox has problems with my site. IE doesnt.

 
0
  #4
Sep 8th, 2009
Originally Posted by valonesal View Post
You need to remove all of your extras and repeats in your head, you have a bunch of stuff you dont need try this.

I would also strongly recommend that you use a css style sheet for this to clean it up and for future usability in design.
thanks for the cleanup. and i worked it out.
for every
HTML and CSS Syntax (Toggle Plain Text)
  1. <div style='positi....
it needed to be a " instead of a ' (also at the end)
Last edited by maxicube; Sep 8th, 2009 at 4:20 am.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum


Views: 502 | Replies: 3
Thread Tools Search this Thread



Tag cloud for HTML and CSS
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC