View Single Post
  #13  
Old 07-17-2010, 11:44 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Right border not displaying on subcategory image

You would probably have to look at the exact differences to narrow in on the different behavior.

The link you originally published, if I remember correctly, was an image inside an href inside a span, with the span and the image being sized by the same smarty variable, leaving no room for the border you added. If the image you are comparing to is a div inside a div, that is a little different.

Probably - the href is not allowed to expand outside the containing div, so the border does not show. But the div inside the containing div is probably allowed to expand. You'd have to experiment a bit to see if that is the case. This is the kind of css that sometimes has differences across browsers too. Best just to leave room for the border with the containing div. (It might be worth reporting to QT as a minor bug. They probably won't see it as a bug, but at least will be aware of it. I don't think there is any reason to have the spacing so tight and it would be easy just to add a few pixels to avoid any confusion.)
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote