www.webdeveloper.com
Results 1 to 8 of 8

Thread: Changing font - table in a table.

  1. #1
    Join Date
    May 2006
    Location
    Wakefield, UK
    Posts
    22

    Changing font - table in a table.

    Hi.

    I have the font set for my main table, but I have a table within that table and the font inside it wont recognize it. How can I set the font of my new table?

    Thanks.

  2. #2
    Join Date
    Nov 2005
    Location
    Houston, TX
    Posts
    42
    Can you paste the code your using?
    LanaB
    "You see but do not observe"

    Web Design & Development
    http://www.graphixsbydesign.com

  3. #3
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,214
    Hope you do post the code, but if you used a class to set font parameters for the main table, then call that class out for the inner table too. Hope you are using table tags for tabular data and not layout of page content.

    Ron

  4. #4
    Join Date
    Mar 2005
    Location
    Sydney, Australia
    Posts
    7,974
    To change the font for a table inside another table:

    Code:
    table table {font-family : arial;}
    just substitute the font you want instead of arial and put the code anywhere in your stylesheet.

    Of course 999,999 times out of 1,000,000 nesting one table inside another means that you are using the wrong HTML to identify the content of your web page.
    Stephen

  5. #5
    Join Date
    Sep 2007
    Posts
    4

    html help

    text-decoration:none in style sheet
    Last edited by kottackal; 09-15-2007 at 01:30 AM.

  6. #6
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,214
    Quote Originally Posted by kottackal
    hdgdssds
    Don't think this kind of post helps anyone!

    Ron

  7. #7
    Join Date
    May 2006
    Location
    Wakefield, UK
    Posts
    22
    Thanks for all the replies, guys

    I just went to grab my code and noticed that I had the font tag in the wrong place! Moved it down a line and hey presto!

    Thanks again for the replies

  8. #8
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    If you have a font tag ANYWHERE in your code it's in the wrong place.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles