s1yman Posted June 25, 2009 Share Posted June 25, 2009 Hi, I got bit of problem with some div tags, http://mkcitycomputers.co.uk/test/partners.html I want them to be lined up in threes, something like the picture. the css reads; {width:33%; color:#003366; text-align:justify; position:relative; overflow:hidden; clear:both;} bit confused, sure I had this working before. any one got any ideas?? Thanks in advance. [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/163615-div-tags-on-same-line/ Share on other sites More sharing options...
dzelenika Posted June 25, 2009 Share Posted June 25, 2009 Remove clear:both; which makes each div use next row. Link to comment https://forums.phpfreaks.com/topic/163615-div-tags-on-same-line/#findComment-863282 Share on other sites More sharing options...
s1yman Posted June 25, 2009 Author Share Posted June 25, 2009 doesn't make a difference Link to comment https://forums.phpfreaks.com/topic/163615-div-tags-on-same-line/#findComment-863284 Share on other sites More sharing options...
dzelenika Posted June 25, 2009 Share Posted June 25, 2009 and add float: left; to .erm css class of your divs But after that I see other problems on your site. Why don't you simply use table instead? Link to comment https://forums.phpfreaks.com/topic/163615-div-tags-on-same-line/#findComment-863296 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.