homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

frontpage paragraph formatting
paragraphs and line breaks

 7:59 pm on Jun 22, 2002 (gmt 0)

I'm using frontpage 2002 and i have a large page i want to clean up the html in...to get the line spacing right im having to remove every </p> tag and replace it with a </br> tag..If i dont the only way to format the page is by selecting the page paragraph properties and setting the line above and below to 0..but if i do that then every line has this ino added making double the code it needs..its ther some settings i can change that will formatt the page without adding code to every single line?


brotherhood of LAN

 9:57 pm on Jun 22, 2002 (gmt 0)

Hi soapy,

not 100% sure about any options addressing the issue directly, but you can use edit/replace in HTML view to replace any <p> </p> with <br>'s

Frontpage "aint bad" at making CSS either. Maybe you might want to toy around with using CSS for line spacing etc, so you can define what any tag you use "should" look like.

Edit/replace is under the Edit menu button (funnily enough) :)

To make CSS in FP, if you dont know...just make a new page and save the extension as .css. Then go to Format > Style on that page and CSS is created.

I'm not sure what you mean by "double the code" though...do you mean you are left with using both <p> and <br> tags combined?


 2:32 am on Jun 23, 2002 (gmt 0)

You may not be aware that 'shift+enter'=<br> when typing in FP2002


 4:37 am on Jun 23, 2002 (gmt 0)

Hi! what i mean by double the code is that above every line frontpage inserts this:

style="margin-top: 0; margin-bottom:0

but the two comments from you guys was very helpful..thanks!


 7:41 am on Jun 23, 2002 (gmt 0)

Hello soapystar, the best way to control the spacing before and after paragraphs is through the use of CSS - Cascading Style Sheets as BOL pointed out. If using an external style sheet, the code might look like this...



 2:18 pm on Jun 23, 2002 (gmt 0)

yep..that worked..but i had to set the pixels to 0...maybe u misunderstood what i wanted..but the command was good..thanks guys..saved me a lot of effort!

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved