[WSG] styling auto-generated .net id values

2005-12-08 Thread Rachel Radford
Hi everyone, Just wondering if anyone else has come across the following problem and if so, how they fixed it? I'm working with a page that has auto-generated html from a .net engine that I then style up with css. In this case I need to reference one item on the page that has an id of

RE: [WSG] styling auto-generated .net id values

2005-12-08 Thread Peter Williams
From: Rachel Radford one item on the page that has an id of #_1740__ctl2__1125 in Firefox it works fine. IE gets stuck somewhere on the underscores and ignores the rule ID and class names can't start with a number either, I wonder if that is part of the problem, after the underscore the

RE: [WSG] styling auto-generated .net id values

2005-12-08 Thread Peter Williams
From: Rachel Radford page that has an id of #_1740__ctl2__1125 Just to follow up on the underscore thing... From the W3C HTML 4.01 recommendation ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens (-), underscores (_),

Re: [WSG] styling auto-generated .net id values

2005-12-08 Thread Ben Wong
I'd recommend not styling with the generated ids and using classes instead. On 12/9/05, Rachel Radford [EMAIL PROTECTED] wrote: Hi everyone, Just wondering if anyone else has come across the following problem and if so, how they fixed it? I'm working with a page that has auto-generated html

Re: [WSG] styling auto-generated .net id values

2005-12-08 Thread Matthew Cruickshank
Rachel Radford wrote: I'm working with a page that has auto-generated html from a .net engine that I then style up with css. In this case I need to reference one item on the page that has an id of #_1740__ctl2__1125. When I style this up in Firefox it works fine. But it seems that IE gets