l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2006 Dec 14 15:11

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] CSS - positioning two elements in same <td> container
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] CSS - positioning two elements in same <td> container

There are various ways to do this, but more than just CSS will be
needed.  The old-fashioned way would be to define another table inside
the cell; otherwise perhaps a couple of <div>'s.  Specifics will
depend on whether the cell's dimensions are to be driven by its
content, or if they are set externally to the cell.


On Monday 11 December 2006 21:44, p@dirac.org wrote:
> Suppose I have a table cell:
>    <table>
>    <tr><td></td></tr>
>    </table>
> and I wanted to typeset "foo" and "bar" in the cell.  I want foo to be
> normal size but bar to be small font.   The cell should look like:
> |-----------|
> |           |
> |           |
> |    foo    |
> |           |
> |bar        |
> |-----------|
> What would the CSS look like?
> Thanks!
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.