View Full Version : Positioning problem in Firefox

Apr 27th, 2010, 04:53 PM
Hi guys,

On my hompage which is http://www.torbaytoolhire.com. I cant get the 'More Information' buttons to line up properly on the page. It lines up properly in IE. But just cant seem to tweak my css code to get it working in Firefox.

Any help appreaciated again


Apr 27th, 2010, 05:53 PM
Hello waps2,
Interesting approach. I've never tried putting multiple items in single li.
Comment out this bit in red and see how it works for you -

#content ul#promoboxes li{
list-style: none;
display: inline-block;
/*display: -moz-inline-box;*/
font-size: 11px;
font-family: verdana, arial, helvetica, sans-serif;
margin: 0px 3px 0px 0px;
padding: 10px 0px 0px 0px;
background-image: url(images/promboxbk.gif);
height: 200px;
width: 215px;

If that breaks things in earlier FF versions that don't support inline-block you could always just put those in divs instead using a list.

Apr 27th, 2010, 11:44 PM
But just cant seem to tweak my css code to get it working in Firefox.

You don't tweak for Firefox. You get it working there first and tweak for IE. IE is the worst browser on the planet.

The problem here, as always, is with IE. You will never get IE to attempt to perform like other far more modern browsers without a doctype. Put this on your first line and see where we stand.