Works brilliantly in IE6+, Mozilla 3.6+, Safari, Chrome, etc. Repositioning the comment took care of the errors in both solutions. Close Save cssAudio - ActiveCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmloctocatspinnerstartv Fixing display: inline-block; A Pen By Martin Wolf Run Fork Join them; it only takes a minute: Sign up Display:Block not working in Chrome or Safari up vote 12 down vote favorite 2 I have a simple need to display the
On td elements, the developer tools show display:table-cell crossed out in the user-agent stylesheet, and display:block in the inline or attached stylesheet as active, but the computed style shows display:table-cell. As a PRO member, you can drag-and-drop upload files here to use as resources. Did you try clearing the browser with CTRL f5? You may have to register before you can post: click the register link above to proceed.
Archive Forgot password? | Register Remember Me? I created a codepen for this: http://codepen.io/WebDevJoshB/pen/JYGBvB Be sure to resize the browser a few times at those break points mentioned above. Email Address CSS-Tricks* is created, written by, and maintained by Chris Coyier and a team of swell people. CSS Base About CSS Base It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers.
Enjoy an ad free experience by logging in. C++ implementation of Hackerrank's "Maximum Element in a Stack" How do I make an alien technology feel alien? "president-elect" grammatically correct? anyone... How To Block Safari On Ipad Mini i placed the
elements before div and it worked..
All of them offer things like variables and mixins to provide convenient abstractions. I do have a doctype declared, and the problem still exists. We offer two of the most popular choices: normalize.css and a reset. http://stackoverflow.com/questions/38955362/displayinline-block-not-working-on-safari I do not have Safari, but FF and Opera fail without a doctype, too.