Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Multi Browser Design

Options
  • 14-03-2013 10:05pm
    #1
    Registered Users Posts: 1,298 ✭✭✭


    I'm trying to code a website and I am using some -webkit- features for the navigation however these don't seem to work in Firefox, how can i get around this problem? or how do i style seperately for multi browswers?


Comments

  • Registered Users Posts: 2,467 ✭✭✭SweetCaliber


    replace -wekbit- with -moz-

    However most css3 browsers now you can remove the prefixes:

    Such as:

    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;

    Can now be:

    border-radius: 3px;


  • Registered Users Posts: 1,298 ✭✭✭off.the.walls


    Say you want something to be moved with a webkit so you have webkit-transform: translate(x,y) and you want to fix it up so it works on firefox do you use moz for that?

    Sorry if its a basic question but need to be sure this site displays the same across everything!


  • Registered Users Posts: 2,467 ✭✭✭SweetCaliber


    Yep :)

    -moz-transform: translate(x,y)

    Add in:

    transform: translate(x,y)

    Also, as for safari and so on (CSS3 Compatible browsers) will be able to take advantage of it also :)


  • Registered Users Posts: 1,298 ✭✭✭off.the.walls


    Brilliant thank you :)


  • Registered Users Posts: 2,588 ✭✭✭KonFusion




  • Advertisement
Advertisement