Click to See Complete Forum and Search --> : code in IE doesnt work in Mozilla Firefox


philbennison
09-28-2005, 05:31 AM
Hi all,
I am creating a site and have tables and code postioned absolutely, however am having problems viewing in Mozilla Firefox, the code is

<!-- Search Google -->
<center>
<A style="position:absolute;left:200px;top:325px; width:550px">
<form method="get" action="http://www.google.co.uk/custom" target="_top">...........

and

<body>
<body bgcolor="#CCFFFF">
<a style="position:absolute;left:200px;top:100px" /a>
<table border="1" width="550px" bordercolor="#000080">

Any help would be greatly appreciated

Regards

Phil

NogDog
09-28-2005, 06:09 AM
Based on the snippets of code you provided, it would appear you are using link tags in an invalid manner. Have you tried validating your code at http://validator.w3.org/ ?

drhowarddrfine
09-28-2005, 07:22 AM
See links below.

philbennison
09-28-2005, 07:26 AM
Hi, thanks for the pointer, but has opened a can of worms, 65 Errors. I dont understand most of them.for example.
As this is my first webste I dont even know what HTML i am writing in, i just opened Frontpage and got going !!

My site is www.Spagoo.co.uk.

Anyone any ideas, or should i give up !!!!!

Thanks for your help

Even more confused...Phil

NogDog
09-28-2005, 07:38 AM
http://www.w3.org/TR/html4/struct/global.html#h-7.2

If you want to use deprecated tags like <center>, you'll want to use the Transitional doctype there.

philbennison
09-28-2005, 07:42 AM
As this is my first website, I dont even know what version of HTML i am using. I just opened frontpage 2003 and got going

My site is www.pagoo.co.uk

Is there a better publisher?
What am i doing?
is there anyway to replace the hair that i am currently pulling out ?

Regards

Phil

drhowarddrfine
09-28-2005, 08:00 AM
Is there a better publisher?
Anything else. Dreamweaver, especially the latest version, may be better but you could still run into problems with these automatic code generators. Many of us just use Notepad or some other editors and hand code while viewing in the Firefox browser.

drhowarddrfine
09-28-2005, 08:03 AM
The best thing I think you can do is just buckle down and learn some html. One word of advice, don't use frames or tables for layout.

Also, I forgot to say about the publishing systems above, if you know html well, you can layout using them and then just fix the code in codeview. Some people code in codeview and then view it in the program. However, some of those publishing systems browsers don't view correctly.

NogDog
09-28-2005, 08:12 AM
Personally, I use HTML-Kit to do my editing. Not that it's necessarily the best, but it suits my needs, it's free, and I'm familiar with it. If you use it or another text editor, this is the basic template I normally use when I start a document:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang='en'>
<head>
<META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=ISO-8859-1'>
<title>Page title</title>
<style type="text/css">
<!--

-->
</style>
</head>
<body>



</body>
</html>

philbennison
09-28-2005, 11:05 AM
Thanks for all your help. Ithink its back to the drawing board !

Regards


Phil :-)