Re: [css-d] strange results on form in Opera

2009-11-11 Thread David Laakso
Kathleen R Dery wrote: > Oh, thank you! David, I was worried about Google. Yes, I did a > workaround. I guess I can shorten the lines of the content info. Not > sure I should design for IE 5.5 which won't render my left-floated > content. I am seeing that 5.5 is not in the browser statistic

Re: [css-d] why does Firefox add padding?

2009-11-11 Thread Alan Gresley
Philippe Wittenbergh wrote: Re: > On Nov 10, 2009, at 4:51 AM, Climis, Tim wrote: > >> The extra padding is coming from the rule in line 122 >> >> .sidebar-item h3, p, a { >> padding: 3px 19px; >> } >> >> The link is getting some height that floats over

Re: [css-d] why does Firefox add padding?

2009-11-11 Thread Philippe Wittenbergh
On Nov 10, 2009, at 10:29 PM, Alan Gresley wrote: > On the surfaces that may be true but the image is escaping the > anchor (by being floated?) which is showing some mysterious padding > in Gecko 1.9 and Opera 10 and IE8. > > > > > .content-item a { >

Re: [css-d] strange results on form in Opera

2009-11-11 Thread David Hucklesby
Kathleen R Dery wrote: > Hi, > > Can anyone tell me of a fix for Opera's rendering of my form? In > Firefox, everything lines up, but in Opera, all the form fields at > the top are askew. > > http://198.189.180.32/ma-ftp/media-arts/DMA_C111/dery/site/feedback_6.html > > > Odd. The form look

[css-d] CSS3 content attribute for page

2009-11-11 Thread Massimo Ugues
Hallo all. I'm using CSS3 for pagination in print mode as described in the tutorial. @page { @bottom-center { content: "Page " counter(page) " of " counter (pages); } } This works fine but I would like to extract the text content from the css and put it in a div in the html page: somethin

Re: [css-d] Is there a simple way to center in an iframe?

2009-11-11 Thread Brian Hazelton
maybe if it is the only thing in the iframe he can just set it to block as well, if there are other elements in the iframe it could prove problematic doing it that way though. __ css-discuss [cs...@lists.css-discuss.org] http://w

Re: [css-d] Is there a simple way to center in an iframe?

2009-11-11 Thread Jorge Rumoroso
You have to apply that rule (text-align: center) in the element that contains the images. Where are you inserting it in the iframe? I suppose that your are doing it in the body, so you have to apply the rule to that: body {text-align: center}. margin:auto only works with block elements, so it does

Re: [css-d] Is there a simple way to center in an iframe?

2009-11-11 Thread david
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 yo

Re: [css-d] Is there a simple way to center in an iframe?

2009-11-11 Thread Brian Hazelton
I have never done this but I wonder if using position:relative and margin:0 auto; together would make it center. It is worth a try. __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d Lis

[css-d] Is there a simple way to center in an iframe?

2009-11-11 Thread Michael Newberry
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. Thanks, Michael _