Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CSS Problems


EyeDentify

Recommended Posts

Posted

OK normally the problem is IE with CSS, but for some reason the CSS is not displaying in Firefox for me. Can someone please tell me what I am doing wrong, because I can't seem to find anything right now.

 

http://www.jnztuning.net

 

Thanks in advance for anyone that replies.

Posted
OK normally the problem is IE with CSS, but for some reason the CSS is not displaying in Firefox for me. Can someone please tell me what I am doing wrong, because I can't seem to find anything right now.

 

http://www.jnztuning.net

 

Thanks in advance for anyone that replies.

 

Looks to me, if I understand your question, like you've set the main table attributes directly in the source code for the table, which is overriding the stylesheet.

 

But if you could describe exactly what you think is wrong, it'd help.

Posted
Honestly, I have no clue what is causing the css not to work in Firefox.

 

OK, but how should your page look? You haven;t said what's wrong.

 

It appears that some elements are working OK, and I'm assuming the problem is the main table.

 

I can't say for sure, but it looks like somebody has set some attributes directly in the code in the .php file for the page, rather than letting it take it from the stylesheet.

 

I'm not a browser expert, but let's say FF uses the html code in the page in preference to .css, and IE doesn't. That would have the effect you're describing.

Posted

Looking at your HTML source for your index.php I see this:

 

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<!-- header //-->

<script language="JavaScript" type="text/JavaScript">

<!--

function MM_swapImgRestore() { //v3.0

var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;

}

 

function MM_preloadImages() { //v3.0

var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}

}

 

function MM_findObj(n, d) { //v4.01

var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];

for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);

if(!x && d.getElementById) x=d.getElementById(n); return x;

}

 

function MM_swapImage() { //v3.0

var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}

//-->

</script>

<body onLoad="MM_preloadImages('images/menu1_over.gif','images/menu2_over.gif','images/menu3_over.gif','images/menu4_over.gif','images/menu5_over.gif')">

 

You've go two <body> statements.

 

That probably isn't the source of your problem, but should be fixed.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Problem fixed. It was the dumbest issue. I went back and looked at the css file and I didn't put a } after one of the css tags. Go ahead and lock this one up and thanks for all the help!

Archived

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

×
×
  • Create New...