Trouble with divs as image links floated next to eachother

joggele

New Member
on the very top of web page Im working I have on to the left corner a flag (to change language) which I have in a div. On the right I have another div for another image (shop cart) but since I floated the right div, I still go to the right divs address when clicking on the left, like the right overrides the let one. Why? How can I solve this?Also, I am doing this by using my html/css-files and editing them to fit wordpress for a customer.CSS\[code\]#topmenu img { margin-left: 25px; float:left; position:relative;}#cartmenu img { position:relative; margin-left: 542px;}\[/code\]header.php\[code\] <div id="container"> <div id="topmenu"> <a href="http://wwgrgrhbhop.se/indexEU"><img src="http://stackoverflow.com/questions/13812557/wp-content/themes/blank/images/icon_en_global.png" alt="English.png" width="42" height="30"></a> </div> <div id="cartmenu"> <a href="http://www.enerfergeggyshop.se/"><img src="http://stackoverflow.com/questions/13812557/wp-content/themes/blank/images/cart.png" alt="cart.png" height="" width=""></a> </div>\[/code\]
 
Back
Top