plznty Posted December 8, 2009 Share Posted December 8, 2009 I want to use the same type of navigation that google uses. TOP LEFT = LINKS TOP RIGHT = Other How can I achieve this? Tell me the code for 2 Divs one aligned to the left and one to the right please. On the same row though, because when i do it ones below another. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/184372-alignment-of-divs/ Share on other sites More sharing options...
cags Posted December 8, 2009 Share Posted December 8, 2009 If you want it the same as Google just highlight the top bar in google and click 'View Selection Source' (Firefox), since it's HTML it's openly viewable, Firefox will highly the relevant part of the source code. Quote Link to comment https://forums.phpfreaks.com/topic/184372-alignment-of-divs/#findComment-973307 Share on other sites More sharing options...
haku Posted December 8, 2009 Share Posted December 8, 2009 <div id="other_stuff">other stuff</div> <div id="main_links">main links</div> #other_stuff { float:right; } #main_links { float:left; } Quote Link to comment https://forums.phpfreaks.com/topic/184372-alignment-of-divs/#findComment-973386 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.