From: Carsten <car...@ya...> - 2003-01-06 15:04:26
|
Hi Ted, I think for proper validation it goes like this: HTML::td(array("nowrap" =3D> "nowrap"), $text); <td nowrap=3D"nowrap"></td> Looks a little odd but but if I remember correctly all XHTML attributes=20= must have a value. Cheers, Carsten On Monday, January 6, 2003, at 03:36 am, Ted Vinke wrote: > I've been trying to put in a cell the NOWRAP attribute. So far I've=20 > only been succesfull, with: > =A0 > HTML::td(array("nowrap" =3D> 0), $text); > =A0 > Any other things such as array("nowrap") or array("nowrap" =3D> "")=20 > don't really work, because the NOWRAP attribute is skipped then. The=20= > first solution that does work, produces bad HTML like <td=20 > nowrap=3D"0"></td>. > =A0 > Is there any other way to use nowrap or do I have to use my first=20 > solution, which probably isn't HTML4 compliant? > =A0 > Regards, > Ted |