set text-ad width dynamically with inline css