nemec Posted October 24, 2012 Report Share Posted October 24, 2012 Kā panākt tādu pašu efektu kā tabulā ar <dl> tagu: http://jsfiddle.net/kXgfy/1/ Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted October 24, 2012 Report Share Posted October 24, 2012 (edited) Nedomaaju, ka to var izdariit. Labaakais ko vari IMO ir kas shaads, bet tas gluzhi nav tas pats kas table. IMO bez row elementa to izdariit nevar. Protams var meegjinaat hakus ar JS, bet tas ir negliiti: http://jsfiddle.net/kXgfy/7/ Edited October 24, 2012 by rATRIJS Quote Link to comment Share on other sites More sharing options...
rpr Posted October 24, 2012 Report Share Posted October 24, 2012 ja pareizi sapratu, tad varbūt šis variants? dt:after { content: ':'; } dl { width: 200px; } dt,dd { width: 50px; float: left; } Quote Link to comment Share on other sites More sharing options...
indoom Posted October 24, 2012 Report Share Posted October 24, 2012 vai arī šitā dt { float:left; width:5%; } dd { float:left; width:45%; } Quote Link to comment Share on other sites More sharing options...
nemec Posted October 24, 2012 Author Report Share Posted October 24, 2012 Saturs ir dinamisks, tāpēc ar 5% neder. Quote Link to comment 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.