943,929 Members | Top Members by Rank

Ad:
Sep 8th, 2009
0

Firefox has problems with my site. IE doesnt.

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
maxicube is offline Offline
32 posts
since Nov 2008
Sep 8th, 2009
0

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

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.
Reputation Points: 10
Solved Threads: 2
Junior Poster
valonesal is offline Offline
120 posts
since Aug 2009
Sep 8th, 2009
0

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

still being annoying....
any other ideas?
Reputation Points: 10
Solved Threads: 0
Light Poster
maxicube is offline Offline
32 posts
since Nov 2008
Sep 8th, 2009
0

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

Click to Expand / Collapse  Quote originally posted by valonesal ...
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 5:20 am.
Reputation Points: 10
Solved Threads: 0
Light Poster
maxicube is offline Offline
32 posts
since Nov 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: IE / Firefox Discrepencies
Next Thread in HTML and CSS Forum Timeline: IE8 Render Bug





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC