clxkzj Posted July 26, 2009 Share Posted July 26, 2009 I'm a layout maker for xanga, and I'm having a little trouble with html. I made a layout, but I have no clue how to post it so people can use it. I want it in a scroll box, but when I post that in an html entry, the layout becomes one with the entry! I need help on finding a code that will allow me to post html into a scroll box. Thanks! Quote Link to comment Share on other sites More sharing options...
Cetanu Posted July 26, 2009 Share Posted July 26, 2009 If you use PHP code you could do this: <?php $yourcontent = htmlentities("The code you want to display"); echo $yourcontent; ?> Other than that, I heard you could replace the < and > in HTML with their special character codes... The < is < and the > is > I don't know if that works, since I've never used that technique I usually resort to handy-dandy PHP. Quote Link to comment Share on other sites More sharing options...
girishanthan Posted July 29, 2009 Share Posted July 29, 2009 You need to create a text box. Try this: http://www.quackit.com/html/html_generators/html_text_box_generator.cfm Or you can just use the <pre> tag to make sure any code you post won't become part of the code of the page. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.