Previous Message
Next Message

Align different size text lines

Sent by Dave Goodchild on 1 June 2006 09:09


On 01/06/06, Mark Batty [EMAIL-REMOVED]> wrote:
>
> Hi all
>
> I have two lines of text (as part of a logo) that are different sizes and
> I
> want them to align perfectly on the left.  I've tried text-align but that
> doesn't seem to work to well when the lines are different text sizes.
>
> I can achieve this using an estimated negative margin and it seems OK when
> text is resized, but is there a better way to achieve this
> effect?  Example
> is here ...
>
> html:
> http://public.softectra.com/dev/lang/markup/css/cssd/010606_1/index.html
> css:
> http://public.softectra.com/dev/lang/markup/css/cssd/010606_1/screen.css
>
> Thanks.
>
> Mark.
>
>
> ______________________________________________________________________



Try enclosing the text in paragraphs - at present the text is contained in
anonymous lines boxes and cannot be styled.




-- 
http://www.web-buddha.co.uk

dynamic web programming from Reigate, Surrey UK (php, mysql, xhtml, css)

look out for project karma, our new venture, coming soon!
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: