Ole said:
Hi,
is it possible with HTML to show a "stretched" font? I want a
parenthesis "(" resp. ")" to have the full height of a table cell.
See
http://olebole.lima-city.de/aa.html for an example.
Regards,
No not automatically. What you could do is make their font size X * the
rows that they span, but it will make them bigger not stretched.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"
http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta http-equiv="content-language" content="en-us">
<title>template</title>
<style type="text/css">
/* set line height to consistant 1 for formulas */
table.formula { border-collapse: collapse; line-height: 1; }
/* set font size #x rows to span for parenthesis */
td.span3 { font-size: 3em; }
</style>
</head>
<body>
<table class="formula">
<tr><td></td><td rowspan="3" class="span3">(</td><td></td><td>A + b + c
+ d</td><td rowspan="3" class="span3">)</td></tr>
<tr><td>x=exp</td><td>1-</td><td><hr></td></tr>
<tr><td></td><td></td><td>D + e + f + g</td></tr>
</table>
</body>
</html>
Other option use images and stretch the height attribute. Then again
this seems to be the case for MathML. Good luck with IE. Explains what
so many site with formulas presented as images!