Html and or CSS Question?
Noob issue.I need to know how to generate a format where some sort of text field were minimal to allows say 150 characters, and in the event that it goes over you will see a link that claims read more that could bring you to definitely a page using the full document.Please assist, my pc science teacher should kill us.
HTML is really a static terms.Triggering production on the amount of characters in a text box requires some sort of programming script.Instead regarding worrying in relation to limiting the amount of text all around, just produce a div container the correct width and also text may wrap instantly.For some sort of “read more” you can find simple JavaScripts for this to show/hide articles:
http://www.stunicholls.com/various/jquery-more-less.html
http://www.rgagnon.com/jsdetails/js-0086.html
http://www.dhtmlgoodies.com/scripts/show-hide-content-slide/show-hide-content-slide.html
http://www.randomsnippets.com/2008/02/12/how-to-hide-and-show-your-div/
http://webdesign.regarding.com/od/dhtml/a/aa101507.htm
Ron
Well if you are teacher requested you to do this with HTML and CSS on your own, then he’s over track as it is not possible without a scripting language like Javascript, PHP, or anything else.
Yea html code and css would not fix this you need to use php to accomplish this simply.
Leave a Reply
You must be logged in to post a comment.