This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > October 2005 > horizontal alignment of divs, one being variable width





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author horizontal alignment of divs, one being variable width
Haines Brown

2005-10-06, 6:39 pm

I have a fixed width page that has a division with a brief centered
line of text that is defined as font-family: sans-serif. It is the
widest element on the page.

There is a second division that holds a small element that I would like
to align below the beginning of the brief line of text in the first
division:

xxxxxxxxxxxxxxxxx
...
...
xxx

While I can position the second so that it is aligned on my browser,
the end user's browser and settings are likely to affect the length of
the brief line of text and so throw off the alignment.

--

Haines Brown
KB1GRM
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews