|
Posted by Krystian Pieζko on 07/22/05 19:05
Hello
First of all I wanted to say that I have never written any web page.
Now I have no choise. I've witten everything in plain HTML. It's very
simple. I have realised that this wsite is different in diff..screen
resolutions. So I tried to do something like this:
#v+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-2">
<META NAME="author" CONTENT="CO.IN.">
<META HTTP-EQUIV="Content-Language" CONTENT="pl">
<TITLE>main.html</TITLE>
</HEAD>
<SCRIPT TYPE="text/javascript" LANGUAGE="JavaScript">
<!--
if (screen.width == 640)
document.write('<BODY BACKGROUND="../images/layout640x400.jpg">');
if (screen.width == 800)
document.write('<BODY BACKGROUND="../images/layout800x600.jpg">');
if (screen.width == 1024)
document.write('<BODY BACKGROUND="../images/layout1024x768.jpg">');
if (screen.width == 1280)
document.write('<BODY BACKGROUND="../images/layout1280x1024.jpg">');
else
document.write('<BODY BACKGROUND="../images/layout800x600.jpg">');
if (self == parent)
document.write('
<DIV ALIGN="center">
<B>UWAGA!</B> To jest tylko ramka - wrΓ³Δ do
<A HREF="index.html"><B>STRONY GΕΓWNEJ</B></A>
</DIV>
<HR><BR><BR>'
);
//-->
</SCRIPT>
</BODY>
</HTML>
#v-
There is no background in this page.
I am C/C++ and shell, Perl programer I have no time to learn about css.
I wanted to do this as simple as possible, but it dosn't work. Maybe
I didn't understand the write function. How to change my code ??
Krystian
--
"You're born with a spark... to search for the truth, for the best You can
be. Practice. Discipline. Preparation. Try and try again. Then one day
You're on top and they say you're an 'overnight success', a 'natural'. You
smile, You know." *Anonymous*
Navigation:
[Reply to this message]
|