Hi scott

you need to register the custom namespace

add

<html xmlns:scott>

then scope selectors

<style>
scott\:window {
    display:block;
    left: 200px;
    top: 200px;
    width: 200px;
    height: 200px;
    border: 1px solid red;
    background-color: yellow;
}
 </style>

then scope tags

<scott:window>
<scott:titlebar>mycontent</scott:titlebar>
<scott:content>mycontent</scott:content>
</scott:window>

Elliot



"Scott Barnes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
>
> Still finding my feed with XHTML / CSS. I noticed that in Mozilla 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
>
>



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to