Div tag added each time I press Enter

  •  06-11-2009, 7:35 AM

    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
View Complete Thread