|
Give me an idea of the content you are trying to use and what you want it to look like.
vbmike
|
|
|
|
|
any long word breaked in a table cell.
|
|
|
|
|
Just so I understand so I can experiment, you want the word within the cell to wrap when the word gets over 450 but the cell may be bigger?
vbmike
|
|
|
|
|
I did som experiments my self. If you have an width on a table or cell in a table it wont word wrap. However, if you create a paragraph in your cell it will wrap.
Strange behavior. especially when it works in chrome.
|
|
|
|
|
Well, I suppose that you will have to use paragraph tag for your text. I tried that with some text within a paragraph tag in a fixed width table and your css code above and it wraps the text at max-width specified when the table is wider regardless of browser for me. Opera, Safari, Chrome, Firefox and even IE9. I guess I am not much help, sorry. Maybe someone else can.
vbmike
|
|
|
|
|
Break word is understood by most, if not all, modern CSS3 enabled browsers. But to make it effective, use a div tag with or without an ID name, then reference that div or the div's ID with a width size, then when you use that break word to another element within the hierachy then it will do what you expect it to.
An example ... http://webdesignerwall.com/tutorials/word-wrap-force-text-to-wrap[^]
modified 1-Aug-19 21:02pm.
|
|
|
|
|
That is not more efficient than any other solution.
The only conclusion that I can draw from this matter is that:
word-wrap: break-word; will break words when it enters its containers boundery.
However, for most browsers this do not work for a table cells boundary
The boundary is set either by "width: 100px;" or by "max-width:100px" (it does of course not matter if the width is set in a css class or in the html directly)
|
|
|
|
|
I neglected to ask poster but I don't think HTML5/CSS3 is being used. I find div's way more effective than table architecture. At least once I had the ah-ha moment.
vbmike
|
|
|
|
|
They say that tables are "old hat". But I say, they still to this day serve a purpose. And CodeProject, the website you are using right now, is an example of their continued use.
But yes, you are right, div's are effective and most suitable for manipulation
From the OP's original posting, it appears he was targetting older browsers using -moz- or -ms- and so on
modified 1-Aug-19 21:02pm.
|
|
|
|
|
This dose not work. normal do not break words. look at my later answer to this question.
|
|
|
|
|
I have the same problem. 
|
|
|
|
|
I did it on the server-side instead. Not a good solution but a workaround
|
|
|
|
|
Sorry to add a comment after so long but I found this little bit on a css site and it works pretty well with your situation I would think....at least in my testing on my system. May have something to do with the hyphens settings being added...
-ms-word-break: break-all;
word-break: break-all;
word-break: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
vbmike
|
|
|
|
|
This dose not work for tables in all browser see previous discussion
|
|
|
|
|
Ok, good luck. I don't use tables for much anymore.
vbmike
|
|
|
|
|
Hello everyone,
i'm facing this issue in crystal report my web site is deployed on server and i'm accessing it on another system
Crystal Reports ActiveX Designer error '80043ae3'
Invalid TLV record.
please provide me necessary component for this issue.
Thanks
|
|
|
|
|
In my country, we use our own social networks, the best one of them is Zing Me, this social network allows me to log in with a Facebook account, a Yahoo account, a Twitter account, a Google+ account. I wonder how this can be done?
Could you please explain to me the mechanism or give me some helpful link for this?
Your help would be highly appreciated!
Thanks!
PS: In fact, it guides me through some steps for creating new account based on the personal information which is fetched from the outside network (E.g: Facebook). And this is the secret thing I want to know, how can it fetch information of a user from an outside network?
modified 23-Nov-12 7:50am.
|
|
|
|
|
|
Thank you, what about others (beside Google)? They must also have their own APIs?
|
|
|
|
|
Why not Google it? Go and read up about their APIs. They are well documented and in the public domain.
|
|
|
|
|
It's a OAuth - open standard for authorization, for details en.wikipedia.org/wiki/OAuth
|
|
|
|
|
Hi there. I working few years on programing desktop applications through vb.net.Now,I have exigency to start with learning of web development,so I need to know which language is:
1.easiest to learning
2.represented in most popular sites in the world
3.useful
I need some reasoned response from you.
Thanks in advance.
|
|
|
|
|
You can use VB.NET in website development; take a look at ASP.NET[^].
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
I think, it's PHP. very easy to learn and implimentation.
|
|
|
|
|
I think a social network differs from a normal web site in its functionalities, not in the techniques used to build it, right? It is just a database-oriented web application like others. Or is there anything else I don't know about social network? Could you please let me know if there is anything else I don't mention here?
I intend to build a social network for my own (just for fun) but don't know where to start, I think I should draft all the functionalities or at least the most essential ones a social network should have first and then build each one. Could you list all the functionalities a web application should have to be called a social network? (this is important to me before I can start my work).
I also want some source code to refer to as a sample. If possible, could you please give me some link to download the source code (written in PHP please) for a social network?
Your help would be highly appreciated!
Thanks!
|
|
|
|