I am curious if the rules for AP’ed emements are interpreted differently when the parent element is an inline element or has a display of inline. Where is the TOP/ BOTTOM edge of the inline element calculated?
for example, I am trying to position the quotes for a block quote,which are much larger than the regular text, an I wanted to achieve a hanging indent only on the open quote. in another words I didnt want the close quote to be in the same flow as the content, just in case it was the last character before a word wrap, but i also didnt want it to be AP’ed to the blockquote tag ( to avoid the close quote tag always appearing at the right most bottom, even if there is only a few characters in the last line wrap.
I seem to ALMOST have achieved this by having the content of the blockquote wrapped in a span to which I give relative postioning, The open quote I just indented as needed… to the close quote I would give AP, and set to top:100% ; left 100%… and then make minor adjustments with margins. when put to practice the outcome seems random…
for example:
[B]HTML[/B]
<blockquote class="lft" ><span>Vampires are roumored to rather drink blood than beer.</span></blockquote>
[B]CSS[/B]
blockquote {width: 40%; font-family: Georgia, "Times New Roman", Times, serif;font-style: italic; font-size:120%; line-height:1.35; position:relative; padding-left:3em; padding-right:3em; text-indent:-2.5em}
blockquote.rt{float:right;}
blockquote.lft{float:left; left:.3em}
blockquote span{position:relative;}
blockquote:before { content: "“ ";font-size: 300%;font-weight: bold; line-height:.3; position:relative; top:.5em; color:#FE9D00;;left:.15em}
blockquote span:after {content: "”";font-size: 300%; font-weight: bold; line-height:.01;position:absolute; bottom:0; color:#FE9D00;right:0; float:none }
The positioning for this is actually acting as if the inline element had no height … and I have no idea how it’s calculating the right edge, as it is putting the quote roughly midway the width in the element?!
Visually I am trying to achive this:
[B] "[/B]Some phrase that is long enough to wrap for at least
two lines and then have the quote at the END of the
last line but not off bellow or by itself[B]"[/B]
BTW
this is an HTML side question but as long as am asking…
semantically, should the CITE tag be inside a block quote or out?
Thanks all!