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.

12 comments:

Scott at Real Epicurean said...

It should be quite simple - just a <p>.

If you're using XHTML (like me - XHTML 1.0 strict), you'll need to use a <p> at the start of each paragraph, AND a </p> at the end of each paragraph.

If you don't quite understand that, always use the second example - it won't do any harm.

Mimi said...

That is exactly what I have been doing.

Still doesn't seem to work. Go figure.

nika said...

how about < br >?

Kalyn 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.

paul 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};

Mimi 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

Mimi 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?

qishaya said...

Original christian shoes are first category in alter. They are so much appealing louboutin shoes so, ample of women can not pause to get their hands on them. cheap christian louboutin However, these shoes are not economical. christian louboutin So adequate of women cannot present these shoes. christian louboutin heels Christian Louboutin Replica is presenting the textbook thing for these people. christian louboutin sandals It is present masses of fashionable shoes in an economical rate. christian pumps You know that unique shoes are posh to buy. christian sandals Nevertheless do not think that exchange a shoe with christian louboutin pumps magnificent create of top trait is hard. Now a time model are presented. louboutin pumps But if you hardship attribute cargo look discount christian louboutin for these replicas in a trustworthy position & set an order for your beloved shoes christian louboutin sale