| Author |
Message |
Susann
Newbie


Joined: Jan 04, 2007
Posts: 61
Location: Germany
|
Posted:
Sun Apr 01, 2007 4:07 pm |
|
td nowrap or nobr is used in many blocks e.g. in Nuke Work Board.
Nobr is not approved by W3C ...
What would be the best way to replace nobr within the work board ?
And what about other blocks with nobr ? Is CSS the only solution ? |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1294
|
Posted:
Sun Apr 01, 2007 6:08 pm |
|
To be honest, in the Work Board block you see on the front of my site, I just removed the NOBR tags altogether. For me, they are not meaningful. I prefer my tables to be top aligned in terms of the text and allow for wrapping.
Yes, if you really want the nowrap, try either:
nowrap="nowrap"
or
use CSS white-space: nowrap |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
Susann
Newbie


Joined: Jan 04, 2007
Posts: 61
Location: Germany
|
Posted:
Sun Apr 01, 2007 6:54 pm |
|
You are right. In the work board is a flood of nobr and I removed the most of them. I had only an issue with the progress bar and thought I need to use there CSS or whatever but nowrap="nowrap" works indeed and my start page is now W3C valid. |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1294
|
Posted:
Sun Apr 01, 2007 7:02 pm |
|
Very cool! BTW, I have everything but BBtoNuke, NSN GR Downloads and NSN Projects complete now RE XHTML compliant. I am working on NSN GR Downloads right now and I am going to remove NSN Projects and in its place I am going to write a block and module for pulling the data from Mantis instead. I will, of course, make sure it is compliant. Then, the only thing left to tackle will be the BBtoNuke stuff...  |
| |
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 383
|
Posted:
Tue Apr 03, 2007 7:07 pm |
|
I know its off-topic but if you were to write a module / block to get data from Mantis does this mean that if there were changes to the Mantis DB structure you would have to keep pace (depending on 'their' changes of course.
Sorry, I just had to ask. |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1294
|
Posted:
Tue Apr 03, 2007 8:24 pm |
|
My plans are very simple and their data model is also just as simple, so I don't suspect much differences between releases, but, yes, I would still have to keep watch over that.
I am actually planning on diving into either writing a web service (very loosely defined - lol)
But, afraid to say, not even sure that I would release it to the public.... we'll see. |
| |
|
|
 |
|
|