CSS: Problem with aligning two divs under each other.

Discussion in 'Coding Help' started by jarik, Jan 22, 2011.

  1. jarik

    jarik New Member

    Hi guys. I was trying hard to figure out myself before posting this question [​IMG]

    on this site: (www dot paintersdirectory.ie/listing/location/leinster/county-longford)

    there is a "float-right" div ".sidebarSearch". It is hitting left bottom corner of the div "map" above it. I would like my sidebarSearch to be underneath map on the very right.

    Note: they are both FLOAT: RIGHT

    Thank you very much
     
  2. Nugget

    Nugget New Member

    Hey, I don't have time to look at your code now but if the div for the map and sidebar are both in enclosed in another div which aligns them to the right they should stay aligned under each other
     
  3. jarik

    jarik New Member

    it is sorted. "clear: right" did the job
     

Share This Page