ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - css border falls short on some pgs
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

css border falls short on some pgs

 Post Reply Post Reply
Author
Message
Ceylan View Drop Down
Newbie
Newbie
Avatar

Joined: 03-August-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ceylan Quote  Post ReplyReply Direct Link To This Post Topic: css border falls short on some pgs
    Posted: 15-December-2006 at 1:07pm
in pcstorefront css I've set the "pcmain" to have a right border..it works fine with my design

but it falls short on pages I don't have many products on

see here:

http://funnyfotocards.com/productcart/pc/viewCategories.asp

versus here where it works:
http://funnyfotocards.com/productcart/pc/viewCategories.asp? idCategory=20

any ideas out there...
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 15-December-2006 at 1:41pm

The problem is that the border is on the right side of the HTML table for the content area. So the height of that table is only as high as the content within it. For the examples above the first page doesn't have enough content to fill the whole page whereas the second page does.

Try defining the right border for the the "pcCenter" class in the pcHeaderFooter.css. That should work.

NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
Ceylan View Drop Down
Newbie
Newbie
Avatar

Joined: 03-August-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ceylan Quote  Post ReplyReply Direct Link To This Post Posted: 15-December-2006 at 3:14pm
Thank you I'll try the suggestion you give-
Cey
http://www.ceylandesign.com
Back to Top
Ceylan View Drop Down
Newbie
Newbie
Avatar

Joined: 03-August-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ceylan Quote  Post ReplyReply Direct Link To This Post Posted: 16-December-2006 at 10:25pm
its not working--


Edited by Ceylan - 16-December-2006 at 10:33pm
Cey
http://www.ceylandesign.com
Back to Top
Ceylan View Drop Down
Newbie
Newbie
Avatar

Joined: 03-August-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ceylan Quote  Post ReplyReply Direct Link To This Post Posted: 16-December-2006 at 10:31pm
Posted: 16 December 2006 at 10:25pm | IP Logged Quote Ceylan

netprofits wrote:

The problem is that the border is on the right side of the HTML table for the content area. So the height of that table is only as high as the content within it. For the examples above the first page doesn't have enough content to fill the whole page whereas the second page does.

Try defining the right border for the the "pcCenter" class in the pcHeaderFooter.css. That should work.



I tried defining the right border for the the "pcCenter" class in the pcHeaderFooter.css.

but I don't see any border now on right side...

http://funnyfotocards.com/productcart/pc/msg.asp?message=3

hmmm...can you help
Cey
http://www.ceylandesign.com
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 17-December-2006 at 7:03am

Hi Cey,

I guess you're not using the standard Product Cart header.asp or you've removed some of the tags. There is supposed to be a TD tag for the main content area like this: <td id="pcCenter"> which defines the style for the whole center area with a class of pcCenter. You're HTML code does not include that CSS class.

Try adding the id="pcCenter" class to this line of your header.asp file like this:
<td align="right" bgcolor="#e5e5e5" valign="top" id="pcCenter">

You really shouldn't define styles in the td tag like you have above. It is better to add those styles, i.e. background color and alignment directly to the CSS class.

Hope this helps.

NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
Ceylan View Drop Down
Newbie
Newbie
Avatar

Joined: 03-August-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ceylan Quote  Post ReplyReply Direct Link To This Post Posted: 17-December-2006 at 6:23pm
thaks a million

Thank you I will do as you sugest,

thanks for the tip on defining styles-

am a designer and new to this whole process-but I am learning
Cey
http://www.ceylandesign.com
Back to Top
Ceylan View Drop Down
Newbie
Newbie
Avatar

Joined: 03-August-2006
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ceylan Quote  Post ReplyReply Direct Link To This Post Posted: 19-December-2006 at 3:06pm
Originally posted by netprofits netprofits wrote:

Hi Cey,

Try adding the id="pcCenter" class to this line of your header.asp file like this:
<td align="right" bgcolor="#e5e5e5" valign="top" id="pcCenter">

You really shouldn't define styles in the td tag like you have above. It is better to add those styles, i.e. background color and alignment directly to the CSS class.

Hope this helps.



this worked thank you
Cey
http://www.ceylandesign.com
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.