Element TABLE cannot be nested within element 'p'

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! :)
 
J

John Timney \(MVP\)

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
 
F

Fred Flintstone

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,830
Latest member
ZADIva7383

Latest Threads

Top