Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
"nowrap" for Edit and Delete in Admin Tables
-
- Rank: Softmore
- Registered: Dec 21, 2004
- Last visit: Oct 21, 2009
- Posts: 110
This isn't a big deal, but hey, small things bother me. There is one thing that I noticed in PostNuke that looks a bit sloppy, this is in several of the admin tables where you have the option to edit or delete a story. What happens is you'll get the opening bracket and "Edit" on one line, then maybe "Delete" or the closing bracket on a second line. It isn't a big deal, but all that needs to be done to fix it is to add "nowrap" to the td element (which is what I've done). If you want specifics I can try to find the mods I've made and post them, but if you know the code, which I don't, these things shouldn't be too hard to find. -
- Rank: Freshman
- Registered: Apr 06, 2005
- Last visit: Feb 27, 2010
- Posts: 59
alarconcepts
See, the nowrap tag is deprecated ...
And what would you use instead?
Code
<td style="white-space: nowrap;">
maybe? Thats not depricated is it?
http://www.w3schools…ext_white-space.asp -
- Rank: Softmore
- Registered: Dec 21, 2004
- Last visit: Oct 21, 2009
- Posts: 110
I would think, if nowrap is deprecated, it must have been replaced with something hopefully relatively simple, and whatever that is is what should be used. -
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2330
autoresponse
alarconcepts
See, the nowrap tag is deprecated ...
And what would you use instead?
Code
<td style="white-space: nowrap;">
maybe? Thats not depricated is it?
http://www.w3schools…ext_white-space.asp
Though I can't comment with any authority on it, I'm under the impression that all nowrap is deprecated.
If tables must be relied upon for layout (and we do know they shouldn't!) we could just create a row somewhere near the bottom of the table and insert a spacer.gif (with complete markup of course!) to hold open a column to it's desired width. The borders could be hidden a la the CSS border property for those's. You could also use the CSS width property for the , but I'm not sure how x-browser that really is. -
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2330
Drek
I would think, if nowrap is deprecated, it must have been replaced with something hopefully relatively simple, and whatever that is is what should be used.
Not necessarily the case, I don't think. After all, the font tag is deprecated in favor of proper methods, but without a comparable new tag being added. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Aug 05, 2005
- Posts: 36
It is the HTML tag <nowrap> that has been depriciated. The CSS nowrap is the way to go. Unless of course you don't want to do anything to change the formatting error. ;)
Jim</nowrap> -
- Rank: Developer
- Registered: Feb 23, 2005
- Last visit: May 09, 2010
- Posts: 399
Jim and AR are correct, CSS nowrap is the way to go and thanks to AR for putting that in. Reading though these forums, its interesting to note how many people post solutions to small problems like this as apposed to just posting withoutout even attempting to offer alternatives. In the end it's always those little bits of code and how to's that have helped to get Postnuke, and Open Source in general, this far.
- Moderated by:
- Support
