separation of data from its presentation

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
newmember
Forum Contributor
Posts: 252
Joined: Fri Apr 02, 2004 12:36 pm

separation of data from its presentation

Post 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...
User avatar
llanitedave
Forum Commoner
Posts: 78
Joined: Thu Jan 15, 2004 11:24 am
Location: Las Vegas, NV.

Post by llanitedave »

I really don't understand the question. Borders are presentation properties of an element. They don't interfere or overlap with content.
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post by ol4pr0 »

google -> xhtml-strict.dtd contains declarations

you might find some interesting things to read ;-) , it even might give you a answer
User avatar
newmember
Forum Contributor
Posts: 252
Joined: Fri Apr 02, 2004 12:36 pm

Post 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?
Post Reply