css - How to Display Data with DIV based layout? -
I want to use this type of data to divisce and other elements like ul li p Span minimum tag
Note: There again, the block and the left content are correct and the right content is left aligned.
Please provide a good solution for this with the minimum code.
Here is the link I tried to do with UL-Lee
wazdeisgn
& lt; Dl & gt; & Lt; DT & gt; Users & lt; / Dt & gt; & Lt; Dd & gt; 3234234234234 & lt; / Dd> & Lt; DT & gt; Some & lt; / Dt & gt; & Lt; Dd & gt; 3234234234234 & lt; / Dd> & Lt; DT & gt; Wharever & lt; / Dt & gt; & Lt; Dd & gt; 3234234234234 & lt; / Dd> & Lt; / DL & gt; Dl {float: left; Width: 300px; Height: auto; Margin-down: 5px; } Dt {float: left; Width: 100px; Height: auto; Text-align: OK,} Dd {float: right; Width: 200px; Height: auto; Text-align: left; } Of course, you should first have a good "CSS reset", default margins and do not affect your box model.
Comments
Post a Comment