Why DIV show in wrong order?

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Fri Apr 18, 2014 12:59 am
Hi,

I have this code:
Code: Select all
          <div id="gkNajgore">
             <jdoc:include type="modules" name="menu_najgore" style="xhtml" />
             <jdoc:include type="modules" name="baraj" style="xhtml" />
             <jdoc:include type="modules" name="internet_banka" style="xhtml" />
             <jdoc:include type="modules" name="jazik" style="xhtml" />
          </div>


Now the order I get in the front end is: menu_najgore - baraj - jazik - internet_banka

Why are the last two div switched? They are both floating right.

Can someone explain that to me?
Here is the website: http://www.gorast.com/eusnov/

Thanks,
Gorast
User avatar
Platinum Boarder

GK User
Fri Apr 18, 2014 6:26 am
If you float elements right, they always be inversed (first in order goes to the right, next in order goes to the left of the first, but still to the right)
User avatar
Moderator

GK User
Fri Apr 18, 2014 10:22 am
Huh,
would have never thought of that :D

Thanks,
Gorast
User avatar
Platinum Boarder

GK User
Mon Apr 21, 2014 10:19 am
Floating is a tricky and sneaky part ;)
User avatar
Moderator


cron