Print Page | Close Window

css border falls short on some pgs

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=558
Printed Date: 06-October-2024 at 6:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: css border falls short on some pgs
Posted By: Ceylan
Subject: css border falls short on some pgs
Date 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...



Replies:
Posted By: netprofits
Date 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

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: Ceylan
Date Posted: 15-December-2006 at 3:14pm
Thank you I'll try the suggestion you give-

-------------
Cey
http://www.ceylandesign.com


Posted By: Ceylan
Date Posted: 16-December-2006 at 10:25pm
its not working--


-------------
Cey
http://www.ceylandesign.com


Posted By: Ceylan
Date Posted: 16-December-2006 at 10:31pm
Posted: 16 December 2006 at 10:25pm | IP Logged edit_post.asp?M=Q&PID=1635&TPN=1">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


Posted By: netprofits
Date 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

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: Ceylan
Date 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


Posted By: Ceylan
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net