The flexible boxmodel doesnt work in firefox

+2 Simon Johansson · May 2, 2015
/* Inside my main.css
*/

body{
         -webkit-box-pack: center;   /*does not work*/
         text-align: center;  /*now it formats correctly*/
         -webkit-box; /*no idea if this works in firefox*/
}
/*
but.. the side_news still pops down after the section.
any ideas on how to fix this? I am using firefox stable 37.0.2
and to note, there are no errors on chrome.

/Simon
*/

Post a Reply

Replies

Oldest  Newest  Rating
0 DG Wright · May 3, 2015
Hi,

The -webkit- syntax was never supported by Firefox; for Firefox use -moz-box. HTH! :)
0 Simon Johansson · June 6, 2015
thanks
  • 1

HTML / CSS / Web Design

107,344 followers
About

Discuss, share, ask, learn and teach HTML5 and CSS3.

Links
Moderators