This blog site is not meant to be any information that is distributed to the general public. It is to serve as shared documentation between the DNSTC developers; however, if you find something useful and would like to use it, go right ahead.

Saturday, February 18, 2012

Code needed to make CSS/text buttons work correctly in Firefox

cssWe are supposed to develop websites to work in all browsers.  There is an issues with the IE CSS settings and the text buttons we use not showing up correctly in Firefox.  In the past, I did not care and just told people, is it what it is; however, this does not work for Smart Phones.

Therefore, the following needs to be added to the CSS block of the navigation buttons in order for them to be displayed correctly.

display: inline-block;

This will fix the display for smart cells phones as well as Firefox display.

No comments:

Post a Comment