The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I don't indent at all on most of my projects. I find that with indentation comes layout problems (think: trying to get images in multiple cells to align correctly in all browsers). When I just code everything in order without indenting each block-level, or even in-line elements, my designs seem to have little or no problems.

I tend not to bother with indentation (also I always use lower case tags but then these days I tend to code in XHTML which requires them anyway). The great thing about using CSS for layout instead of tables is that it makes your code about 100 times cleaner and more pleasant to read. You don't have to worry about hacking all kinds of weird table tags, you just create the content using plain markup and then wrap a few different sections in a div with an ID, then use the external CSS file to define how these divs should be positioned.

I use a combination; but mainly indentation perceptibly not using indents does help keep lower file size and help prevent some anonymities, which you could get with <table> and <textarea> and various things like submit buttons.

I code with indentation as well, much like Marc's. It makes it so much easier to keep track of nested tables. Too much indentation can be bad, though, so sometimes I leave <TR> and <TD> with the same left alignment.

SPF Mentor/Advisor2001-2003SPF Designer of the Year2002SPF Graphic Designer of the Year2003AdamPolselli.com

Originally posted by Aes I don't indent at all on most of my projects. I find that with indentation comes layout problems (think: trying to get images in multiple cells to align correctly in all browsers). When I just code everything in order without indenting each block-level, or even in-line elements, my designs seem to have little or no problems.

-Colin

I do the same. No indents. I find the coding MUCH harder to read when its indented as well.

I typically only indent large block-level elements, and even then, only one space. This is only for visual seperation when looking at source code. The important thing is file size, which is heavily impaired by all the extra spaces/tabs.