Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Different appearance between IE and firefox?
Old 05-12-2006, 06:03 AM Different appearance between IE and firefox?
Novice Talker

Posts: 5
Trades: 0
Can anybody help me out with my dilemma?

My website (www.combatgroundshq.co.nr)views like this with firefox (1.5.0.3).....


but then it looks like this with IE:


Can somebody help me out with this? I would much prefer for the site to look like the firefox picture
cghqleader is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-12-2006, 07:15 AM Re: Different appearance between IE and firefox?
blue-dreamer's Avatar
King Spam Talker

Posts: 1,222
Location: Middle England
Trades: 0
Can you post your code for us to look at?
blue-dreamer is offline
Reply With Quote
View Public Profile
 
Old 05-12-2006, 09:20 PM Re: Different appearance between IE and firefox?
Novice Talker

Posts: 5
Trades: 0
<html>
<head>



<title>CGHQ : The Unofficial CombatGrounds Guide</title>
<script>

//Hide status bar msg script- by javascriptkit.com
//Visit JavaScript Kit (http://javascriptkit.com) for script
//Credit must stay intact for use

//configure status message to show
var statusmsg=""

function hidestatus(){
window.status=statusmsg
return true
}

</script>
<SCRIPT LANGUAGE = "JavaScript">
<!-- Begin Script

//Display Time of last visit script
//Visit http://rainbow.arch.scriptmania.com for this script

var expDays = 30;
var exp = new Date();
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));

function When(info){
// When
var rightNow = new Date()
var WWHTime = 0;
WWHTime = GetCookie('WWhenH')

WWHTime = WWHTime * 1

var lastHereFormatting = new Date(WWHTime); // Date-i-fy that number
var intLastVisit = (lastHereFormatting.getYear() * 10000)+(lastHereFormatting.getMonth() * 100) + lastHereFormatting.getDate()
var lastHereInDateFormat = "" + lastHereFormatting; // Gotta use substring functions
var dayOfWeek = lastHereInDateFormat.substring(0,3)
var dateMonth = lastHereInDateFormat.substring(4,10)
var hours = "" + lastHereFormatting.getHours()
var year = lastHereFormatting.getYear()
if (year < 1000) year+=1900
var minutes = "" + lastHereFormatting.getMinutes()
if (minutes.substring(0,1) == minutes){
minutes = "0" + minutes
}
var WWHText = dayOfWeek + ", " + dateMonth + " " + year + " at " + hours + ":" + minutes// display

SetCookie ("WWhenH", rightNow.getTime(), exp)

return WWHText;
}

function Count(info){
var psj=0;
// How many times
var WWHCount = GetCookie('WWHCount')
if (WWHCount == null) {
WWHCount = 0;
}
else{
WWHCount++;
}
SetCookie ('WWHCount', WWHCount, exp);


return WWHCount+1;
}



function set(){
// VisitorName = prompt("Who are you?", "Nada");
// SetCookie ('VisitorName', VisitorName, exp);
SetCookie ('WWHCount', 0, exp);
SetCookie ('WWhenH', 0, exp);
}

function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
var j = i + alen;
if (document.cookie.substring(i, j) == arg)
return getCookieVal (j);
i = document.cookie.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}

function SetCookie (name, value) {
var argv = SetCookie.arguments;
var argc = SetCookie.arguments.length;
var expires = (argc > 2) ? argv[2] : null;
var path = (argc > 3) ? argv[3] : null;
var domain = (argc > 4) ? argv[4] : null;
var secure = (argc > 5) ? argv[5] : false;
document.cookie = name + "=" + escape (value) +
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) +
((path == null) ? "" : ("; path=" + path)) +
((domain == null) ? "" : ("; domain=" + domain)) +
((secure == true) ? "; secure" : "");
}

function DeleteCookie (name) {
var exp = new Date();
exp.setTime (exp.getTime() - 1);
// This cookie is history
var cval = GetCookie (name);
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();

}
// End Script -->
</SCRIPT>


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="http://cghq.cabspace.com/images/styles.css" rel="stylesheet" type="text/css"></head><body leftmargin="0" topmargin="0" bgcolor="#000000" marginheight="0" marginwidth="0" text="#ffffff"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
</head><body>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="750">

<tbody><tr style="border: 0px solid ; background-color: rgb(0, 0, 0);">

<script language="JavaScript">
<!--
function random_imglink(){
var myimages=new Array()
//specify random images below. You can have as many as you wish
myimages[1]="bann1.jpg"
myimages[2]="bann3.jpg"
myimages[3]="bann4.jpg"
myimages[4]="bann5.jpg"
myimages[5]="bann6.jpg"
myimages[6]="bann7.jpg"
myimages[7]="bann8.jpg"

//specify corresponding links below
var imagelinks=new Array()
imagelinks[1]="http://cghq.cabspace.com/home.html"
imagelinks[2]="http://cghq.cabspace.com/home.html"
imagelinks[3]="http://cghq.cabspace.com/home.html"
imagelinks[4]="http://cghq.cabspace.com/home.html"
imagelinks[5]="http://cghq.cabspace.com/home.html"
imagelinks[6]="http://cghq.cabspace.com/home.html"
imagelinks[7]="http://cghq.cabspace.com/home.html"

var ry=Math.floor(Math.random()*myimages.length)

if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'onMouseover="return hidestatus()"><img src="'+myimages[ry]+'" border=0></a>')
}

