Click to See Complete Forum and Search --> : okay i know i missing something simple.


mandiee1967
11-13-2006, 05:05 PM
... have read so many tutorials that im confused.
I am trying to use html,javascripts, and php.
Here is where I know I have missed something or have it out of whack.

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>DevilzzAnglezz</title>
<link href="jscss/devil.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="jscss/main.js" ></script>
</head>
<body>
<div id="mainContainer" style="text-align:center;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>
<td>
<!-- XXXXXXXXXXX MENU BEGIN XXXXXXXXXX -->


any suggestions or other coments greatly appreciated. I am new at trying to use them together.

WebJoel
11-13-2006, 06:14 PM
You will have to show the entire code and tell us what is happening/not happening. The code you show looks okay to me... but if there is some issue, we'd need to validate and/or reproduce the error to find a fix. :)

I might suggest that a web document that uses external css, javascript & *php might want to have a strict !doctype, not a transitional...

mandiee1967
11-13-2006, 06:40 PM
you can veiw the source at
www.devilzzangelzz.com

mandiee1967
11-13-2006, 06:41 PM
What is not happening is any thing that is in main.js or that is php related.

WebJoel
11-14-2006, 01:31 PM
Okay, -see attached image:

You have some errors and a lot of 'warnings' to clean up. "5 errors" and "256 warnings". The "warnings" are fairly mild, -proprietary, deprecated and improperly-closed tags (things like "<br>" instead of "<br />", etc. -Somewhat dimissable).

But the image shows five rather dangerous errors, -missing/expected closes, etc. This will totally mess-up things.

-Do you have FIREFOX the browser? If you, download yours (it's FREE), and from that page, get the extention "HTML-Validator by TIDY". This 'self-installs', so it's easy.
TIDY will check your code, correct 'warnings' with one-button click, and show possible solutions to bona~fide errors, and links as to why it is an error. This is a very useful tool. :)

mandiee1967
11-15-2006, 07:46 AM
well im about to give up

got rid of the errors and it still doesn't work

WebJoel
11-15-2006, 09:32 AM
Sometimes a "warning" is as killer as an error, -like on line 344:

<td colspan="7" class="REDborderb buttonCell" style="background-color:#000000;background-image:"images/fire1.gif";background-position: bottom;background-repeat: repeat-x;">
<input type="submit" value="Submit Loss" class="jumpButtonInput"></td>

That double-quoted part in bold kills this entire line, rendering it invalid and probably un-useable. :rolleyes: Get rid of the double-quotes around images/fire1.gif. The red double-quotes can stay as they are...
In the meantime (now that the errors are corrected), I'll try to clean-up the warnings and see where that leaves us...

And just to clarify, is class="REDborderb buttonCell" one class, or two? If this is ONE class, there needs to be a "-" or a "_" between the two expressions. If they are TWO classes, nevermind. Then it would be correct and TWO classes are being applied and so long as they aren't in conflict, they both will work. :)

WebJoel
11-15-2006, 09:45 AM
I just corrected the salient warnings that might muss-up your page, and checked your page 'offline' with the link to your styles made absolute (so as to use them from my computer), -and I am seeing a very different-looking page. -That 'warning' I cited in my previous post might just have been the trouble all along...
If not, state again what the issue is here and I'll check again. :)