Element TABLE cannot be nested within element 'p'

  • Thread starter Thread starter Fred Flintstone
  • Start date Start date
F

Fred Flintstone

Why not? Why can't I put a table within paragraph tags?

Also:

"Element DIV cannot be nested within element 'u'."

I can't underline something within div tags? Why not?

Thanks! :)
 
Tables and paras are both block level elements you have to nest paras within
cells in a table otherwise you'll create invalid html as p and table
effectively render each others tags as closed. A validating HTML parser may
see fault with the way your html is layed out.

Good thing is always to check it for correctness
http://www.htmlhelp.com/tools/validator/

Migt be a good idea to post your html
 
Actually, I think the problem is that there are <% if... %> decision
makers in there that are making the editor think I've added too many
or too few tags. It doesn't sem to affect the application (warnings)
so I'll just ignore it, :)

Thanks
 
Back
Top