> Could you explain what the content is going to be? There are multiple
solutions for this problem without tables, but to select the right one,
we (I) need to know what kind of data is going to be in there.
Hi Anne, it's actually going to be used for part of an HTML copy of my
Curriculum Vitae (resume). I'd like to have a heading (e.g. Languages) and
then a body of text following (e.g. Java, HTML, SQL etc.). The body of text
is only 2-4 lines of text but it's important that it doesn't wrap beneath
the heading.
I've had some mixed success, for example:
<p>Languages<sp an style="left: 150px; position: absolute">Java, JSP,
Servlets and JavaBeans; HTML, CSS, DOM and JavaScript; XML, DTD, XSLT and
X-Schema; SQL, PL-SQL and Oracle XSQL; UML.</span></p>
This almost works but I can't align the first word ('Languages') to the
right (refer to the table mockup for an example).
I also experimented with DIV layers:
<div style="position : absolute; text-align: right; width:
150px"><p>Langu ages</p></div>
<div style="position : absolute; left: 170px"><p>Java, JSP, Servlets and
JavaBeans; HTML, CSS, DOM and JavaScript; XML, DTD, XSLT and X-Schema; SQL,
PL-SQL and Oracle XSQL; UML.</p></div>
However, when I added more DIV layers (i.e. for another heading and body of
text) it overlapped the first heading and body of text. I suppose I could
offset the subsequent layers but I'd like a more fluid design which would
stand up to fonts being resized etc. and would be suitable for print and
screen.