In the end, I want firefox and chrome to display the same way. On chrome I've noticed that float: left
breaks the site but works on FF. However, if I put float:none
Chrome displays perfectly but then it is broken on FF.
I have tried @-moz-document url-prefix() {.attempt{float:left}}
but that appears not to be working. I've tried @document url() {.attempt{float:left}}
but that doesn't help either.
Any help would be greatly appreciated.
<style>
@-moz-document url-prefix() {
.attempt {
float:left
}
}
.attempt {
float:none
}
</style>
<div class="attempt">someText</div>