Friday, November 24, 2006

How to insert a blank line?

Until a few days ago, I hadn't much time to play around with the way my blog looks. Now I've added Technorati and a few other things but I find I cannot insert blank lines into my template, even when I use the proper html command. What am I doing wrong?

I used it here, and it worked. (I took it out because I have no idea how to disable it.) So why doesn't it work in my template?
What am I doing wrong?

Thank you.


This Post was written by Mimi from French Kitchen in America.

10 comments:

Unknown said...

That is exactly what I have been doing.

Still doesn't seem to work. Go figure.

nika said...

how about < br >?

Kalyn Denny said...

Nika has the right idea. I use the br and /br tag in my template all the time in blogger. For some reason, sometimes you need to put two of them to get what looks like a blank line in the template, but just use the preview button to see how many to use.

Anonymous said...

You should never just use a <p>, even in the loosest HTML, it can mess up your entire template to have an unclosed tag.

<br /> is the proper line break tag for most Blogger templates (which are usually XHTML 1.0 Strict) It makes one line break, so two of them will give you a blank line.

If your talking about blank lines in posts - does your 'Convert line breaks' in your Blogger - Formatting settings do anything if you set it to yes?

If your trying to add a blank line elsewhere on your template just one <p></p> , or better, a p tag with something in it (a non-breaking space) <p> </p> won't add a blank line according to your CSS. It will just add a line break because the style is set with no space around it:
p {margin:0;padding:0};

Unknown said...

What finally worked was Paul's suggestion about the double B thing with brackets.

I had tried some of the other things earlier. In fact, I've been puzzling over this for two days.

Thank you all so much.

Parisbreakfasts said...

I'm having the same problem in my template where 2 things jam up against each other like the site meter and the site feed..
I better try out these br /br...
Thanks PB

Unknown said...

Ha! That was exactly what I was trying to do, Carol, unjam the technorati icons. I'm learning. . .

nika said...

using the BR break code is pretty innocuous.. i use stylesheets (who doesnt anymore) so sometimes code changes get overridden by stylesheet code.. so frustrating (esp font size and header formatting)

when i make changes i try to not make too fundamental a change because little good comes of it for me.. might be better at that point to find a more better fit template.

Parisbreakfasts said...

Well You've done a very good job of "unjamming" yr techno etc. I have to SEE it with all the bits, to figure it out.
I bet you make jam as well...

Madeline said...

I read somewhere that you don't need a /br tag at the end. You only need the br. It works for me that way.

Just one less thing to type, right?