random_imglink()
//-->
</script>


</tr>
<tr style="border: 0px solid rgb(0, 0, 0); background-color: rgb(0, 0, 0);">
<td class="TopNav" align="center" height="24" valign="middle"><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/
shockwave/cabs/flash/swflash.cab#version=4,0,2,0" height="34" width="950">
<param value="http://cghq.cabspace.com/WebHunting.swf" name="movie">
<param value="high" name="quality">
<param value="true" name="menu">
<embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/
download/index.cgi?P1_Prod_Version=ShockwaveFlash" menu="true" quality="high" src="http://cghq.cabspace.com/WebHunting.swf" height="34" width="750">
</object><table border="0" cellpadding="0" cellspacing="0" width="80%">
<tbody><tr align="center">
</tr>

</tbody></table></td>
</tr>
<tr>
<td><img src="images/spacer.gif" height="15" width="30"></td>
</tr>
</tbody></table>
<table style="width: 750px; height: 511px;" border="0" cellpadding="0" cellspacing="0">
<tbody><tr valign="top">


<td><table style="width: 750px; height: 386px;" border="0" cellpadding="0" cellspacing="0">

<tbody><tr>
<td class="Title"><br>
</td>
</tr>
<tr>
<td class="MainText"><p align="center">

<SCRIPT language="JavaScript" type="text/javascript">

if (Count()==1){
document.write("Hello and welcome to the CombatGrounds HQ, This is your <b>1st</b> visit to our page, we hope to see you back here.")
When()
}
else if (Count()>1)
document.write("Hello and welcome back to CGHQ. <br>Your last visit was on <b>" + When() +"</B>.")
</script>
<br><br>

<br><br><br><br>
<b><u>News 12th May, 2006</b></u> <br>

Reported problems fixed with site. Please visit the forum if you find others.

<br><br><b>
<u>News 26th April, 2006</b></u> <br>
New CGHQ site launched.

</p>
<p>&nbsp;</p>
</td>
</tr>
</tbody></table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
</tbody></table>
<table border="0" cellpadding="0" cellspacing="0" width="750">
<tbody><tr>
<td><img src="images/spacer.gif" height="15" width="30"></td>
</tr>
<tr>
<td class="Footer" align="right" height="24">CGHQ : CombatGrounds Headquarters © 2005</td>
</tr>
<tr>
<td align="right" height="20">&nbsp;</td>
</tr>
</tbody></table>
</div>





<!-- Start of StatCounter Code -->
<script type="text/javascript" language="javascript">
var sc_project=1502831;
var sc_invisible=1;
var sc_partition=13;
var sc_security="877b14d7";
var sc_remove_link=1;
</script>

<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><img src="http://c14.statcounter.com/counter.php?sc_project=1502831&java=0&security=877 b14d7&invisible=1" alt="free web tracker" border="0"> </noscript>
<!-- End of StatCounter Code -->
<!-- --><script type="text/javascript" src="/i.js"></script></body>
</html>
cghqleader is offline
Reply With Quote
View Public Profile
 
Old 05-12-2006, 09:38 PM Re: Different appearance between IE and firefox?
Experienced Talker

Posts: 53
Location: Canada
Trades: 0
I just skimmed it quickly and noticed you have 2 HTML and HEAD tags. It may not have any relevance to the problem, but any errors can cause weird things to happen. Your indenting on the source of the page itself is brutally mangled making it hard to follow to find the problem.

Code:
<html>
<head>
...
<html><head>
</head><body>
__________________
Dave D. • Syndac Media

Please login or register to view this content. Registration is FREE
• domainfocus.com • Advertise your domain names!

Please login or register to view this content. Registration is FREE
• webmastertalk.net • Discussion of all webmaster related topics!

Last edited by Syndac; 05-12-2006 at 09:40 PM..
Syndac is offline
Reply With Quote
View Public Profile Visit Syndac's homepage!
 
Old 05-13-2006, 01:28 AM Re: Different appearance between IE and firefox?
ChipJohns's Avatar
I don't know! Do you?

Posts: 488
Name: Chip Johns
Location: Savannah Georgia
Trades: 0
I can't say for sure, but it looks like it could have something to do with the script that is rotating your top images.

What you need to consider is what is throwing the top half of your page out of center. SOmething is over-riding the centering provided by the div tag. I would try removing the script and see if you can load a single image into the page and see if that works. If it does you know that is what the problem is.

the best way for you to trouble shoot this is by taking an element out and see what happens. Only make one change a t a time and eventually you will find out what is causing it. Then when you know what is breaking it, we can see the best way to put it back in to make it work.
ChipJohns is offline
Reply With Quote
View Public Profile Visit ChipJohns's homepage!
 
Reply     « Reply to Different appearance between IE and firefox?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.24007 seconds with 12 queries