Div tag added each time I press Enter

Last post 06-11-2009, 7:52 AM by piyushc. 1 replies.
Sort Posts: Previous Next
  •  06-11-2009, 7:35 AM 52996

    Div tag added each time I press Enter

    Hello,
     
    I have a template with table.
    When I press enter key, that is for every new line, a <div> tag automatically gets added.
     
    (Even if you see the HTML of this page, you will see all divs being added)
     
    How can I prevent this?
     
    Another problem is, if I have nothing (blank) in the div, it automatically inserts &nbsp;. How can I prevent this as well?
     
    Piyush
  •  06-11-2009, 7:52 AM 52998 in reply to 52996

    Re: Div tag added each time I press Enter

    I could figured it out the first one.
    I set the

    BreakElement property to br.

    The &nbsp; problem is still there.

    Thanks,

    Piyush

View as RSS news feed in XML