Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Size of Label

Size of Label

Scheduled Pinned Locked Moved ASP.NET
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anant MN
    wrote on last edited by
    #1

    When I place Label or ant control on the webform and on run time when I change TextSize from View menu of Internet Explorer the controls size huld not be change.It should be constant

    O 1 Reply Last reply
    0
    • A Anant MN

      When I place Label or ant control on the webform and on run time when I change TextSize from View menu of Internet Explorer the controls size huld not be change.It should be constant

      O Offline
      O Offline
      OmegaCD
      wrote on last edited by
      #2

      Hi, You need to use CSS. In the HTML view, add a STYLE tag within the HEAD tag.For example: .labelCSS { FONT-SIZE: 18px; FONT-FAMILY: Arial } Then, set the cssClass to the name of the css class that you chose (in this example labelCSS. In other words, in the cssClass property of the LAbel control type "labelCSS". Notice that there is no . (dot) in the cssClass property, only when you define the class in the style tag. If you have any question, check if I'm online in the chat room at www.kynou.com I hope I helped :)

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups