Is it possible to align by text

Recently I had a situation where I wanted to align the right hand side of
the text with the right hand border of a DIV. The width of the H1 was 100%
and I wanted it to extend all the way out of view, so couldn't use the right
hand border of the H1 for alignment.

You can see the (unfinished) example at beingmrkenny.co.uk/portfolio -- the
H1 in question is the text "PORTFOLIO" currently in purple and yellow at the
top of the page.

The text in that H1 will vary in length, but I'd like to align it by the
right edge. Obviously there's nothing in the spec at the moment, but I was
wondering if this would be possible / considered for the future, or if
there's a way of doing it currently that I'm not aware of.

Cheers,

Mark


--
Mark Kenny
beingmrkenny.co.uk
@beingmrkenny

Received on Friday, 29 April 2011 12:15:50 UTC