Results 1 to 4 of 4
  1. #1
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Appleton, Wisconsin, USA
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CSS and ASP.NET fun

    So I have a .css sheet set for my ASP.NET pages. I've set attributes for font color and size. The color attribute applies bee-yoo-tifully, but font size will not change within tables. What am I missing?

    Thanks!

  2. #2
    5 Star Lounger
    Join Date
    Jul 2002
    Location
    Toronto, Ontario, Canada
    Posts
    1,139
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: CSS and ASP.NET fun

    Did you add td styles to your css as well as a p style?

    This set's the Paragraph font
    p { font-family: Haettenschweiler; font-size: 12pt }

    This sets the font inside the tables
    td { font-family: Haettenschweiler; font-size: 12pt }

    If you use th tags as well, you will need to create a style for those as well.
    --
    Bryan Carbonnell - Toronto <img src=/S/flags/Ontario.gif border=0 alt=Ontario width=30 height=18> <img src=/S/flags/Canada.gif border=0 alt=Canada width=30 height=18>
    Unfortunately common sense isn't so common!!
    Visit my website for useful Word, Excel and Access code, templates and Add-Ins

  3. #3
    2 Star Lounger
    Join Date
    Feb 2001
    Location
    Appleton, Wisconsin, USA
    Posts
    188
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: CSS and ASP.NET fun

    That's it! Thanks - just getting started in the whole CSS deal and I hadn't seen anywhere where td tags were used - AND I couldn't figure out why I could change color and font style, but not size.

    Thanks Toronto!

  4. #4
    5 Star Lounger
    Join Date
    Jul 2002
    Location
    Toronto, Ontario, Canada
    Posts
    1,139
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: CSS and ASP.NET fun

    Quite welcome.

    Glad that was it.
    --
    Bryan Carbonnell - Toronto <img src=/S/flags/Ontario.gif border=0 alt=Ontario width=30 height=18> <img src=/S/flags/Canada.gif border=0 alt=Canada width=30 height=18>
    Unfortunately common sense isn't so common!!
    Visit my website for useful Word, Excel and Access code, templates and Add-Ins

Posting Permissions

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