apexis Posted June 23, 2012 Report Share Posted June 23, 2012 Как разместить несколько контейнеров div в линию без использования margin? Quote Link to comment Share on other sites More sharing options...
0 aurfon Posted June 23, 2012 Report Share Posted June 23, 2012 float:left; Quote Link to comment Share on other sites More sharing options...
0 apexis Posted June 23, 2012 Author Report Share Posted June 23, 2012 float:left;float не подходит. Подвал смещается вверхhttp://parkes.org.ua/test/results.php Quote Link to comment Share on other sites More sharing options...
0 Catherine Posted June 23, 2012 Report Share Posted June 23, 2012 Ну так задайте overflow: hidden блоку контейнеру, либо используйте вместо float display: inline-block; Quote Link to comment Share on other sites More sharing options...
0 moron Posted June 23, 2012 Report Share Posted June 23, 2012 Подвал смещается вверхПопробуйте футеру поставить clear: left или both - это отменит для него обтекание Quote Link to comment Share on other sites More sharing options...
0 apexis Posted June 23, 2012 Author Report Share Posted June 23, 2012 сработало clear:both, спасибо! Quote Link to comment Share on other sites More sharing options...
0 apexis Posted June 23, 2012 Author Report Share Posted June 23, 2012 (edited) Появилась новая проблема: добавил 15 элементов. Они должны были стать в 2 колонки с помощью float:left, но во второй колонке оказался только 1 элемент. Не работает в Firefox 13 Edited June 23, 2012 by apexis Quote Link to comment Share on other sites More sharing options...
Question
apexis
Как разместить несколько контейнеров div в линию без использования margin?
Link to comment
Share on other sites
6 answers to this question
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.
Note: Your post will require moderator approval before it will be visible.