Click to See Complete Forum and Search --> : PC's Help !! (Pc blue screen with my mac website)


philaga
05-21-2003, 01:58 AM
Hello,

I have build a website with my mac powerbook, and it happend to be unsurfing for PC's. just look at the code below (index.html and style-t.css) or inline at http://philaga.free.fr

Someone know Why ?

thanks,

Philippe.

-----------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Histoires de Pastels (base) </title>
<base target="_top">
<link rel="STYLESHEET" type="text/css" href="styles/style-t.css">
<script language="javascript" src="scripts/tst.js">
val = "eko"
</script>
</head>


<body bgcolor="#333366">

<frameset cols="18%,82%" border="1">
<script>
val = true;
</script>
<frameset rows="90,200,*,85" bordercolor="black" border="0" marginheight="1">
<frame src="html/titrevert.html" name="titrv">
<frame src="html/visits.html" name="visits">
<frame src="html/optvisits.html" name="navig">
<frame src="html/liensvert.html" name="liensv">
</frameset>
<frameset rows="*,60" bordercolor="grey" border="0">
<frame src="entreeliens.html" name="affichimg">
<frame src="html/titraccueil.html" name="titrimg">
</frameset>

</frameset>

</body>
</html>

------------ style-t.css

.body {font-face:arial; bgColor:#333366;}
.titre {font-size:16pt;color:red;}
.headlines {font-size:14pt;color:#ff6600;}
.sublines {font-size:12pt; color:#33ccff;}
.infotext {font-size: 10pt; color:#33ccff;}
.actions {font-size: 10pt; color="yellow";}
.jslink {cursor:pointer;}
.swpimg{cursor:crossair;}

Lucky Punch
05-21-2003, 02:25 AM
Just remove the <body> tags.

Lucky

DaveSW
05-21-2003, 06:39 AM
You may want to provide content for people who's browsers don't support frames. To do this, put your frameset code after the end head tag, as Lucky said, then put the body tags like


</frameset>
<noframes>
<body>
<P> hi </p>
</body>
</noframes>
</html>

dave

Bon Chance!

philaga
06-11-2003, 04:25 AM
Thanks,

I thought it was a small "betise" and it was.

with <body> removed, look : it works, isn't it ?

let's look at :
http://philaga.free.fr (the usefull one)

http://philaga.free.fr/index.withbodytags.html (the unusefull one)

Thanks to everybody who answerd and a special one for Lucky Punch who solved the problem.

bye,

Philippe

Charles
06-11-2003, 04:44 AM
Originally posted by philaga
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> That's the wrong DOCTYPE for a frameset. Use instead:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">

If you knew what you were doing then I would suggest that you use the following DOCTYPE on your other pages:

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

But from yuor mark up above, I'm going to have to suggest that you use:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

But if you are really using HTML 4.01 Transitional then it would be:

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