View Single Post
  #6  
Old 10-27-2009, 11:59 AM
  Hyperdelicious's Avatar 
Hyperdelicious Hyperdelicious is offline
 

Senior Member
  
Join Date: Sep 2002
Location: In the Middle of Nowhere
Posts: 138
 

Default Re: Category Description image not displaying properly

Quote:
The bit of code you posted does not look like it is from the original file as it has "style="display:block;" as part of the .tpl instead of adding it to the "subcat-desc" style in the stylesheet.

I added the DIV w/id=subcat... I was attempting to encapsulate the P tag that holds $current_category.description (the category description)... hoping to contain the description and image(s) inside a block style DIV... without luck.

Quote:
Anyway, look for the style associated with what you are working on in main.css

I have located main.css... and tried applying my changes there to class .subcategory-descr... again without luck.

Could the issue be related to the use of a WYSIWYG text editor... I checked the source code and there seems to be an extra code in there and the image is defined as input???
Here's a sample of what the browsers page source is displaying:

Code:
<p class="subcategory-descr"></p><p> <input alt="Bike " src="http://www.mybikesite.com/en/files/header-pics/road-bikes.jpg" type="image" vspace="8" width="225" align="left" height="201" hspace="8">Road bike plays to your strengths whether you▓re a short-run sprinter, a climbing specialist or a long-haul time trialist. If road racing is your game, you won▓t find anything better for all-around speed than our road bikes.</p>

note: the category description wasn't even placed inside the designated paragraph tag???
Reply With Quote