I have the following code:
What style information would I add to the first div so that the blue background is only as wide as needed for the text?Code:<div style="background-color: Blue;">Line 1</div> <div>Line 2</div>
Currently, the div is expanding to the full width of the browser window.
Thanks.




Reply With Quote