Re: Negative Floats
by Ben Ocean <beno(at)cnw.com>
|
Date: |
Mon, 10 Jul 2000 02:11:00 -0700 |
To: |
christopherm <christopherm(at)chartertn.net> |
Cc: |
hwg-techniques(at)mail.hwg.org |
References: |
0 |
|
todo: View
Thread,
Original
|
|
Perfect. Thanks.
BenO
At 04:22 AM 7/10/2000 -0400, you wrote:
>Hello Ben.
>
>Here is a simple example of using a negative margin. Hope it helps. Without
>the quotes of course.
>
>"<STYLE TYPE="text/css">
> BODY { margin-left: 10%; margin-right: 25%; }
> H1 { margin-left: -9%; }
> H2 { margin-left: -6%; }"
>
>Ben Ocean wrote:
>
> > Hi;
> > I read in my *Cascading Style Sheets* by O'Reilly that it's possible to
> > define a floating element with a negative margin. Unfortunately, the author
> > doesn't give an example in code for illustration. So, how's it done? I'd
> > like to float an image in a text block positioned with CSS such that the
> > image extends beyond the right margin of the text block.
> > TIA,
> > BenO
>
>_____________________________________________
>
>Christopher Menke
>ICQ # 1600546
>Member: HTML Writers Guild
>http://www.virtualis.com/vr/cmenke/index.html
>The day Microsoft makes something that doesn't suck is probably
>the day they start making vacuum cleaners.
>
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA