»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 10-08-2003, 05:17 PM   #1 (permalink)
Registered User
 
lost-and-found's Avatar
 
Join Date: Oct 2001
Location: So. Californication
Posts: 1,659
lost-and-found is on a distinguished road
Send a message via AIM to lost-and-found

Hey, attached is a screenie of Opera rendering a page and IE rendering the same page. Opera is the top one, IE is the bottom one. As you can see IE renders it correctly, while opera puts this ugly color where the tables end. I specified that bgcolor="dark-blue" (or whatever color I wanted, in the <body> tag and it still displays it wrong.....is there something the I am doing wrong?

__________________
To fry or not to fry...oh what the heck, let it fry :)
lost-and-found is offline   Reply With Quote
Old 10-08-2003, 05:18 PM   #2 (permalink)
Registered User
 
lost-and-found's Avatar
 
Join Date: Oct 2001
Location: So. Californication
Posts: 1,659
lost-and-found is on a distinguished road
Send a message via AIM to lost-and-found
oops, forgot the attachment
Attached Images
File Type: jpg badrender.jpg (27.5 KB, 44 views)
__________________
To fry or not to fry...oh what the heck, let it fry :)
lost-and-found is offline   Reply With Quote
Old 10-08-2003, 05:38 PM   #3 (permalink)
Registered User
 
Join Date: Oct 2001
Location: TOO close to Wash DC
Posts: 7,956
vass0922 is on a distinguished road
Anyway we can get a link to the actual page?
maybe help us see the rest of the code, and possibly the problem.

Also try using the hex colors, some browsers don't appreciate text colors.

http://html-color-codes.com/

-- edit -- it kind of looks like you are setting the background color for the table instead of the body of the entire page.
__________________
<< Insert exceedingly large and overly verbose message of how 1337 you are here including full specs of every vehicle you've ever driven and PC you've owned >>
vass0922 is offline   Reply With Quote
Old 10-08-2003, 05:43 PM   #4 (permalink)
Registered User
 
lost-and-found's Avatar
 
Join Date: Oct 2001
Location: So. Californication
Posts: 1,659
lost-and-found is on a distinguished road
Send a message via AIM to lost-and-found
here's the code:

Code:
<html>

<head>
<title>Home</title>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</head>

<body style="margin: 0px" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0"
BGCOLOR="#090E39" link="#DBF2FB" vlink="#DBF2FB" alink="#DBF2FB">
<script type="text/javascript">

//HV Menu- by Ger Versluis (http://www.burmees.nl/)
//Submitted to Dynamic Drive (http://www.dynamicdrive.com)
//Visit http://www.dynamicdrive.com for this script and more

function Go(){return}

</script>
<script type="text/javascript"
src="http://www.goldleafgroup.com/exmplmenu_var.js"></script>
<script
type="text/javascript" src="http://www.goldleafgroup.com/menu_com.js"></script>
<noscript>


<p>Your browser does not support script</p>
</noscript>

<table border="0" cellpadding="0" cellspacing="0" width="755">
  <tr>
    <td width="134"><div align="center"><center><table border="0" cellpadding="0"
    cellspacing="0" width="755">
      <tr>
        <td width="500"><img src="http://www.goldleafgroup.com/images/logo_01.jpg" width="500"
        height="104"></td>
        <td width="255" valign="top">
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
        codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0"
        width="255" height="100" align="left" border="0">
          <param name="movie" value="flash/BannerTop.swf">
          <param name="quality" value="high"><embed src="flash/BannerTop.swf" quality="high"
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="255" height="100">
        </object>
        </td>
      </tr>
    </table>
    </center></div></td>
  </tr>
  <tr>
    <td bgCOLOR="#090E39">+</td>
  </tr>
  <tr>
    <td BGCOLOR="#090E39"><p align="center">&nbsp;</p>
    <p align="center">&nbsp;</p>
    <p align="center"><font face="Times New Roman" color="#F7F7F7">The Web Site is Currently
    Under Construction</font></p>
    <p align="center"><font color="#F7F7F7">Gold Leaf Group, a Real Estate Corporation<br>
    11400 W. Olympic Blvd., Ste. 200<br>
    Los Angeles, California 90064<br>
    Office:&nbsp; 310.312.9593<br>
    Fax:&nbsp;&nbsp;&nbsp;&nbsp; 310.204.0778</font></p>
    <p align="center">&nbsp;</td>
  </tr>
