Can't get entries to format correctly
Can't get entries to format correctly
I am having trouble getting paragraph spacings in my entries. It looks like the space is there when I am entering the text, but when it is published, there is not a space between the paragraphs - the text just starts on the next line, but there is no space between it and the line above it. Can someone please tell me how to get spaces between paragraphs? I am using Firefox.
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
A link to your site would be helpful.
If you are using the wysiwyg editor, it should insert your paragraphs within <p> tags. If you are using the htmlarea editor, and are also using the nl2br plugin, it will insert <br />'s between the paragraphs. Which editor are you using, and are you using the plugin?
If you are using the wysiwyg editor, it should insert your paragraphs within <p> tags. If you are using the htmlarea editor, and are also using the nl2br plugin, it will insert <br />'s between the paragraphs. Which editor are you using, and are you using the plugin?
=Don=
I'm using the WSIWYG editor. Here is a link to my blog: www.clubbhouse.net/cblog. If you notice the entry entitled "Cat Food", there should be two paragraphs, but it looks like one big one.
Thank you.
Thank you.
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Your stylesheet contains this:
Since all margins have been forced to zero, there is no space between the 2 paragraphs. You might try changing that to: margin-top:0;
Code: Select all
.serendipity_entry p {
margin:0px;
padding-bottom:0px;
}=Don=
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
It has nothing to do with firefox - it is your template's stylesheet.... it was/is the stylesheet for your template, which is /templates/brownpaper/style.css. As I mentioned before, if you simply change the margin I mentioned to just be a margin-top, or margin-bottom (which would probably look better), you would get the desired result.
That being said, I personally prefer the htmlarea editor - too easy to insert a lot of bloated html with the wysiwyg editor.
That being said, I personally prefer the htmlarea editor - too easy to insert a lot of bloated html with the wysiwyg editor.
=Don=
I don't know how to change the style sheet. These were templates that were automatically loaded when I installed the blog through my web host. I didn't actually install it. All I did was click on an icon that said "Advanced Blog" and it was automatically installed on my server through my host. When I click on "Manage Styles", there is a message on the Brown Paper style that says there is no custom admin interface available, so I am guessing that I can't change anything in it. Maybe that's not what it means, but I don't know how to change the margin. Could you tell me how to change it? Thanks.
-
Don Chambers
- Regular
- Posts: 3657
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Using a simple text editor, like windows notepad, open the file /templates/brownpaper/style.css. Scroll near the bottom of the file, looking for this block of text:
Change the margin line to "margin-bottom". Save the file.
To be extra safe, before editing this file, create a copy, such as style-backup.css which you can always rename back to style.css if something goes terribly wrong.
Of course, your changes will only be noticeable if your entry is written with <p> tags - meaning, it was created using the wysiwyg editor (or you manually inserted them yourself).
Again, you do not have to do it this way if you are happy with the text editing options available to you in the non-wysiwyg editor.... if you are, just stick with that editor.
Code: Select all
.serendipity_entry p {
margin:0px;
padding-bottom:0px;
}To be extra safe, before editing this file, create a copy, such as style-backup.css which you can always rename back to style.css if something goes terribly wrong.
Of course, your changes will only be noticeable if your entry is written with <p> tags - meaning, it was created using the wysiwyg editor (or you manually inserted them yourself).
Again, you do not have to do it this way if you are happy with the text editing options available to you in the non-wysiwyg editor.... if you are, just stick with that editor.
=Don=