Re: [css-d] aligning text in floated div

2005-06-21 Thread Holly Bergevin
From: Marty Martin <[EMAIL PROTECTED]> >If you will look at this page though, you will see that the Category >Title is not center aligned: http://new.icn.net/hub/categoryGallery.cfm > I need the text to be center aligned! :) Try - div.category p { width: 99.9%; text-align: center; } hth, ~

RE: [css-d] aligning text in floated div

2005-06-20 Thread Pringle, Ron
Category Title .category { float: left; padding: 0 20px 20px 0; width: 150px; } .category h2, .category h3, .category p { text-align: center; } .category img { margin: 0 auto; } Marty- I would suggest marking up your code a bit more semantically instead of usin

[css-d] aligning text in floated div

2005-06-20 Thread Marty Martin
I have a set of s that look like this: src="#request.images#/sample_products/watch_thumb.jpg" width="100" height="105" alt="PRODUCT TITLE SHOULD GO HERE" border="0" /> Category Title The