Ask a Question related to ASP.NET, Design and Development.
-
Kay #1
how to Align text left & vertical align middle
Hello,
I have a asp lable control, which I use to display text in, I would like to
have the text display aligned in the center and vertical alignment left
however when I add the following style to the lable it does not work
<asp:label id="lblBanner" style="text-aligh:left;vertical-align:middle;"
runat="server" Width="100%" ></asp:label>
could someone please tell me how to display the text valign middle and text
align left.
Thanks,
Kay.
Kay Guest
-
Spry horizontal menu: vertical text align issue
Hello all, I have a simple horizontal Spry menu I'm working on. The menu is single level - no submenus. The problem is that I cannot get the... -
How to add vertical align attribute to designer
Hi, I am trying to add designer support to my custom web control. It's similar to the Panel control and I'd like to allow the user to specify... -
I cannot get a png file to align all the way to left ofthe browser
So I have my navbar created in fireworks and it works fine, its just that I cannot get to line up on the left side of the browser... There is... -
How to set button text Align to left?
How to set button.text Align to left? -
Can perltidy left-align side comments to a specific column?
Dear Perl beginners and mentors thereto, I would like to use perltidy to left-align side comments in a Perl script to a specific column, if... -
Chuck Haeberle #2
Re: how to Align text left & vertical align middle
Spell text-align properly.
"Kay" <kokeeffe@proteus.ie> wrote in message
news:OpbD6OgUDHA.1776@TK2MSFTNGP09.phx.gbl...to> Hello,
>
> I have a asp lable control, which I use to display text in, I would liketext> have the text display aligned in the center and vertical alignment left
> however when I add the following style to the lable it does not work
>
> <asp:label id="lblBanner" style="text-aligh:left;vertical-align:middle;"
> runat="server" Width="100%" ></asp:label>
>
> could someone please tell me how to display the text valign middle and> align left.
>
> Thanks,
> Kay.
>
>
Chuck Haeberle Guest
-
Kay #3
Re: how to Align text left & vertical align middle
Yes I have it spelled correctly in the application that was a typo when I
was typing up the message. My query is that setting the style does not do as
I would have expected i.e. vertical align in the middle and text align left.
Does any one know how to achive this ?
Thanks,
Kay.
"Chuck Haeberle" <chaeberl@contractor.nocienaspam.com> wrote in message
news:ubOlmcgUDHA.2104@TK2MSFTNGP10.phx.gbl...> Spell text-align properly.
>
> "Kay" <kokeeffe@proteus.ie> wrote in message
> news:OpbD6OgUDHA.1776@TK2MSFTNGP09.phx.gbl...> to> > Hello,
> >
> > I have a asp lable control, which I use to display text in, I would like> text> > have the text display aligned in the center and vertical alignment left
> > however when I add the following style to the lable it does not work
> >
> > <asp:label id="lblBanner" style="text-aligh:left;vertical-align:middle;"
> > runat="server" Width="100%" ></asp:label>
> >
> > could someone please tell me how to display the text valign middle and>> > align left.
> >
> > Thanks,
> > Kay.
> >
> >
>
Kay Guest



Reply With Quote

