Ah, I've had that nightmare a few hundred times. Whenever you hit return, it
inserts a <p>nbsp;</p> until you type something into it. That forces the
extra space. This also gives Word to HTML conversion headaches, a space
between paragraphs.
Nonsense. What you are calling a double line feed is the combined effect of
the top and the bottom margin on the <p> tag. That's simple to control with
CSS. And don't use <br> except for special purposes.
And that's what confuses me to no end... why is it that they use <p> in the
first place for the basic function and not <br>? In Word, it's a single line
break by default unless you format it to something differently. Setting a
style attribute to <p> sounds like a big waste of coding space when all
that's necessary is a <br>.
I could understand if Shift+Enter added the <p> tag. But that right there
just makes me raise my eyebrow in confusion.
But also as obvious, FrontPage and Word are Office products. Also, creating
a WYSIWYG web page from a Word document is possible, and half of FrontPage's
capabilities are in a WYSIWYG setting. I was merely stating that uniformity
between products would make a lot of sense.
Also to Rowe, I never heard of that guideline before. Where is that written?
That's normal behaviour. Try Shift+Enter for a single line carriage return
(enters a <br> rather than a <p> tag).
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.