wouldnt you need to use the xml doctype if your using xml ? or the xml prologue as its called.?
> Heyas, > > Still finding my feet with XHTML / CSS. I noticed that in Mozilla (well > through Eric Meyers new book) you can introduce your own tags (ie XML) > and basically in many ways can attach CSS to them (much like you would > with a simple old DIV) > > In Internet Explorer this isn't the case? it ignores the tags / css? > > eg: > > <window> > <titlebar>mycontent</titlebar> > <content>mycontent</content> > </window> > > <style> > window { > display:block; > left: 200px; > top: 200px; > width: 200px; > height: 200px; > border: 1px solid red; > background-color: yellow; > } > </style> > > Simple example, works great in Mozilla FireFox (heh go Mozilla) but > fails in IE? I'm using the doctype: > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > with: > <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US"> > > Anyone care to comment? > > -- > > Regards, > Scott Barnes > - > http://www.mossyblog.com > http://www.bestrates.com.au > > ***************************************************** > The discussion list for http://webstandardsgroup.org/ > See http://webstandardsgroup.org/mail/guidelines.cfm > for some hints on posting to the list & getting help > ***************************************************** > > > Benjamin Life through a polaroid www.lifethroughapolaroid.com ***************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help *****************************************************