devshb
Senior Member
United Kingdom
1904 Posts |
Posted - June 27 2004 : 13:59:20
|
the category links have no class, so they just use the default link classes defined in the style sheet.
Both these functions (NavigateShowAllCategories and NavigateShowMiniCart [and NavigateShowCategories]) are in:
shopproductsubs.asp
There's a line in NavigateShowMiniCart which is creating the spurious extra space: response.write "<center><br><br>"
just change that to: response.write "<center>"
Also, some of these functions are forms, and in internet explorer the form tag forces spurious blankspace if it's done inside an html column, so the form tag needs to be taken out of the main column content and put between <tr> and <td>, eg: use: <tr> <form name=blah> <td>Your contents</td> </form> </tr>
instead of:
<tr> <td> <form name=blah> Your contents </form> </td> </tr>
to change the style of the category link list, either change the A: settings in shop.css which'll change all your link styles, or create another link style as a copy of A: and then use that in NavigateShowCategories so that it looks something like this:
if hasSubcategory ="" then mylink="<a class=""yourcatclass"" HREF=""shopdisplayproducts.asp?id=" & cid & "&cat=" & Server.URLEncode(name) & """>" & name & "</a>" else mylink="<a class=""yourcatclass"" HREF=""shopdisplaycategories.asp?id=" & cid & "&cat=" & Server.URLEncode(name) & """>" & name & "...</a>" end if
with a setting created in shop.css something like:
.yourcatclass { FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma, Verdana; TEXT-DECORATION: underline }
Simon Barnaby Developer [email protected] www.BigYellowZone.com Web Design, Online Marketing and VPASP addons
Edited by - devshb on June 27 2004 14:08:15 |
|
|