Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
I had no idea ASP.NET could do this, Code: <<SPAN style="COLOR: rgb(128,0,0)">asp:Label<SPAN style="COLOR: rgb(255,0,0)"> runat=<SPAN style="COLOR: rgb(0,0,255)">"server"<SPAN style="COLOR: rgb(255,0,0)"> ID=<SPAN style="COLOR: rgb(0,0,255)">"labelText" <SPAN style="COLOR: rgb(255,0,0)"> ie:Text=<SPAN style="COLOR: rgb(0,0,255)">"This is IE text" <SPAN style="COLOR: rgb(255,0,0)"> mozilla:Text=<SPAN style="COLOR: rgb(0,0,255)">"This is Firefox text" <SPAN style="COLOR: rgb(255,0,0)"> Text=<SPAN style="COLOR: rgb(0,0,255)">"This is general text" />
This will render "This is IE text" to Internet Explorer, "This is Firefox text" to Mozilla browsers, and "This is general text" to all other browsers. Cool! |
|
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
Wow, I had no clue, either. Very nice. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.