fribhey Posted July 2, 2004 Posted July 2, 2004 i want to add a 1px solid color border to my product images. how would i go about adding the border code (CSS) to the PHP? this is the code: $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) i basically want to add: border-style: solid border-color: #BD734E border-width: 1px do i just need to add a new style to the style sheet and apply it to the code above? how would i insert it to the code. thanks
burt Posted July 2, 2004 Posted July 2, 2004 $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'class="border"') Then use stylesheet to set style on "border".
fribhey Posted July 2, 2004 Author Posted July 2, 2004 $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'class="border"') Then use stylesheet to set style on "border". Burt, thank you that worked.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.