oldworldcharms Posted November 24, 2004 Posted November 24, 2004 I wanted to have more than one stylesheet. For example I would like to have one for the images but want to somehow rename from img to thumbimg so I can put a black border around each item image and not all other images like left corner/ right corner and logo ect. First I need to know how to my product image reference changed from img to thumbimg On each page there is a reference to: CODE <link rel="stylesheet" type="text/css" href="stylesheet.css"> Where would i add the code to reference the new stylesheet> <link href="stylesheet" type="text/css""/path to thumb.css"> Next I woulld like to create a table or a thumblock so there is space between the picture and the description of the item so the text does not run into the thumbimage. .thumcells { background-color: #FFFFFF; padding: 10px; } I am new to this. I appreciate your help Thanks
FIMBLE Posted November 24, 2004 Posted November 24, 2004 I wanted to have more than one stylesheet. For example I would like to have one for the images but want to somehow rename from img to thumbimg so I can put a black border around each item image and not all other images like left corner/ right corner and logo ect. First I need to know how to my product image reference changed from img to thumbimg On each page there is a reference to: CODE <link rel="stylesheet" type="text/css" href="stylesheet.css"> Where would i add the code to reference the new stylesheet> <link href="stylesheet" type="text/css""/path to thumb.css"> Next I woulld like to create a table or a thumblock so there is space between the picture and the description of the item so the text does not run into the thumbimage. .thumcells { background-color: #FFFFFF; padding: 10px; } I am new to this. I appreciate your help Thanks <{POST_SNAPBACK}> Why dont you place html like <img src="blah blah.jpg" alt text ="blahblah" border="1 Tho if a link it will show up blue and not black, maybe it wil save you time. Hope it helps Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
berkedam Posted November 24, 2004 Posted November 24, 2004 Open stylesheet.css add this: .productInfoThumbnail {border: #000000 1px solid;} in product_info.php (or all other files that need yr mod) add class: SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5" class="productInfoThumbnail" ') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); "If you're working on something new, then you are necessarily an amateur."
oldworldcharms Posted November 24, 2004 Author Posted November 24, 2004 Thank you, this worked on the items page image but it was my fault I was not more specific. So I would appreciate a little more help. Here is my item pageitemes page There are also smaller images at the bottom that I would like to have a black border around. I would also like to do the same thing on my catagory imagesCategory page images I also needed this on my homepage new items images Thanks Elizabeth Open stylesheet.css add this: .productInfoThumbnail {border: #000000 1px solid;} in product_info.php (or all other files that need yr mod) add class: SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5" class="productInfoThumbnail" ') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); <{POST_SNAPBACK}>
berkedam Posted November 25, 2004 Posted November 25, 2004 Thank you, this worked on the items page image .... <{POST_SNAPBACK}> Your index.php is down, can't see what happens, no border visisble on the link you gave. "If you're working on something new, then you are necessarily an amateur."
oldworldcharms Posted November 26, 2004 Author Posted November 26, 2004 The border is there now. I had to go backward on the product_info. php page and of course that is when you looked lol, anyway it is back up. I would like to get the small images (extra images)Items Page items page, pictures on the Catagories pagescatagories pages and the images on under new items My Webpage all to have a 1px border thanks Your index.php is down, can't see what happens, no border visisble on the link you gave. <{POST_SNAPBACK}>
oldworldcharms Posted November 30, 2004 Author Posted November 30, 2004 I am still trying to figure out how to get a border around the other images on my website. New Items on catalog index page and the images on the catagories page. Any one know how this can be done? Thanks Elizabeth The border is there now. I had to go backward on the product_info. php page and of course that is when you looked lol, anyway it is back up. I would like to get the small images (extra images)Items Page items page, pictures on the Catagories pagescatagories pages and the images on under new items My Webpage all to have a 1px border thanks <{POST_SNAPBACK}>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.