I have a bold text , which I want to shift to right …but this seems not working.
tried with …
<strong ><span margin-left:100px">Territory Tab</span></strong>
and also …
<span margin-left:100px"><strong>Territory Tab</strong></span>
None working .
please help how do I do it ?
imouto
2
Your inline style is written incorrectly. It should be:
<span style="margin-left: 100px;">Territory Tab</span>
Sitepoint Reference: http://reference.sitepoint.com/css/linkingcss
Hi, if you want a value like that, perhaps you would be better off setting the span to float:left; or setting the parent to text-align:right;?
But as the poster above mentioned you need to include the style attribute, so style=“margin-left:100px;”