So I have a DIV that contains some dynamic text. Let\'s say I know the text and font-size but I don\'t know the size of the DIV. I\'d like the display of the text in the DIV t
If I understand what you're asking for, this works for me:
div { padding-left: 2em; text-indent: -2em; }