</table>
</body>
</html>
As you see I'm using hex for the backround colors. www.goldleafgroup.com is the url to the site. The drop down menus that I'm using are done through the java script in seperate functions....the code to call out those menus is right under the <body> tag.

What i noticed is when I don't have the menu's (I delete the <script...............</script> lines) then Opera displays the proper colors everywhere, but then I can't have drop down menus....
__________________
To fry or not to fry...oh what the heck, let it fry :)
lost-and-found is offline   Reply With Quote
Old 10-08-2003, 05:49 PM   #5 (permalink)
Registered User
 
willy_ph's Avatar
 
Join Date: Oct 2001
Location: Trent University
Posts: 1,864
willy_ph is on a distinguished road
Try removing the # when referencing the body colour. See if that makes a difference. I know IE will work when just using the colour code without the "#". Maybe Opera doesn't recognize the "#" and ends up misinterpreting the intended colour.
willy_ph is offline   Reply With Quote
Old 10-08-2003, 05:51 PM   #6 (permalink)
Registered User
 
lost-and-found's Avatar
 
Join Date: Oct 2001
Location: So. Californication
Posts: 1,659
lost-and-found is on a distinguished road
Send a message via AIM to lost-and-found
didn't help

I'm off to class (for 4 hours) so I can't reply until at least tomorrow (I wanna go to sleep asap).
__________________
To fry or not to fry...oh what the heck, let it fry :)

Last edited by lost-and-found; 10-08-2003 at 05:54 PM.
lost-and-found is offline   Reply With Quote
Old 10-08-2003, 06:05 PM   #7 (permalink)
Registered User
 
Join Date: Oct 2001
Location: TOO close to Wash DC
Posts: 7,956
vass0922 is on a distinguished road
I was goign to run your page through a code validator (courtesty of W3) but there's no doctype specified so it dies there not required, just helps the browser sometimes

(easy way to run the check, is in Opera right click your page somewhere, go down to Frame --> Validate Source.... OR CTRL+ALT+V to make it easy )

I'm thinking there maybe a missing end tag somewhere.
IE is great for bad coding as it doesn't really follow standards. Whereas Opera is a bit more rigid and unforgiving. Its a good thing in reality, but yes can be a pain for the developer.
__________________
<< Insert exceedingly large and overly verbose message of how 1337 you are here including full specs of every vehicle you've ever driven and PC you've owned >>
vass0922 is offline   Reply With Quote
Old 10-09-2003, 12:28 PM   #8 (permalink)
Registered User
 
lost-and-found's Avatar
 
Join Date: Oct 2001
Location: So. Californication
Posts: 1,659
lost-and-found is on a distinguished road
Send a message via AIM to lost-and-found
hmmm....last tiem I had opera all was looking swell, and I didn't change all of the pages. Can anyone else look at it through opera and tell me if it looks like my picture?
__________________
To fry or not to fry...oh what the heck, let it fry :)
lost-and-found is offline   Reply With Quote
Old 10-10-2003, 01:48 AM   #9 (permalink)
Registered User
 
brian0555's Avatar
 
Join Date: Mar 2002
Location: Ohio
Posts: 74
brian0555 is on a distinguished road
Send a message via AIM to brian0555
I looked at the page through Opera v7.2 and had the same effect as the first image.. I couldn't see anything wrong with the code, but I managed to use a style sheet to fix it.
<STYLE TYPE="text/css">
<!--
BODY{background:#090e39;}
-->
</STYLE>

I'm puzzled why opera didn't render the page correctly
brian0555 is offline   Reply With Quote
Old 10-10-2003, 12:59 PM   #10 (permalink)
Registered User
 
lost-and-found's Avatar
 
Join Date: Oct 2001
Location: So. Californication
Posts: 1,659
lost-and-found is on a distinguished road
Send a message via AIM to lost-and-found
I think it's a bug with how it handles Java, cause when I disable Java in opera (thus the menus too) it renders flawlessly.


So I put the <Style> in the the <head> section of the code, right?
__________________
To fry or not to fry...oh what the heck, let it fry :)
lost-and-found is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 02:57 AM.