Results 1 to 8 of 8

Thread: [RESOLVED] Markup - Text not displayed correctly

  1. #1

    Thread Starter
    Fanatic Member snufse's Avatar
    Join Date
    Jul 2004
    Location
    Jupiter, FL
    Posts
    912

    Resolved [RESOLVED] Markup - Text not displayed correctly

    Have following:


    PHP Code:
    asp:Label ID="Label17" runat="server" Style="font-size: 30px; font-weight: bold; z-index: 100; left: 270px;
                                color: blue; font-style: italic; position: absolute; top: -110px; letter-spacing: 5px; text-align: center; 
                                vertical-align: middle; color: red; letter-spacing: 5px; background-color: transparent; font-variant: small-caps;" 
                                
    Text="AppNet" Width="300px" Height="1px"></asp:Label 
    In design mode the text is displayed as "APPNET" and not "AppNet". Any ideas?

  2. #2
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Re: Markup - Text not displayed correctly

    I would guess this:

    font-variant: small-caps;
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  3. #3

    Thread Starter
    Fanatic Member snufse's Avatar
    Join Date
    Jul 2004
    Location
    Jupiter, FL
    Posts
    912

    Smile Re: Markup - Text not displayed correctly

    I changed

    PHP Code:
    font-variant:normal 
    (instead of small-caps) and it worked.

  4. #4
    Hyperactive Member dnanetwork's Avatar
    Join Date
    Oct 2007
    Location
    Mumbai
    Posts
    349

    Re: [RESOLVED] Markup - Text not displayed correctly

    Are you playing game with us...?

    Code:
    font-variant: small-caps;
    Remove this line...to see the correct output

    wow 2day i learned new thing...!

  5. #5

    Thread Starter
    Fanatic Member snufse's Avatar
    Join Date
    Jul 2004
    Location
    Jupiter, FL
    Posts
    912

    Smile Re: [RESOLVED] Markup - Text not displayed correctly

    I removed this line and text is displayed correctly "AppNet". Thank you.

  6. #6
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: [RESOLVED] Markup - Text not displayed correctly

    snufse, out of interest, was this someone else's code that you were editing, or where did that style creep in?

    Gary

  7. #7

    Thread Starter
    Fanatic Member snufse's Avatar
    Join Date
    Jul 2004
    Location
    Jupiter, FL
    Posts
    912

    Re: [RESOLVED] Markup - Text not displayed correctly

    Gary,

    It was someone else's code. I plan on changing this using CSS.

  8. #8
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: [RESOLVED] Markup - Text not displayed correctly

    Hey,

    Ah, that makes sense.

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width