cssClass and ID same name

cssClass and ID same name

am 31.03.2008 16:26:17 von rodchar

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

am 31.03.2008 17:39:01 von brucebarker

its ok, but why? css can be attached to an id, so you don't need to use a
class name:





-- 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

am 31.03.2008 18:26:01 von rodchar

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:
>
>
>
>
>
> -- 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