Archive for October, 2010

Mozilla On Mac – display: -moz-inline-box;

Thursday, October 14th, 2010

If you ever have the need to convert an unordered list to a single row, let’s say for navigation creation or something to that effect.  Within your CSS file, you’ll want to put the following code in:

display: inline-block;
display: -moz-inline-box;

display: inline-block;
display: -moz-inline-box;

If you keep the code above in this order, your IE, Chrome, Safari, Opera, etc. browsers will ignore the second line.  The result will be a horizontal list of <li> items within a <ul> tag.

Like what you see? Let's talk.

Monday - Friday, 8:30am - 8:00pm EST.
Call us at 617-229-7210
*Required Fields