RE: [WSG] Wrapping text around images in a style .. possible?

2004-02-07 Thread standards


One solution is to make the bg show at the top left using
Background-position: top left;

This doesn't make the following lines show directly under the image
though.
To do this you can float the image left like this:


 This is h1 with a longer headline, so the text wraps onto a second
or perhaps even a third line, as would be the case in a big magazine
article heading

css:

img.floatleft {float: left;}

That should do the trick


Flemming Hoffmeyer
[EMAIL PROTECTED]

Smartpage webdesign
www.smartpage.dk


Michael Kear wrote:
>I'm using a small image in a style, and want to wrap the text around
the
>image when it overflows on to a second line.  Is this possible? 

>Here's an illustration of what I'm trying to do - the existing style
and a
>mockup .gif image of what I'm trying to get to:


>http://64.191.54.240/btcmsa/stylingexp.cfm

>Cheers
>Mike Kear
>Windsor, NSW, Australia
>AFP Webworks
>http://afpwebworks.com




>*
>The discussion list for http://webstandardsgroup.org/
>* 



*
The discussion list for http://webstandardsgroup.org/
* 



Re: [WSG] Wrapping text around images in a style .. possible?

2004-02-07 Thread StBlanz

Hello Mike,

>http://64.191.54.240/btcmsa/stylingexp.cfm

I think, thre is missing background-position:top; in your css. Then it should  keep 
all lines 'in distance'.
If you want to wrap the text only in those lines having in summary the height of the 
image, the headline has to float:

http://www.blanzelot.de
*
The discussion list for http://webstandardsgroup.org/
*