1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

same font size in TABLE tags than in the rest of the block?

Discussion in 'CSS' started by mxlabs, Jun 8, 2005.

  1. #1
    I have a problem with my css setup... I changed to an all-css design but I have a problem with tables within <div> tags.

    The font size in these tables does not match the font size I set for the div tags for some reason. how can I force tables to use the same font size?
     
    mxlabs, Jun 8, 2005 IP
  2. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If it's IE you are having this problem with, it seems to be a bug in IE. A work-around is to set font properties explicitly for the table element:

    table {font: 10pt Arial, sans-serif;}

    J.D.
     
    J.D., Jun 8, 2005 IP
  3. ljCharlie

    ljCharlie Member

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #3
    Many thanks for your help. I don't think it's the font. This problem occurs in Mozilla too.
     
    ljCharlie, Jun 8, 2005 IP