Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > CSS > CSS Cascading Style Sheets
|
CSS Cascading Style Sheets All issues relating to Cascading Style Sheets (CSS).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the CSS Cascading Style Sheets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 3rd, 2006, 09:05 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

BTW, meow is every bit the expert on this topic that I am. ;) You are in good hands with him/her (which is it anyway?)

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html
 
Old August 3rd, 2006, 02:58 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Thank you, but that's not totally true. I'd say my crystal ball is as good as anyone's though.;)

Quote:
quote:Originally posted by richard.york
(which is it anyway?)
I'm neutered.


--
http://yupapa.com
 
Old August 3rd, 2006, 07:01 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

You're being too modest. :)

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html
 
Old August 3rd, 2006, 07:56 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

Hello all - I feel privelleged getting assistance from all three contributing members, thanking you all!!!

I am going to attempt to get a version in the public domain. For the mean time I have uploaded a screen shot to illustrate what I am looking at:
http://www.framegroup.com.au/frameNetFTP/
UN = test.user
PW = test

;;;Words with hyphens will always wrap on the hyphen
This is 'part' of my problem, a very useful thing to know - thanking you!!

Before I take up anybodys time with the rendered HTML. I think I will strip the page back and go through the time consumng process of working from the top down taking into account all of what has been said. Since no change has been suggested to the style - Logic tells me the words must be wrapping as a result of lazy, or a small error in some basic HTML, a cells below the problematic cell may even be causing it, etc....

Thank you all



Wind is your friend
Matt
 
Old August 3rd, 2006, 10:19 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Quote:
quote:Originally posted by richard.york
 You're being too modest. :)
Humility comes with the neutering.

--
http://yupapa.com
 
Old August 4th, 2006, 07:20 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Quote:
quote:Originally posted by meow
Humility comes with the neutering.
Sure. It'll also raise your voice a few octaves.

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html
 
Old August 4th, 2006, 07:26 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

You might also try an entity in place of a hyphen. Don't know if a browser will treat an entity the same way.

I think it's ‐, but check here to be sure: http://www.bbsinc.com/iso8859.html

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html
 
Old August 4th, 2006, 06:33 PM
Authorized User
 
Join Date: Jan 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just a quick observation: when meow suggested using  , the initial poster replied they didn't want the database entries to include  . There would probably be a workaround available, in the scripts used to get the data out, that would convert a space into a   for the purpose of inclusion in the HTML. By no means am I an expert, but I would have thought you should be able to do that.

 
Old August 5th, 2006, 07:01 PM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Ok, I just finally properly perused your screenshot.

What happens when you apply white-space: nowrap; to those cells? Do you not get the desired effect? If it were me, I'd apply that and adjust the height to accomodate any clipping that may occur. Did you try that, and what results did you see?

I've actually never experimented with the writing-mode property, or that aspect of the filter property, so I don't know what would happen with the white-space: nowrap; declaration, but I imagine it would work the same way. That requires standards rendering mode to be invoked, BTW. It will not work in quirks mode in Explorer.

Then again, this looks like a side-effect of using a tool that's intended to be used for rendering languages which are naturally read vertically. That seems evident in seeing wrapping where you wouldn't think it would occur. I assume you aren't using any hard breaks to force a break anywhere in there.

Also, if you're using images for hacking the table into submission where width and height are conserned, you may also experiment with the table-layout property. It is used to force a table to honor explicitly defined constraints, thus eliminating any need for transparent images. Er, but then again, I think that is just for width, and even applying that height is still subject to the same quirky expand-to-fit sizing. But you might try it anyway. You apply the table-layout: fixed; declaration to the <table> itself.

HTH!

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html
 
Old August 8th, 2006, 06:42 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

After strpping my page back outputting the problematic row (which happens to be the top row) I do not get the wrapping. Instead of me going through a very time consuming code n run code n run .... routine I wiah to ask about storing &nbsp; in the database (SQL Server 2000)
The advice I seek:

An SQL statement will not like the semi colon?
In the opinions of the experts here would it be prudent to store a char of some sort (any reccomendations?) using the replace function to replace any spaces with this char on insert of the problematic base name acronym? Then replace the char with a &nbsp; when the page is rendered?

TYIA

BTW: If this post has turned into one that should be in the SQL or ASP area my applogies


Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrap Text sams ASP.NET 1.0 and 1.1 Professional 0 September 20th, 2007 02:12 AM
Text wrap in Datalist helix24 ASP.NET 2.0 Basics 0 May 12th, 2006 07:45 PM
how does one get vertical text in HTML? lcsgeek Classic ASP Professional 3 September 9th, 2004 08:47 PM
Wrap text with merged cells aspadda Excel VBA 4 January 29th, 2004 03:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.