Forum Moderators: not2easy
I've created an image gallery with a 1px border and 5px padding around each thumbnail. Works fine in Safari but IE6 doesn't see the padding:5px; style. So, the border is right up against the image.
I've tried using an external style sheet and inline styles:
<img style="padding:5px;border:1px solid #cccccc;" src="'.$thumb_path.$row->thumb.'">
...doesn't work? Any ideas are appreciated! TIA
Also you could try hspace and vspace? but I've not tried combining these with css.
Warning - I am no CSS guru either :)
By the way - In most cases CSS works fine - it's IE that doesn't.
this is one of those instances where I realize I probably won't become a CSS zealot because of the inconsistency from one browser (and version) to the next. In this case, Safari and IE5 on Mac were too "forgiving" by allowing me to do something I should be able to do.