News FullStory link
Hi,
In the news widget i have chosen the "title,dates,summary" list template then by default the 'Fullstory' link will display left side now i want to 'Fullstory' link display right side . how can i do this.can you please share the code .
thanks
mansoor
Hello Mansoor,
You can align the FullStory label right by applying a CSS style to the html element. To do this, please click the Edit button of the News widget, select the List Settings tab and click on the Edit selected template button under the List Template section. Then please find the following element in the template displaying the FullStory link:
<
sf:DetailsViewHyperLink
ID
=
"FullStory"
Text="<%$ Resources:NewsResources, FullStory %>" runat="server" CssClass="sfnewsFullStory" />
<
div
class
=
"right"
>
<
sf:DetailsViewHyperLink
ID
=
"FullStory"
Text="<%$ Resources:NewsResources, FullStory %>" runat="server" CssClass="sfnewsFullStory" />
</
div
>
.
right
text-align
:
right
;