Thanks, I will give it a try


From: Mert Çalışkan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 09, 2006 1:18 PM
To: MyFaces Discussion
Subject: Re: DataTable -- How to align images in a cell?

What about <f:attribute name="align" value="center" /> for columns in h:datatable?
i've used it with images with no problem (for IE).
 
Regards,
 
Mert
 
On 5/9/06, Julian Ray <[EMAIL PROTECTED]> wrote:
I know this is a little off topic but I'm having problems trying to align images in columns in IE 6 and 7. Works great for Firfox, Opera etc. but I just can't get the &$%#&#  things to center in IE
 
td.center {
    text-align: center;
}
 
works for most browsers
 
img.center {
display: block;
margin-left: auto;
margin-right: auto;
}
 
also works on everything but IE
 
If anyone has figured this out, please let me know....
 
Thanks
 

Reply via email to