blogsmith Posted January 21, 2009 Share Posted January 21, 2009 I want a scroll box to put XHTML template for Blogger. See test 1The first one uses this:<form><table width="400"><tr><th align='left'><textarea rows="10" cols="50"></textarea></th></tr><tr><th align='left'></th></tr></table></form>The second uses this:<div style="width: 395px; height: 200px; background-color: ffffff; color: ffffc0; font-family: arial black; font-size: 10px; text-align: left; border: 1px solid 000000; overflow: auto; padding: 4px;"></div>I want the first one because I can click inside the box, ctrl+1 to highlight the whole code, and ctrl+C to copy to clipboard, but the code cannot be used because somehow tags <br />which are not in the original template are somehow added to the code and when pasted into the Blogger template editor, all the codes are jumbled up into one messy paragraph.The second one don't have the extragenous <br /> tags and can be used, but is difficult to highlight to copy to clipboard as clicking ctrl+A highlight the whole page.Can anyone tell me how those <br /> tags which were not originally in the template got introduced and can anyone give me the script so that I can put the coded XHTML template for visitors to copy easily into clipboard.Thanks Link to comment Share on other sites More sharing options...
Jerry62704 Posted January 22, 2009 Share Posted January 22, 2009 I want a scroll box to put XHTML template for Blogger. See test 1The first one uses this:<form><table width="400"><tr><th align='left'><textarea rows="10" cols="50"></textarea></th></tr><tr><th align='left'></th></tr></table></form>The second uses this:<div style="width: 395px; height: 200px; background-color: ffffff; color: ffffc0; font-family: arial black; font-size: 10px; text-align: left; border: 1px solid 000000; overflow: auto; padding: 4px;"></div>I want the first one because I can click inside the box, ctrl+1 to highlight the whole code, and ctrl+C to copy to clipboard, but the code cannot be used because somehow tags <br />which are not in the original template are somehow added to the code and when pasted into the Blogger template editor, all the codes are jumbled up into one messy paragraph.The second one don't have the extragenous <br /> tags and can be used, but is difficult to highlight to copy to clipboard as clicking ctrl+A highlight the whole page.Can anyone tell me how those <br /> tags which were not originally in the template got introduced and can anyone give me the script so that I can put the coded XHTML template for visitors to copy easily into clipboard.ThanksWhat editor are you using? Link to comment Share on other sites More sharing options...
blogsmith Posted January 23, 2009 Author Share Posted January 23, 2009 What editor are you using?It was posted in a blog using the Blogger platform: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.