SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Rusted & Weathered HumanClay's Avatar
    Join Date
    Sep 2000
    Location
    Milwaukee, WI
    Posts
    225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am having a problem with CSS.. I am trying to make my site look the same in all common browsers. So far, everything works just fine in IE 5+, and Netscape 4.5

    The problem comes with Netscape 6.0. My main body text is not following my CSS code. It is formatting as Times font in standard size. Every other CSS tag is working in Netscape 6 exept for my body text area...

    I have the following defined in my styles.css file:

    Code:
    .bodyText {
      color:#000000;
      font-family: verdana,arial,helvetica;
      font-size: 10pt;
    }
    And in my php document, I have the following:

    Code:
    <table width=100>
    <tr>
    <td><span class=titleText>Title Page</span><br>
    
    <span class=bodyText>This is the body of my page. It
    goes here, but does not format correctly according
    to my CSS definition?!?!<p>
    I have .titleText defined in the same was as .bodyText except font size is one size up and is bold. The title appears correct in Netscape 6, but the body of the page is not...

    Does anyone know what the problem is? I'd rather not post my URL for my site here, as my page is not nearly completed yet, but if you must see the page, can you either leave your e-mail here so I can send the URL to you, or else e-mail me: ccapon@execpc.com


    <Edited by HumanClay on 01-12-2001 at 01:24 AM>
    Steve Caponetto - [profile] [e-mail]
    CreedFeed.com - feed your need for Creed!

  2. #2
    SitePoint Zealot honging's Avatar
    Join Date
    Jan 2001
    Location
    Chapel Hill, NC
    Posts
    160
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Although I'm not entirely sure, I would try defining "td" in your css file as well with what you have in the body text (or whatever the "default" text is).

  3. #3
    Rusted & Weathered HumanClay's Avatar
    Join Date
    Sep 2000
    Location
    Milwaukee, WI
    Posts
    225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I added the "td" definition in my css file, and that worked!! Thanks honging.
    Steve Caponetto - [profile] [e-mail]
    CreedFeed.com - feed your need for Creed!


Bookmarks

Posting Permissions

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