Re: [WSG] long words not wrapping inside DIV
Hi, Try using the whitespace property -Sagnik On Feb 19, 2008 12:58 PM, [EMAIL PROTECTED] wrote: Its not helping rajib. The text is bigger than the div width. The div is 150px width and the text width is coming around 190px.What I need to do for wrapping the text? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rajib Mukherji Sent: Tuesday, February 19, 2008 12:44 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] long words not wrapping inside DIV Hi, Naveen, You can try using the overflow:none; as an attribute within your DIV where are declaring menu width. Hope this helps. Each single word must be less than your defined width(150px). Thanks Rajib --- [EMAIL PROTECTED] wrote: HI ... I have a dropdown menu with a width of 150px. while localization some texts are too long and it is not wrapping inside the DIV and going outside the div. Is there any way to wrap long words. I don't want to use scrollbars in the div and I can't increase the width of the DIV. Pls help.. Thanks a ton in advance.. Naveen Bhaskar Menon *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** -- :: Sagnik :: *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE: [WSG] long words not wrapping inside DIV
Can you send me the portion of the div that's creating the problem as by defaults words wrap once they get blank space between words , another alternative is to declare style=overflow:hidden as inline style inside the Menu div. Thanks Rajib --- [EMAIL PROTECTED] wrote: Its not helping rajib. The text is bigger than the div width. The div is 150px width and the text width is coming around 190px.What I need to do for wrapping the text? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rajib Mukherji Sent: Tuesday, February 19, 2008 12:44 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] long words not wrapping inside DIV Hi, Naveen, You can try using the overflow:none; as an attribute within your DIV where are declaring menu width. Hope this helps. Each single word must be less than your defined width(150px). Thanks Rajib --- [EMAIL PROTECTED] wrote: HI ... I have a dropdown menu with a width of 150px. while localization some texts are too long and it is not wrapping inside the DIV and going outside the div. Is there any way to wrap long words. I don't want to use scrollbars in the div and I can't increase the width of the DIV. Pls help.. Thanks a ton in advance.. Naveen Bhaskar Menon *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE: [WSG] long words not wrapping inside DIV
On Behalf Of [EMAIL PROTECTED] Sent: Monday, February 18, 2008 10:23 PM I have a dropdown menu with a width of 150px. while localization some texts are too long and it is not wrapping inside the DIV and going outside the div. Is there any way to wrap long words. I dont want to use scrollbars in the div and I cant increase the width of the DIV. As Thomas suggested, you can use word-wrap: break-word; but that won't work in all browsers. Another thing you can try is to somehow plug a wbr / element within these long words to create a soft break. It's uggly, but it works... -- Regards, Thierry | http://www.TJKDesign.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
[WSG] long words not wrapping inside DIV
HI ... I have a dropdown menu with a width of 150px. while localization some texts are too long and it is not wrapping inside the DIV and going outside the div. Is there any way to wrap long words. I don't want to use scrollbars in the div and I can't increase the width of the DIV. Pls help.. Thanks a ton in advance.. Naveen Bhaskar Menon *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] long words not wrapping inside DIV
Hi, Naveen, You can try using the overflow:none; as an attribute within your DIV where are declaring menu width. Hope this helps. Each single word must be less than your defined width(150px). Thanks Rajib --- [EMAIL PROTECTED] wrote: HI ... I have a dropdown menu with a width of 150px. while localization some texts are too long and it is not wrapping inside the DIV and going outside the div. Is there any way to wrap long words. I don't want to use scrollbars in the div and I can't increase the width of the DIV. Pls help.. Thanks a ton in advance.. Naveen Bhaskar Menon *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] long words not wrapping inside DIV
As far as I know, control of how text wrap was introduced in CSS3: http://www.w3.org/TR/css3-text/#text-wrap All though, IE has it's own property for this http://msdn2.microsoft.com/en-us/library/ms531186(VS.85).aspx I think you'll have to pick a different word for your localization. Out of curiosity, why can't you change the width of the drop down menu? - Original Message - From: [EMAIL PROTECTED] To: wsg@webstandardsgroup.org Sent: Tuesday, February 19, 2008 7:23 AM Subject: [WSG] long words not wrapping inside DIV HI . I have a dropdown menu with a width of 150px. while localization some texts are too long and it is not wrapping inside the DIV and going outside the div. Is there any way to wrap long words. I don't want to use scrollbars in the div and I can't increase the width of the DIV. Pls help.. Thanks a ton in advance.. Naveen Bhaskar Menon *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
RE: [WSG] long words not wrapping inside DIV
Its not helping rajib. The text is bigger than the div width. The div is 150px width and the text width is coming around 190px.What I need to do for wrapping the text? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rajib Mukherji Sent: Tuesday, February 19, 2008 12:44 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] long words not wrapping inside DIV Hi, Naveen, You can try using the overflow:none; as an attribute within your DIV where are declaring menu width. Hope this helps. Each single word must be less than your defined width(150px). Thanks Rajib --- [EMAIL PROTECTED] wrote: HI ... I have a dropdown menu with a width of 150px. while localization some texts are too long and it is not wrapping inside the DIV and going outside the div. Is there any way to wrap long words. I don't want to use scrollbars in the div and I can't increase the width of the DIV. Pls help.. Thanks a ton in advance.. Naveen Bhaskar Menon *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***