different browsers

G

Guest

Hi,
I opened my site for the first time in Firefox, as opposed to IE, and the
format was a bit out. Is this normal? Is there a way to get it to look the
same in different broswers?
Any tips will be helpful
Lisl
 
T

Tom Willett

Just add it in code view.
--
===
Tom Willett
Microsoft MVP - FrontPage
---
FrontPage Support:
http://www.frontpagemvps.com/
===
| thanks, no it doesn't validate - the first error is that there's no
doctype
| on the page
| can I add that with FP?
|
| "Murray" wrote:
|
| > Does your page validate here -
| >
| > http://validator.w3.org
| >
| > The most common reason for a difference between the two browsers is that
you
| > have used IE proprietary methods/code.
| >
| > --
| > Murray
| > --------------
| > MVP FrontPage
| >
| >
| > | > > Hi,
| > > I opened my site for the first time in Firefox, as opposed to IE, and
the
| > > format was a bit out. Is this normal? Is there a way to get it to look
the
| > > same in different broswers?
| > > Any tips will be helpful
| > > Lisl
| >
| >
| >
 
G

Guest

thanks very much for all the info
i assume I have to add the doctype to all the pages? not just the index?
in FP2003 there are 3 dt's to choose from, dt2, dt3, dt4 - what's the
difference and which one do I use?
thanks again
 
G

Guest

thanks, I chose that one but when I run my site at the validator it still
says error
I've found another dtd in this forum somewhere:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
Does this do the same as the FP doctype? should I stick to the FP dt, or use
this one instead? And why oh why is it still not validating?
 
M

Murray

That doctype is dt4.

Having a doctype does not prevent the validator from finding errors in your
code, nor will adding a doctype to a page that contains coding errors then
cause those errors to go away.

To get a page that validates, you need to have a valid and complete doctype,
*and* a page that is error free.

Can you post a link to your page? Someone here can help you fix it most
likely.
 
G

Guest

thanks very much,
www.thebabyhomepage.com


Murray said:
That doctype is dt4.

Having a doctype does not prevent the validator from finding errors in your
code, nor will adding a doctype to a page that contains coding errors then
cause those errors to go away.

To get a page that validates, you need to have a valid and complete doctype,
*and* a page that is error free.

Can you post a link to your page? Someone here can help you fix it most
likely.
 
M

Murray

The doctype must be the first thing on the page - above <html>.

On your home page, you have -

<html>
<head>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

on your interior page, you have -

<html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<head>

Then try your validation again.

Note - on both pages you say "for every 1,000 squares sold, we donate". You
donate what, exactly?
 
G

Guest

thanks soooo much for taking the time and trouble!
there are still some errors though, mostly to do with margin settings - i'm
not quite sure how to fix those
really appreciate all the help the last couple of days
lisl
 
M

Murray

there are still some errors though, mostly to do with margin settings -
i'm
not quite sure how to fix those

I am. Get them out of your body tag, and set the page margins in CSS.

Change this -

<body marginwidth=".." marginheight=".." topmargin=".." leftmargin=".."....>

to this -

<body....>

and add this to your CSS -

body { margin: top right bottom left; }
(replacing the top right bottom left with the desired values WITH UNITS)
 
G

Guest

HI Murray, now I'm finally getting somewhere, but it's not perfect yet. I've
got a long way to go with CSS, which I've ignored up to now. Thanks again for
your help!! Much appreciated
Lisl
 
M

Murray

The examples are snippets from the existing pages, not demonstrations of how
it *should* be! 8)

It should be above <html>.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top