Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
Susann
Newbie
Newbie



Joined: Jan 04, 2007
Posts: 61
Location: Germany

PostPosted: Sun Apr 01, 2007 4:07 pm Reply with quote

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 ?
 
View user's profile Send private message Visit poster's website
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Sun Apr 01, 2007 6:08 pm Reply with quote

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 
View user's profile Send private message Visit poster's website
Susann
Newbie
Newbie



Joined: Jan 04, 2007
Posts: 61
Location: Germany

PostPosted: Sun Apr 01, 2007 6:54 pm Reply with quote

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.
 
View user's profile Send private message Visit poster's website
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Sun Apr 01, 2007 7:02 pm Reply with quote

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... Sad
 
View user's profile Send private message Visit poster's website
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 397

PostPosted: Tue Apr 03, 2007 7:07 pm Reply with quote

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.
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1399

PostPosted: Tue Apr 03, 2007 8:24 pm Reply with quote

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.
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 4 Hours
 
Forums ©
linear-bunch