/    Sign up×
Community /Pin to ProfileBookmark

Everything On This Website Disappears!

Hi i’m just new in css. [url]http://www.knowledgechannel.org/[/url] 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.?

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@ajberryMay 19.2010 — 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.
Copy linkTweet thisAlerts:
@WebJoelMay 19.2010 — [B]<head>[/B]

<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>

[B]</head>[/B]

<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>[B]</head>[/B][/QUOTE]


"<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"><[B]a href=""[/B]><[B]a href[/B]="pressdetails.php?id=48">[B]</a>[/B]</td>[/QUOTE]

not going to work this way :-)

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

<td><div align="justify">

[B]<p>[/B]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>[/QUOTE]


and, on line 352 there is an unexpected closing "[B]</table>[/B]" tag ("<table>" was not opened earlier)

If you 'open a tag' you are required to implicitly 'close the tag' (missing-expected "[B]</p>[/B]" 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.

:-)
×

Success!

Help @spajetty spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...