ok, so i created a div in html coding i know im doing it right. i make a css law like #divtag {background-color:#ffcc66;} and in my content i will reference <div id="divtag"><p> and the content goes here</p>
</div> and the content will actually work like i want it too but when i smash the web page the div background color wont change to the content the content paragraph will keep going long after the edge of the background color has stopped. my question is how do i get the background color of the div change to whatever the width of the content is?
</div> and the content will actually work like i want it too but when i smash the web page the div background color wont change to the content the content paragraph will keep going long after the edge of the background color has stopped. my question is how do i get the background color of the div change to whatever the width of the content is?