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 <[email protected]> wrote:
> From: Chris <[email protected]>
> Subject: [css-d] Problem floating an image to right
> To: "css-d" <[email protected]>
> Cc: "Chris" <[email protected]>
> Date: Wednesday, 28 July, 2010, 19:59
> 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.
> It's driving me nuts as I'm sure it's some silly error in
> my code.
> Any help would be great.
> Thanks
>
> christopher
>
> URL:
>
> http://www.inno-vision.ca/ivd/services.html
> ______________________________________________________________________
> css-discuss [[email protected]]
> 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/
>
______________________________________________________________________
css-discuss [[email protected]]
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/