cssClass and ID same name
hey all,
would there be a problem if i made the CssClass and ID the same name for any
and all elements?
thanks,
rodchar
RE: cssClass and ID same name
its ok, but why? css can be attached to an id, so you don't need to use a
class name:
<style>
..#idName {...}
</style>
-- bruce (sqlwork.com)
"rodchar" wrote:
> hey all,
> would there be a problem if i made the CssClass and ID the same name for any
> and all elements?
>
> thanks,
> rodchar
RE: cssClass and ID same name
i wasn't thinking, thanks Bruce,
rod.
"bruce barker" wrote:
> its ok, but why? css can be attached to an id, so you don't need to use a
> class name:
>
> <style>
> .#idName {...}
> </style>
>
>
>
> -- bruce (sqlwork.com)
>
>
> "rodchar" wrote:
>
> > hey all,
> > would there be a problem if i made the CssClass and ID the same name for any
> > and all elements?
> >
> > thanks,
> > rodchar