0

Hi,
I have a literal control in my code used to display the Welcome text message when a user is logged in.

I'm having an issue with this because I would like to position it in a different place using an external style sheet.

Is it possible to do this? I would like the control to float right while the navigation control floats left.

I read on 2 different websites that it's not possible to style or position the Literal Control. Is this true? If so, is there a way around it?

Any help would be great!!!!

2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by __avd
0

Text from MSDN:

The Literal control differs from the Label control in that the Literal control does not add any HTML elements to the text. (The Label control renders a span element.) As a consequence, the Literal control does not support any style attributes, including position attributes. However, the Literal control enables you to specify whether content is encoded.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.