> -----Original Message-----
> From: css-d-boun...@lists.css-discuss.org [mailto:css-d-
> boun...@lists.css-discuss.org] On Behalf Of Claude Needham
> Sent: Monday, June 28, 2010 12:24 PM
> To: CSS Discuss List
> Subject: [css-d] Is this even possible with blockquote?
> 
> On the following page I have a div floating to the left with a blockquote
> wrapping it on the right.
> 
> http://www.imag3.com/test/
> 
> Is there a way to style the blockquote and/or the floating div such that
> the left margin of the blockquote comes into play for the text along
> side the div?
> 
> If I put the h1, p, and blockquote inside another context then
> everything will behave as expected. But then I lose the word wrap
> effect.
> 
> I am thinking there is either I am overlooking an extremely easy and
> painfully obvious means of doing this, or, it isn't really possible to
> accomplish until a future version of css.
> 

I think the problem is that the blockquote box doesn't change shape.  It's 
still a rectangle.  So the margin (or padding - I tried that too) is behind the 
pink div.  It doesn't get pushed to the side with the text.  Adding a border 
makes this easy to see.  The border gets hidden behind the block, instead of 
going around it.

So I'm currently leaning toward impossible, but someone may show me up.  You 
might try googling for lists, which would also have this problem.  I know I've 
seen that discussed on this list before.

---Tim
______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
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/

Reply via email to