Frustrating CSS – Firefox
-
Hi,
Really frustrated with CSS and Firefox.
Page code looks like this:
<div style="float: left; width: 100%;"> <div class="fct1X">[facetwp facet="bar_diameter_range" ]</div> <div class="fct2X">[facetwp facet="bar_length"]</div> <div class="fct2X">[facetwp facet="head_stock"]</div> <div class="fct2X">[facetwp facet="brand"]</div> </div> <div style="float: left; width: 100%;">[facetwp template="bar_feeder_alt"]</div>
In Chrome and MS EDGe – the four facets render properly next to one another [Bar Diameter Range | Bar Length | Head Stock | Brand |]
In Firefox – they stack. Which is the DESIRED behavior for mobile screens.
My CSS is as follows:
.fct1X { float: left; width: 36%; padding-right: 8%; position:relative; } .fct2X { float: left; width: 18%; position:relative; } @media (max-width: 779px) { .fct1X,.fct2X { display:block; width:100%!important; } }
Can anyone give me a hand and let me know what things I’m doing wrong?
The page I need help with: [log in to see the link]
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘Frustrating CSS – Firefox’ is closed to new replies.