html - What's a better way to have two short divisions of text, one on the left and one on the right? -
In my website, headings often require some explanation text (for example a date) for their description. Current solution is This is the only CSS that I have churned yet: and with HTML: Whether a header and It seems really strange that only simple implementation is so far behind. The comments of your two additional elements are being wrapped in a div, you can easily get it You can display the usage table for : When you consider that the & lt; Div & gt; Correct
& lt; H1 & gt; or
& lt; H2 & gt; , so that the header still clears the floating device right.
& lt; Div class = "right" & gt; On the right & lt; / Div & gt; & Lt; H2 & gt; Talk to the left & lt; / H2 & gt;
and
.wrapper {display: table-row; } H1 ,. Additional {display: table-cell; }. Additional {text-align: right; Width: 100%; }
float solution does not require additional cleanoffs , the markup is near the same.
Comments
Post a Comment