jibo Posted May 31, 2006 Share Posted May 31, 2006 hi, i have a simple textareat i want to use to display my updates in the code im using is <textarea ROWS=5 COLS=15 style="border style:solid" font>UPDATES!updates displayed in ere!!!!!!!</textarea>im ok as far as that.... the problem i have is i want the word 'updates' underlined and centered at da top of the box can anyone help me?? im kinda lost as ive never reli used textareas lol. thanks Link to comment Share on other sites More sharing options...
justsomeguy Posted May 31, 2006 Share Posted May 31, 2006 All of the text in a textarea contains the same formatting. You would have to use an iframe or a scrolling div if you want to do something like that, but those cannot be typed in. If you want to type in it, it all takes one format. Link to comment Share on other sites More sharing options...
jibo Posted May 31, 2006 Author Share Posted May 31, 2006 ok thanks i 4rt that mite b da case, do u no ne kind of box or area i can u do this as im not familiar with div scroll or w/e it is lol, i cud probly do it ok with frames tho cheers Link to comment Share on other sites More sharing options...
aspnetguy Posted May 31, 2006 Share Posted May 31, 2006 You'll want ot put it outside the text area...it will save many headaches.something like this maybe?\ <div style="text-align:center"> <span style="text-decoration:underline">Updates</span><br/> <textarea......>updates here</textarea></div> Link to comment Share on other sites More sharing options...
Jack McKalling Posted May 31, 2006 Share Posted May 31, 2006 Or just don't use a textarea lol :)You can enheight and enwidth a div and force it to show scrollbars if the content overflows it Would be the same as a textarea, but without the possibility to edit the content, hence much safer Link to comment Share on other sites More sharing options...
jibo Posted May 31, 2006 Author Share Posted May 31, 2006 ok thanks i 4rt that mite b da case, do u no ne kind of box or area i can u do this as im not familiar with div scroll or w/e it is lol, i cud probly do it ok with frames tho cheers<{POST_SNAPBACK}> dats brill mates ill use that its just as gud thnks a lot Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now