Question

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.

Was it helpful?

Solution

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

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top