Michael Newberry wrote:

> I'm pasting images into an iframe using a simple click on a link. The image 
> always appears at the 0,0 scroll position inside the iframe. Is there a 
> simple css way to center it? I've tried using  text-align:center.

Hmm, I think your CSS has to be in the HTML file you're pulling into the 
iframe? So I'd think a "margin: auto" would center it, yes? The 
"text-align: center" as applied to images is only an IE6 bug, I think.

-- 
David
gn...@hawaii.rr.com
authenticity, honesty, community
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to