I often find myself using classes where I would normally use IDs when 
coding templates for any number of .NET-based content management 
systems.  Many .NET controls output system-generated IDs which forces us 
to use classes instead.  It bugs me every time, but there's not really 
much to do about it, from what I understand.  Worse is having to deal 
with the nightmare of embedded tables used for layout in many of the 
.NET controls.  Very, very ugly.

Tim
[EMAIL PROTECTED]

[EMAIL PROTECTED] wrote:
> Hi,
>
> Sorry if this is a little bit out of left field, but I was looking over
> a colleague's work today, and I noted that he should be using IDs
> instead of classes for elements which appear once on a page.
>
> He told me that he had modeled what his page on the www.w3c.org splash
> page, and there were indeed elements which appear to be singletons
> (banner, navBlock) but used classes instead of ID. Is there some
> technical reason for these layout divs to be marked up with classes?
>
> Cheers,
>
> Chris
>
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
>   
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to