Justified formatting via CSS.

N

Noozer

Just wondering... Is it possible to format spans/divs so that the sum of
their widths takes 100% of the browser, dynamically...

For example. I create a DIV at 100% width. Within that DIV I have three
spans. The second span is styled so the width is 10em. I want the first and
third spans to fill the remaining space.

Basically, I'm trying to build a template for a justified form. I could do
it with tables, but I'd rather use CSS.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top