Notepad++ Help

Soldato
Joined
28 Dec 2009
Posts
6,888
Location
Wales
Right,

Teaching msyelf html and occasionally I want to copy the html code into notepad. However whenever I paste it inot notepad it pastes teh whole lot along one line, as opposed to in the correct html format. Is there a setting or way to change this so I can paste say a chunk of code in and it retains the lines and psacings etc?

Ta for you help with a html noob!
 
TextFX > TextFX HTML Tidy > Tidy Clean document - nowrap ?

If not that, try one of the other Tidy options.

EDIT: that won't retain formatting, but it will reformat the markup so that it's all nicely indented.
 
Also, check your line-endings and make sure that they're set to DOS/Windows rather than UNIX. If they're not, Edit -> EOL Conversions -> Windows Format.
 
Hi guys,
Cheers for the replies. None of that has worked but thank you for the replies. Oddly when I copy CSS text into it it keeps the original format. Jsut not with html. Maybe its the source, I'm trying to copy one of the htmldog table examples.

Sigh shall keep looking.
On a side note any better tutorials than w3schools and html dog?
 
Try using Wordpad instead. Tends to keep the format of things like HTML.

Cheers mate, will check this out now


A very interesting read. Using html dog but will avoid w3schools for now and look at those other sites.

Is there anywhere I could download the code for a basic site and then tinker away (say somewhere that does good free templates). Having a go at a the individual bits but also want to jump right in and have a play.
 
Last edited:
Back
Top Bottom