Frage

This is my span tag inside td

<span style="color:#556B2F;font-size:14px;font-weight:bold;"> * Welcom to the Span world</span>

Here i want to align span text left side how can i do this,thanks for your help.

War es hilfreich?

Lösung

I thing your question is positioning content set right side not left side because flow structure is top to bottom and left to right so default position left. But i give you answer for set left side. you can use table td align property in html and css way you can do.

table td{
    text-align:left;
}

Check this demo jsFiddle

Andere Tipps

You no need to do anything. Default behavior is left alignment only or put 'align=left' in your td.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top