www.webdeveloper.com
Results 1 to 3 of 3

Thread: Everything On This Website Disappears!

Hybrid View

  1. #1
    Join Date
    May 2010
    Posts
    2

    Everything On This Website Disappears!

    Hi i'm just new in css. http://www.knowledgechannel.org/ i don't know what seems to be the problem with this site. i saw this on firebug that style=display:none is not supposed to be there from <div class="main_container" style="display: none;"> but when i access the fileitself. it does not appear. i can only see <div class="main_container">

    help please. pretty please.

  2. #2
    Join Date
    May 2010
    Posts
    17
    Where are you accessing the file itself? Could it be a case that you have an older version on the server?

    Your styles seem all over the place, some in external css files, some at the start of the page ("embedded style") and some inline. You really need to get all your styles organised. Have them all in external files, at least then you will know what is in your css is the only thing being applied.

    I can't see anything off the top of my head, but I bet if you tidy it all up, you'll find that the problem may just make itself apparent.
    Last edited by WebJoel; 05-19-2010 at 06:00 PM. Reason: spelling, etc

  3. #3
    Join Date
    Dec 2005
    Location
    American, living in Toronto, ON. CANADA
    Posts
    6,746
    <head>
    <title>The Knowledge Channel | The Philippines&rsquo; 1st All-Educational Cable TV Channel</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="DESCRIPTION" content="The Knowledge Channel (KCh) is the first &amp; only all-educational channel on Philippine cable TV, broadcasting a wide range of curriculum-based programs for elementary &amp; high school students in the country.">
    <meta name="KEYWORDS" content="Knowledge Channel, Knowledge, Knowledge Channel Foundation, Knowledge Channel Foundation Inc., KCFI, Kch, Lopez, Lopez Group, Television, Philippine Television, Educational Television, Educational TV, Children&rs">
    <meta name="COPYRIGHT" content="2007-2010">
    <meta name="ROBOTS" content="index, follow">

    <meta name="Revisit-After" content="5 days">
    <meta name="Author" content="The Knowledge Channel Foundation, Inc.">
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    </head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Knowledge Channel - Sitemap</title>
    <!--jeeeeeeeet-->
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <script type="text/JavaScript" src="Scripts/curvycorners.src.js"></script>
    <script type="text/JavaScript">
    addEvent(window, 'load', initCorners);

    function initCorners() {
    var settings = {
    tl: { radius: 10 },
    tr: { radius: 10 },
    bl: { radius: 10 },
    br: { radius: 10 },
    antiAlias: true
    }
    curvyCorners(settings, ".sub_right");
    }

    </script></head>
    "<head></head>" should contain everything between "<html>" and "<body>", and there is only one 'opening' and one 'closing' tag for this element. You've got two here.

    and things like this:

    <td class="news_title"><a href=""><a href="pressdetails.php?id=48"></a></td>
    not going to work this way :-)

    and although "<p>" is an 'optional tag':

    <td><div align="justify">

    <p>There is no better joke than the kind that drives you to fits of uncontrollable laughter and then leaves you with a thought or two to ponder abo... </div></td>
    </tr>
    and, on line 352 there is an unexpected closing "</table>" tag ("<table>" was not opened earlier)

    If you 'open a tag' you are required to implicitly 'close the tag' (missing-expected "</p>" in quote-box, above) else you encounter problems later on... this might happening in multiple places on this code. An unexpected-closing tag is generally just ignored, but it shows that something went awry with the coding.
    I only glanced at it quickly, -am sure that there are more probs.
    :-)
    Last edited by WebJoel; 05-19-2010 at 06:20 PM.
    I build for: Firefox and tweak for IE

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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