Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : in C# and VB 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 November 4th, 2015, 08:34 PM
Authorized User
 
Join Date: Oct 2015
Posts: 58
Thanks: 3
Thanked 0 Times in 0 Posts
Default Ch 17, p659 - Biography text

Hi Imar,

I tried to add one long text line in the biography field, then when I go back to see the Photo Album Details, the text goes beyond the width of the cpmainContent. I also tested it with your Source code. The same behaviour.

Are there any CSS rule or VS method to break the line even when its longer than its container width?

Thanks.
 
Old November 6th, 2015, 05:18 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Did you create a long *word* without spaces or a long sentence with spaces? In the latter case, it should wrap. In the former case, this is an unlikely scenario.

To force the text to wrap, check out this link: https://www.google.com/?gws_rd=ssl#q=css+force+wrap

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
StvnSpnz (November 6th, 2015)
 
Old November 6th, 2015, 06:15 AM
Authorized User
 
Join Date: Oct 2015
Posts: 58
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Thanks it worked the wrapping CSS, although the unlikeliness..I not sure because I have seen some websites with the same behaviour.

Thanks again.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch 17. Emergency Responder plagoon BOOK: Professional Android 4 Application Development 0 January 2nd, 2013 03:40 PM
Ch 17 extended credit [email protected] BOOK: ASP.NET 4 24-Hour Trainer 2 January 31st, 2012 08:05 AM
Ch 17 LINQ to SQL sirmilt BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7 0 May 29th, 2011 05:37 PM
CH 17 - Assemblies equintana71 BOOK: Professional C# 2008 ISBN: 978-0-470-19137-8 1 May 17th, 2011 09:20 PM
IStateManager.TrackViewState() Ch 17 EdKroket BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2 0 January 25th, 2007 07:10 AM





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