Gossamer Forum
Home : General : Perl Programming :

html errors....

Quote Reply
html errors....
Can someone tell me how to remove the line break that appears when you put in the </form> tag. Take a look at this website I'm creating for myself:
http://server5.hypermart.net/philipclark/movie_site/

What I want to do is get rid of the line break that is appearing underneath "Unsubscribe" and the blank line at the bottom of the "Search Movie Central" table.

Does anyone have any ideas?

I'm also getting these html errors when I run my site through http://validator.w3.org:


Line 33, column 48:
<table bgcolor="#CCCCCC" border="1" bordercolor="#000000" width="138">
^
Error: there is no attribute "BORDERCOLOR" for this element (in this HTML version) (explanation...)

Line 124, column 75:
... border="1" bordercolor="#CCCCCC" borderColorLight="#000000" cellPaddin ...
^
Error: there is no attribute "BORDERCOLORLIGHT" for this element (in this HTML version) (explanation...)


Does anyone have a solution to those errors above?

Also my site looks terrible in Netscape for some reason and I don't know what the problem is.

Take a look at this screenshot: http://server5.hypermart.net/...scape_screenshot.jpg

Any solution?

Thanks Smile.
Quote Reply
Re: html errors.... In reply to
The problem is that you are using IE specific HTML codes, which do not work well in Netscape. (example: bordercolor, bordercolorlight).

Also, you are using CSS2 codes (which is not supported in most versions of Netscape) within your css file.

Good luck!

Regards,

Eliot Lee
Quote Reply
Re: html errors.... In reply to
Thanks for the response Eliot Smile

In Reply To:
The problem is that you are using IE specific HTML codes, which do not work well in Netscape. (example: bordercolor, bordercolorlight).
Is there another sort of tag that I can use that netscape likes?

In Reply To:
Also, you are using CSS2 codes (which is not supported in most versions of Netscape) within your css file.
Do you know off the top of your head whether the latest version of Netscape supports this?

Quote Reply
Re: html errors.... In reply to
Netscape 6.1 is "supposed" to support CSS2, but if you read the documentation at Netscape and also search the Web, you will find that, in fact, it doesn't.

So, the better thing to do is avoid "alignment" objects in your CSS file and also avoid using "hover" or special font attributes, which are CSS2 codes, and again are not interoperable between IE and Netscape.

If you are using a WYSIWYG editor, like Front Page, you will need to de-bug the HTML codes. I used to use editors like Front Page years ago, but now, I strictly use raw HTML in Cold Fusion Studio and TextPad.

Regards,

Eliot Lee
Quote Reply
Re: html errors.... In reply to
Thanks for the advice.

Any ideas about the </form> problem?

Quote Reply
Re: html errors.... In reply to
What you can do is move the </form> tag outside of the </td> tag.

eg: </td></form></tr>

Alternatively you can add form { display:inline; } to your stylesheet, though this can often cause weird errors in NS.

- Mark


Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: html errors.... In reply to
Damn Netscape is really annoying me....

I ran that page through http://validator.w3.org/ and it said to change all my <font face....> tags to style sheets so I did that and now the page won't display correctly in Netscape. I think I'm going back to <font face> tags...

In Reply To:
eg: </td></form></tr>
I tried that but it didn't work :(

Quote Reply
Re: html errors.... In reply to
Are you talking about this part?

<tr bgcolor="#99CCFF">
<td>
<form method="post" action="mailto:nixonja@hotmail.com">
<p class="size1_left_black"> <BR>  

<input type="text" size="8" name="mailinglist">
<a href="javascript:alert('Under Construction - This would either add (subscribe) or delete (unsubscribe) an email address from the mailing list database.\n\nThe mailing list would be used to notify people of updates to the site and of movie news, etc.')" onMouseOver="window.status='Go: Subscribe/Unsubscribe'; return true"> <img src="images/go_red.gif" border="0" alt="Go: Subscribe/Unsubscribe" onmouseout="window.status='';return true"></a>
  <input type=radio name=mailinglist value=Subscribe>Subscribe
  <input type=radio name=mailinglist value=Unsubscribe>Unsubscribe</p>
</form>
</td>
</tr>


This should work:

<tr bgcolor="#99ccff"><td>
<form method="post" action="mailto:nixonja@hotmail.com">
<input type="text" size="8" name="mailinglist">
<a href="javascript:alert('Under Construction - This would either add (subscribe) or delete (unsubscribe) an email address from the mailing list database.\n\nThe mailing list would be used to notify people of updates to the site and of movie news, etc.')" onMouseOver="window.status='Go: Subscribe/Unsubscribe'; return true"><img src="images/go_red.gif" border="0" alt="Go: Subscribe/Unsubscribe" onmouseout="window.status='';return true"></a><
br>
&
nbsp;&nbsp;<input type="radio" name="mailinglist" value="Subscribe">Subscribe<br>
&
nbsp;&nbsp;<input type="radio" name="mailinglist" value="Unsubscribe">Unsubscribe
</td></form></tr>


- Mark


Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: html errors.... In reply to
It's a little heavy on the <TABLE>s, but it's cross-browser at least:

Code:
<table bgcolor="#000000" border="0" width="138" cellpadding="1" cellspacing="0"><tr><td>
<table bgcolor="#cccccc" border="0" width="100%" cellpadding="3" cellspacing="0"><tr><td>

<table bgcolor="#000000" border="0" width="100%" cellpadding="1" cellspacing="0"><tr><td>
<table bgcolor="#003399" border="0" width="100%" cellpadding="2" cellspacing="0"><tr>
<th>Site Information</th>
</tr></table>
</td></tr></table>

</td></tr><tr><td>

<table bgcolor="#000000" border="0" width="100%" cellpadding="1" cellspacing="0"><tr><td>
<table bgcolor="#99CCFF" border="0" width="100%" cellpadding="2" cellspacing="0"><tr><td>
&
nbsp;&nbsp;<BR>&nbsp;&nbsp;
<a href="index.htm" onMouseOver="window.status='Site Information: Home / News'; return true" onmouseout="window.status='';return true">Home / News</A><BR>&
nbsp;&nbsp;
<a href="javascript:alert('Under Construction - This would be a forum where various visitors could get together to discuss things relating to movies.')" onMouseOver="window.status='Site Information: Forum'; return true" onmouseout="window.status='';return true">Forum</A><BR>&
nbsp;&nbsp;
<a href="links.htm" onMouseOver="window.status='Site Information: Links'; return true" onmouseout="window.status='';return true">Links</A><BR>&
nbsp;&nbsp;
<a href="feedback.htm" onMouseOver="window.status='Site Information: Feedback'; return true" onmouseout="window.status='';return true">Feedback</A><BR>&
nbsp;&nbsp;
<a href="mailto:nixonja@hotmail.com" onMouseOver="window.status='Site Information: Contact'; return true" onmouseout="window.status='';return true">Contact</A><BR>&
nbsp;&nbsp;
</td></tr></table>
</td></tr></table>

</td></tr></table>
</td></tr></table>
- Mark

Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: html errors.... In reply to

</TD>
</TR>
</TABLE>

</FORM>

Rgds
Wil Stephens

Quote Reply
Re: html errors.... In reply to
Read the following article:

http://www.utoronto.ca/...2/exerpt/css-4a.html

Regards,

Eliot Lee
Quote Reply
Re: html errors.... In reply to
Thanks for all your help guys Smile. Really appreciated.