How can I move divs around in CSS along with their content?
I'm rather bad at phrasing, but I'm messing around with the box model in CSS and I still can't get the full hang of it. Im trying to put text inside a div with borders around it and be able to move the div's position around the page freely. Unfortunately if I use the text-align attribute to move the text to the right of the page it just moves the text making the border stretch all the way to the left. I get this: ------------------------------------- I example l I l ------------------------------------- Instead of this: ------------------------------------- I example l I l ------------------------------------- I wanna be able to move the whole box along with its content wherever I wish, I don't know if I explained it clearly enough, but if any of you know what I'm talking about if gladly appreciate the help... Thank you so much!