A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: css problem

  1. #1
    Member
    Join Date
    Feb 2001
    Posts
    63
    I have a simple stylesheet that is causing a problem

    e.g

    BODY {font-size: 10pt; font-family: Arial, Helvetica, sans-serif; color: black; !important; margin: 0em 2em }
    P {font-size: 10pt; font-family: Arial, Helvetica, sans-serif; color: black;}
    TD {font-size: 10pt; font-family: Arial, Helvetica, sans-serif; color: black;}

    The trouble is when I change the browser text size settings some of the text is effected and some isn't.

    I think this is due to the class="MsoNormal" tag that is cropping up in the HTML.

    It there anyway to define this tag in the linked stylesheet so that I have more control over it?

    Cheers.

  2. #2
    Junior Member
    Join Date
    Jan 2002
    Posts
    11
    I think that declaring font sizes using pt or px prevents them from being changed by the browser.

    You could try using em instead

  3. #3
    Member
    Join Date
    Feb 2001
    Posts
    63
    Yeah, I know that, I'm not really that bothered, I would just like all of the content to change or all of it to stay the same. At the moment it varies depending on the MsoNormal occurance.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center