Problem with Mac /Safari

Discussion in 'ASP.NET / ASP.NET Core' started by burleys, Jan 9, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi, for the first time I'm having to make my site compatible with Safari on Macs as well as IE on PCs!

    My web page layout is in grid mode and my Target schema is IE 5.

    All my text boxes appear in Safariat a fixed size and I can't make them any bigger. Also multi-line textboxes are small and will not accept any user entry in them. At a push I can accept all the buttons automatically sizing themselves to the text inside them, but would prefer fixed sizes as they appear in IE.

    I'm using CSS to set font type, size and colour for buttons and text boxes.

    Any ideas or advice very welcome.
     
  2. Try adding the attributes in the codebehind ,something like:

    MyTextBox.Attributes.Add('style', 'width:350px;')

    Because if you look at the HTML code generated by ASP.NET control (by using View Source) there is no sizing information included in Safari,where as in IE it does get included.

    Hope this helps!

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. yup thanks. If I specifically add the sizing info in the css then it works fine.
     
  4. If required, the technique i mentioned in my previous post should work fine too.

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET

    Post Edited (vvsharma) : 1/11/2007 8:18:53 PM GMT
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page