Click to See Complete Forum and Search --> : XSL and table-based layout


Mr Initial Man
09-12-2008, 05:43 PM
Is it okay to use a basic table-based layout in an XSL stylesheet? I'm having a miserable time with Internet Explorer and a CSS layout.

eurozulu
09-12-2008, 06:10 PM
Nothing stopping you use the table stuff.

Before you give up on css, have you got your !DOCTYPE tag declared correctly?

IE can be have some funny ideas when its not present or incorrect. It reverts to 'make it up as you go along' mode. :-)

Assuming you're using xhtml, try something like this at the top of the document:

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Mr Initial Man
09-12-2008, 08:15 PM
Ahm, I'm using XML+XSL in this case. The link below takes you to a thread that shows what I'm having trouble with, along with links to the XML files in question.

Mr Initial Man
09-12-2008, 11:44 PM
Sorry, here's the link: http://www.webdeveloper.com/forum/showthread.php?t=189905