Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Why do i still have a border around main area?

Why do i still have a border around main area?

Locked

Views: 1,078

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
10 Jul 2009, 3:40 PM
#1
jocezilla avatar

jocezilla

New Zenner

Join Date:
May 2009
Posts:
14
Plugin Contributions:
0

Why do i still have a border around main area?

I am still getting a black border around the main content area even though I've removed the relevant code in the stylesheet:

http://dppokervenom.me/index.php?main_page=

Any ideas?

10 Jul 2009, 3:56 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Why do i still have a border around main area?

You have both stylesheet.css and stylesheet2.css and these are both being processed in order
I assume that your stylesheet2.css is old or saved for posterity....
Change the extention to anything BUT .css

10 Jul 2009, 5:14 PM
#3
jocezilla avatar

jocezilla

New Zenner

Join Date:
May 2009
Posts:
14
Plugin Contributions:
0

Re: Why do i still have a border around main area?

You are my new best friend! Thank you :)

6 Oct 2009, 1:30 AM
#4
cowgirlmodel avatar

cowgirlmodel

New Zenner

Join Date:
Apr 2009
Posts:
56
Plugin Contributions:
0

Re: Why do i still have a border around main area?

Thanks for this answer, I had the exact same problem except I wanted to change the border color, and that fixed it.

Is renaming files a problem only with css files; or could it affect php or text files, too? Each time I change a page, I typically rename the original file from name.php to name1.php, so I always have a copy of the original. I am wondering if this could become a problem?

6 Oct 2009, 10:06 AM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Why do i still have a border around main area?

Not as critical (in Zencart) as the stylesheet, but changing the extension of the old file is probably a good habit to get in to.

8 Oct 2009, 2:14 AM
#6
cowgirlmodel avatar

cowgirlmodel

New Zenner

Join Date:
Apr 2009
Posts:
56
Plugin Contributions:
0

Re: Why do i still have a border around main area?

I will start doing that, thanks.