Thanks Michael,
I understand you recommend using repeater - that's was my default, but I
really do want to use some of the more complex .NET webcontrols.
You've mentioned datagrid: how do I know which set of HTML tags are involved
when .NET renders this tag (on all browsers that is)?.. it's easy to assume
it only uses table tags (TD, TR, TBODY etc) - but how can I make sure that,
for exampe, it won't stick a SPAN to one of the TDs?
Thanks,
Roger.
"Michel de Becdelièvre" <> wrote in message
news:ud$...
>
> "Roger Moore" <> a écrit dans le message de news:
> ...
>> Hi all,
>>
>> I have a beginner's question:
>>
>> If webcontrols are rendered to suit different browsers using different
>> HTML syntax for each, how can I create a unified CSS stylesheet to them
>> (using the cssStyle attribute).
>>
>> What I say is that I need to know which HTML tag i'm applying the style
>> to, in order to know which CSS styles are relevant to it.
>>
>
> Simple : you avoid System.Web.UI.WebControls.* (you only use real value
> added cases such as repeater, datagrid, etc.), you use :
> System.Web.UI.HtmlControls.* . This also gives you a good chance of
> achieving Firefox compatibility (once you have updated your browsercaps).
>
>
>
>
>