Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

CSS and early browsers

  • 09-07-2005 11:04AM
    #1
    Closed Accounts Posts: 334 ✭✭


    I am finally moving away from table layout and onto CSS, however I am worried that my site will not be viewable in earlier browsers such as IE5.x and NS4.x etc. Is there anyway of checking whether my site will be ok? Is there any 'browser emulators' available on the web?


Comments

  • Registered Users, Registered Users 2 Posts: 7,742 ✭✭✭mneylon




  • Registered Users, Registered Users 2 Posts: 3,514 ✭✭✭Rollo Tamasi


    you could use browser hawk.
    It checks what browser the user is using and depending on its version directs them to the browser friendly version of your site!


  • Registered Users, Registered Users 2 Posts: 286 ✭✭fizzy


    whatever the results, don't let wonky old browsers put you off using the wonders of css!

    by linking to your stylesheet using an @import statement rather than the <link> tag, you can specify one basic stylesheet for older browsers and a swanky one for the modern ones, as only modern ones recognise the @import statement...

    <link href="basic.css" rel="stylesheet" type="text/css">
    <style type="text/css"><!-- @import url("swanky.css"); --></style>

    if splitting up your styles and maintaining 2 sheets sounds like too much hassle, i tend to just use the @import statement to link to my stylesheet - then my sites are stripped of all styles in netscape 4 etc for a rather retro but still very usable experience :)

    css rocks! :)


  • Closed Accounts Posts: 291 ✭✭kstanl


    My advice - don't bother your arse with older browsers. Just be sure to future-proof.


Advertisement