SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Jan 2004
    Location
    uk
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Why won't Netscape recognise this?

    Please help, I thought I was getting better The following style from an external stylesheet works perfectly in IE6 but produces no result in NS7, everything else works fine in both.

    Code:
    #record{
    border:1px solid #666;
    padding:5px;
    margin:5px;
    color:#000;
    }
     
    #record table{
    width:470px;
    margin:10px;
    background:#fff;
    border:1px solid;
    font-size:12px;
    }
     
     
    #record .label, #record th {
    border:0px;
    text-align:center;
    background:#ff9933;
    font-variant:small-caps;
    font-weight:bold;
    color:#fff;
    }
     
    #record th{
    text-align:left;
    font-size:14px;
    color:#000;
    border-bottom:0px;
    }
     
    #record td{
    height:1em;
    border:1px solid #ff9933;
    border-collapse:collapse;
     
    }
    Last edited by steved1956; Sep 13, 2004 at 23:59.
    Steve
    When all else fails, persistence prevails
    UK House Prices

  2. #2
    SitePoint Guru bronze trophy blufive's Avatar
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Seems to be working fine for me here in Mozilla Firefox (which uses a more recent version of the same rendering engine as NN7)

    Which exact version of NN7? 7.0, 7.1 or 7.2? Despite the similar numbers, there are fairly substantial back-end differences...

  3. #3
    SitePoint Guru bronze trophy blufive's Avatar
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Though while I'm looking at it, what's going on here:
    Code:
    <table class="general"><tablebody><thead><th colspan="4">General</th></thead>
    <tablebody>? Ain't no such beastie, IIRC. From the closing tag, perhaps you mean <tbody>? Though if so, the <thead> should be outside (and before) it, not inside it.

  4. #4
    SitePoint Zealot
    Join Date
    Jan 2004
    Location
    uk
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by blufive
    Though while I'm looking at it, what's going on here:
    Code:
    <table class="general"><tablebody><thead><th colspan="4">General</th></thead>
    <tablebody>? Ain't no such beastie, IIRC. From the closing tag, perhaps you mean <tbody>? Though if so, the <thead> should be outside (and before) it, not inside it.
    More haste less speed! I'm not bad at php but my html and CSS skills are on a steep curve - probably straight up

    Thanks for the help blufive. Have since sorted it by moving it up the style sheet which makes me think I have something else wrong - but it's all working OK so I'll finish my O'really CSS book and look later.

    Will fix my <tablebody> and thead errors also.

    Thanks again.
    Steve
    When all else fails, persistence prevails
    UK House Prices


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
  •