3 replies [Last post]
triplebit
triplebit's picture
Offline
Regular
Last seen: 1 year 45 weeks ago
Timezone: GMT+2
Joined: 2013-12-03
Posts: 22
Points: 40

In one of my sites, http://www.perfect-rehitim.co.il/, when screen is lower than 860px I get all the elements vertical aligned from top to bottom, in the middle of screen.
Problem is that it dosen’t work well in Firefox.
Can someone help please?
Regards

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 3 days 14 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5342
Points: 2963

Hi triplebit, You just need

Hi triplebit,
You just need to add:

.transperant_970 .span {
   clear:both;
}

BTW a div with the class of span is confusing

triplebit
triplebit's picture
Offline
Regular
Last seen: 1 year 45 weeks ago
Timezone: GMT+2
Joined: 2013-12-03
Posts: 22
Points: 40

Firefox problem

Tnx
It works, but can you explain why?
Regards
Triplebit

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 3 days 14 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5342
Points: 2963

Clear sets the side of an

Clear sets the side of an element that should not be on the same horizontal space as other elements.
I'm not really sure why it was necessary only for Firefox, you are doing quite a bit of style manipulation.