[css-d] Problem floating an image to right

2010-07-28 Thread Chris
I'm having a problem floating an image to the right of content. It works when I load it onto a dreamweaver template. But when I insert it into my page, it appears to be correct in dreamweaver, but when I preview or load it up to the server, it's positioned on the left, separating the content.

Re: [css-d] Problem floating an image to right

2010-07-28 Thread David Laakso
Chris wrote: I'm having a problem floating an image to the right of content. christopher URL: http://www.inno-vision.ca/ivd/services.html I think you have an invalid markup construct thingy. Validate the markup. Best, ~d PS You can't trust the Dreamweaver viewer -- or any editor's

Re: [css-d] Problem floating an image to right

2010-07-28 Thread Ed Seedhouse
On Wed, Jul 28, 2010 at 11:59 AM, Chris u24y...@gmail.com wrote: But when I insert it into my page, it appears to be correct in dreamweaver, but when I preview or load it up to the server, it's positioned on the left, separating the content. It's driving me nuts as I'm sure it's some silly

Re: [css-d] Problem floating an image to right

2010-07-28 Thread Ville Viklund
On 28.7.2010 21:59, Chris wrote: I'm having a problem floating an image to the right of content. It works when I load it onto a dreamweaver template. But when I insert it into my page, it appears to be correct in dreamweaver, but when I preview or load it up to the server, it's positioned

Re: [css-d] Problem floating an image to right

2010-07-28 Thread Chris
I always do a preview in both safari Firefox to check my changes. (Using a Mac) Then I load it up to my server and also check it on a pc to check different browsers. I also have validated and it seems to be okay. Thanks chris On 28-Jul-10, at 12:12 PM, Ed Seedhouse wrote: On Wed,

Re: [css-d] Problem floating an image to right

2010-07-28 Thread Jay Tanna
Put this code in your CSS file: .h img { display: inline; float: right; margin: 0 1em 1em 1em; padding: 10px 10px 70px 10px; background: orange; } This should sort itself out. --- On Wed, 28/7/10, Chris u24y...@gmail.com wrote: From: Chris

Re: [css-d] Problem floating an image to right

2010-07-28 Thread Chris
Thanks Ville, I knew it was something simple. Somehow I missed that when I validated Cheers Chris On 28-Jul-10, at 12:20 PM, Ville Viklund wrote: On 28.7.2010 21:59, Chris wrote: I'm having a problem floating an image to the right of content. It works when I load it onto a dreamweaver

[css-d] Image too high up

2010-07-28 Thread Lalena
Hi all, Can anyone advise me on scooting down the image on this page? URL: http://suziblade.com/rapant-mcelroy/contact_us.html Thanks! Lalena __ css-discuss [cs...@lists.css-discuss.org]

Re: [css-d] Image too high up

2010-07-28 Thread bill scheider
Hello Lelana, Increasing the height of #pageheader to 180px will contain the elements in the header and place your image below that. If you want additional space, you can change your margin-left: auto; margin-right: auto; to this: img.office { display: block; margin: 1em auto 0; ---

Re: [css-d] Image too high up

2010-07-28 Thread David Laakso
Lalena wrote: Hi all, Can anyone advise me on scooting down the image on this page? URL: http://suziblade.com/rapant-mcelroy/contact_us.html Thanks! Lalena img.office { display: block; /* margin-left: auto; delete*/ /* margin-right: auto; delete*/ margin : 200px auto 0 auto; /*add*/