Re: CSS and XHTML
| От | Michael Glaesemann |
|---|---|
| Тема | Re: CSS and XHTML |
| Дата | |
| Msg-id | A020EF54-13AE-11D8-A2E4-0005029FC1A7@myrealbox.com обсуждение исходный текст |
| Ответ на | Re: CSS and XHTML ("Dave Page" <dpage@vale-housing.co.uk>) |
| Список | pgsql-www |
On Tuesday, November 11, 2003, at 03:07 AM, Dave Page wrote:
> patches for the new code to get it up to xhtml strict if you like
> (though
> I have to wonder if we would have to use transitional - for example,
> iirc
> there is no nowrap in strict).
Your right: no nowrap in Strict. However, you can set nowrap to
elements using css, I believe.
<style type="text/css">
<!--
.nowrap { white-space:nowrap; }
-->
</style>
<table>
<tr><td>This cell should wrap normally.</td> <td class="nowrap">This
cell won't wrap (or warp, for that matter) no matter how much text you
put it it.</td></tr>
</table>
.nowrap works in <table>, <tr>, and <td> tags.
В списке pgsql-www по дате отправления: