Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. regarding browser compatibility.

regarding browser compatibility.

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netlearning
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    shiva kore
    wrote on last edited by
    #1

    Hi all, Am beginner to ASP.net I have created web page and trying to run it on different browsers(ie,mozilla). but it shows different text formats(bold,Size) in different browser.can u pls tell me what to do to display same page format in all browsers. with regards, Shivakumar Kore

    S J 2 Replies Last reply
    0
    • S shiva kore

      Hi all, Am beginner to ASP.net I have created web page and trying to run it on different browsers(ie,mozilla). but it shows different text formats(bold,Size) in different browser.can u pls tell me what to do to display same page format in all browsers. with regards, Shivakumar Kore

      S Offline
      S Offline
      saini arun
      wrote on last edited by
      #2

      Have a look here and here

      1 Reply Last reply
      0
      • S shiva kore

        Hi all, Am beginner to ASP.net I have created web page and trying to run it on different browsers(ie,mozilla). but it shows different text formats(bold,Size) in different browser.can u pls tell me what to do to display same page format in all browsers. with regards, Shivakumar Kore

        J Offline
        J Offline
        John Bracey
        wrote on last edited by
        #3

        Use W3C standard CSS to control the look and feel of the page. Make everything fluid where possible. Use percentages for font sizes and widths/heights of elements. 'Fixing' to many elements with fixed values can cause a lot of problems. Remember NOT all browsers will behave the same for everything - I'm afraid SOME elements won't. For the ones that don't you'll have to do a little research. For example to change the colour of a horizontal rule correctly you would have <hr style="color:#ff0000"/> - works fine in IE browsers but not in FF - the fix is <hr style="color:#ff0000;border:0px;height:2px;background-color:#ff0000"/> - note we have to add the border, height and background-color attributes - still correct and works in all browsers. All this comes with a little a research and experience. I would just start off by researching each problem element as it comes along specifically and as you need. Not the whole lot.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups