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. [newbie] Text size problem

[newbie] Text size problem

Scheduled Pinned Locked Moved ASP.NET
csharphtmlcssasp-netvisual-studio
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.
  • J Offline
    J Offline
    jon 80
    wrote on last edited by
    #1

    I'm running an ASP.NET project using mainly html; I'm not sure how to make the text a bit larger, because even when I adjust the tags within the .css file, the text seems to remain of the same size. [CODE] Articles.aspx ------------ ... <asp:Content ContentPlaceHolderID="Body" runat="server"> [B] <span class="body">[/B] This page is still under construction. </span> </asp:Content> ... [/CODE] [CODE] common.css ------------ ... body{ background-position: #fff; font: 62.5%/2.2em "Lucida Grande", Tahoma, Verdana, Arial, Helvetica, sans-serif; color: #4b4942; background: #fff; font-size: x-large; } ... [/CODE] :confused: Screenshots of output at http://cid-b712073b3513eb8e.skydrive.live.com/self.aspx/.Public/blog-what bugs me.docx Source available at http://cid-b712073b3513eb8e.skydrive.live.com/self.aspx/.Public/Blog.rar Environment Visual Studio 2008 SP1 + .NET 3.5 SP1 WinXP SP2 IIS 5.1

    Jon

    A 1 Reply Last reply
    0
    • J jon 80

      I'm running an ASP.NET project using mainly html; I'm not sure how to make the text a bit larger, because even when I adjust the tags within the .css file, the text seems to remain of the same size. [CODE] Articles.aspx ------------ ... <asp:Content ContentPlaceHolderID="Body" runat="server"> [B] <span class="body">[/B] This page is still under construction. </span> </asp:Content> ... [/CODE] [CODE] common.css ------------ ... body{ background-position: #fff; font: 62.5%/2.2em "Lucida Grande", Tahoma, Verdana, Arial, Helvetica, sans-serif; color: #4b4942; background: #fff; font-size: x-large; } ... [/CODE] :confused: Screenshots of output at http://cid-b712073b3513eb8e.skydrive.live.com/self.aspx/.Public/blog-what bugs me.docx Source available at http://cid-b712073b3513eb8e.skydrive.live.com/self.aspx/.Public/Blog.rar Environment Visual Studio 2008 SP1 + .NET 3.5 SP1 WinXP SP2 IIS 5.1

      Jon

      A Offline
      A Offline
      AhsanS
      wrote on last edited by
      #2

      [B] [/B] This page is still under construction.

      Firstly you should do it like

      [B] This page is still under construction. [/B]

      Secondly make sure that you have included the css file in your page.

      Ahsan Ullah Senior Software Engineer MCTS 2.0

      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