Page 1 of 1

separation of data from its presentation

Posted: Thu Apr 15, 2004 11:14 am
by newmember
i asked this question at another forum but no one was able to answer yet
so i post it here as well...

why xhtml-strict.dtd contains declarations for border or cellpadding and others attributes ?

as i know xhtml-strict.dtd should be used if i want strict separation of data from its represantion but inclusion of these attributes in dtd contradicts this separation idea...

Posted: Fri Apr 16, 2004 5:27 pm
by llanitedave
I really don't understand the question. Borders are presentation properties of an element. They don't interfere or overlap with content.

Posted: Fri Apr 16, 2004 6:06 pm
by ol4pr0
google -> xhtml-strict.dtd contains declarations

you might find some interesting things to read ;-) , it even might give you a answer

Posted: Sat Apr 17, 2004 10:38 am
by newmember
you might find some interesting things to read
i did my post after reading xhtml-strict.dtd...
and it contains declarations for attributes i mention in my first post.
as i understand it makes no sence to include attributes like these in strict version of dtd (because they are describing the visual look of element)...
so my question is why these attributes included anyway in strict dtd version?