Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

REALLY freaking weird.. Duplicate header ONLY on articles manager pages


lindsayanng

Recommended Posts

I cant even tell you how weird this is to me... I have installed the article manager TWICE and I have not had an issue!! BUT now, my header image is showing twice, as if it is set Background REPEAT but its not.. And i viewed the source just to see, and i can't figure it out!

 

its only happening on the Articles Manager pages, which is weird because the image is in the header.php, and its JUST the image that is being repeated, not the entire header because the links are shown the way they should be.

 

Please check this out and give me an idea where to look

 

Screwy website link

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Link to comment
Share on other sites

wow wtf ... on that page your #content property in stylesheet.css doesnt have the value of width: 900px which is why its defaulting to full screen view and hence your background repeating .... on every other page that uses the #content identifier it DOES have the property of width: 900px ... wtf is going on?? its the same stylesheet.css file

Link to comment
Share on other sites

OSC uses this for a doctype

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

That is incalid and hides a lot of mistakes including in the stylesheet.

 

The articles manager has this doctype

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

This is valid. I didn't go through your whole stylesheet, but this part does need to be changed.

/* center shop */
#content {
width: 900; margin: auto;
border: 1px solid #999999;
text-align:center;
}
*/

To

/* center shop */
#content {
width: 900px; margin: auto;
border: 1px solid #999999;
text-align:center;
}

Just added a px to the end of 900 in the width and removed the " */ " at the end.

 

If things are still not working correctly you will have to recheck your stylesheet. Just your addons, stock osc part should be ok. Or you could just use the invalid doctype above.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...