Spacing in HTML
-
You’re a good ol’ Notepad HTML coder. You write your website HTML with Notepad.
When you write HTML, some people prefer to add tabs when they open tags like so:
<body>
--tab--<div class="header">
--tab----tab--My site dot com.
--tab----tab----tab--<div class="headimg"></div>
--tab--</div>
--tab--<div class="body">
--tab----tab--My content.
--tab--</div>
</body>Putting tabs adds structure and makes it easier for the coders.
The problem.
With WordPress, it does not respect your spacing.
Say you’re in a navigation.
div
. You’re writing with 5 tabs inserted in front of you. If you call WordPress and ask it to insert a series of links, it will insert this code at the beginning of a line, with no tabs in front of them, therefore, ruining your whole HTML structure.Is there a plugin which respects tabs inserted in HTML?
- The topic ‘Spacing in HTML’ is closed to new replies.