Non IE brower issue

Discussion in 'ASP .Net' started by Duncan Welch, Dec 9, 2004.

  1. Duncan Welch

    Duncan Welch Guest

    I've got a very simple bit of code that needs to work with IE, Firefox, and
    Opera on the PC and the Mac:
    Sound Bite: <asp:TextBox ID="txtEditSoundBite" Width=500 height=600
    TextMode="MultiLine" Runat="server" />

    On IE on the mac and PC, it renders fine as I'd expect:
    Sound Bite: <textarea name="txtEditSoundBite" id="txtEditSoundBite"
    style="height:600px;width:500px;"></textarea>

    If you're not using IE (silly as this seems!) it seems to "forget" the
    inline style:
    Sound Bite: <textarea name="txtEditSoundBite"
    id="txtEditSoundBite"></textarea>

    Anyone come across this before and managed to fix it without creating
    external stylesheets? Or have I just missed something really obvious?

    Thanks in advance,

    Duncan
     
    Duncan Welch, Dec 9, 2004
    #1
    1. Advertising

  2. Sounds like it might be the old send down html version 3.0 code to non IE
    broswers problem.
    I have a fix for that on my site, www.tirnaog.com, in the forums section
    under VB.net look for ;
    Getting your .NET site to look better in NON IE browsers!
    The code in there needs to be put in the web.config file.

    Hope it helps.
    Deasun

    "Duncan Welch" wrote:

    > I've got a very simple bit of code that needs to work with IE, Firefox, and
    > Opera on the PC and the Mac:
    > Sound Bite: <asp:TextBox ID="txtEditSoundBite" Width=500 height=600
    > TextMode="MultiLine" Runat="server" />
    >
    > On IE on the mac and PC, it renders fine as I'd expect:
    > Sound Bite: <textarea name="txtEditSoundBite" id="txtEditSoundBite"
    > style="height:600px;width:500px;">
     
    =?Utf-8?B?RGVhc3Vu?=, Dec 9, 2004
    #2
    1. Advertising

  3. Duncan Welch

    Peter Blum Guest

    This thread contains the answer:
    http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=759705

    --- Peter Blum
    www.PeterBlum.com
    Email:
    Creator of "Professional Validation And More" at
    http://www.peterblum.com/vam/home.aspx

    "Duncan Welch" <9.co.uk> wrote in message
    news:...
    > I've got a very simple bit of code that needs to work with IE, Firefox,
    > and
    > Opera on the PC and the Mac:
    > Sound Bite: <asp:TextBox ID="txtEditSoundBite" Width=500 height=600
    > TextMode="MultiLine" Runat="server" />
    >
    > On IE on the mac and PC, it renders fine as I'd expect:
    > Sound Bite: <textarea name="txtEditSoundBite" id="txtEditSoundBite"
    > style="height:600px;width:500px;"></textarea>
    >
    > If you're not using IE (silly as this seems!) it seems to "forget" the
    > inline style:
    > Sound Bite: <textarea name="txtEditSoundBite"
    > id="txtEditSoundBite"></textarea>
    >
    > Anyone come across this before and managed to fix it without creating
    > external stylesheets? Or have I just missed something really obvious?
    >
    > Thanks in advance,
    >
    > Duncan
    >
    >
     
    Peter Blum, Dec 9, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Waldy

    Disable brower Back button

    Waldy, Jan 17, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    558
    Waldy
    Jan 18, 2005
  2. Replies:
    4
    Views:
    2,937
    Kim Quigley
    Jan 26, 2006
  3. Tina

    request.brower

    Tina, Mar 30, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    526
  4. Jim
    Replies:
    5
    Views:
    2,384
    Michael Borgwardt
    Oct 23, 2003
  5. Gary Mayor
    Replies:
    1
    Views:
    380
    Michael Borgwardt
    Dec 17, 2003
Loading...

Share This Page