PDA

View Full Version : " Align" HTML questions


len backus
08-28-2008, 03:35 PM
I have a table with three <td>. I want these 3 elements to be centered, but the middle element is a <div> unit and in that one I want the contents to be left aligned. I can only get everything centered.

How can I get only the <div> contents aligned left.

Spank
08-28-2008, 03:50 PM
Have you tried <div align="left"> ?

Digital Jedi
08-28-2008, 04:28 PM
Wasn't align deprecated for DIV contents? I believe you have to use <div style="text-align:left;">

Spank
08-28-2008, 04:38 PM
You're probably right, I'm old school =P