Forum Moderators: open

Message Too Old, No Replies

is there a way to let html editor use br instead of p tag?

         

wyx2000

8:51 pm on Nov 26, 2004 (gmt 0)

10+ Year Member



I am using html editor on IE with the editable div, when I press return, it will add p tag, I think br is better since p tag add more space and make the line gap too big. usually, I will use br tag when I use text editor. so I am wonderring how could I make the editor insert a br instead of a p tag.

Thanks.

ncw164x

9:02 pm on Nov 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try holding the shift key down and press return at the same time.

I know this works with dreamweaver but dont know about other programs, if not try using other keys until you find the right one which will work for you.

wyx2000

9:19 pm on Nov 26, 2004 (gmt 0)

10+ Year Member



thanks!

it works, shift works, since the html editor is for end user, it is much better if I can set a setting or something instead of telling everyone try to press shift key.

any idea?

scottmack

10:22 pm on Nov 26, 2004 (gmt 0)

10+ Year Member



What editor?

Look in Help / Customizing keyboard

wyx2000

10:34 pm on Nov 26, 2004 (gmt 0)

10+ Year Member



the IE html editor. the editor you can embed in your webpage with Dialog Helper Object

scottmack

2:06 am on Nov 27, 2004 (gmt 0)

10+ Year Member



If you can't change the keyboard setting, Shift-Enter actually is standard in many programs to enter a linebreak instead of a new paragraph.

wyx2000

2:30 am on Nov 27, 2004 (gmt 0)

10+ Year Member



thanks, if this is the case, I don;t need worry about it anymore.

Thanks for all the helps.