Nigdy nie robiłem strony w ramkach. Zawsze bazowałem na tabelach bo to jest wygodniejsze i podobno lepsze.
A więc jak przyszło mi stworzyć stronę w ramkach napotkałem kilka problemów....
Oto szkielet strony.
Kod
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<title>Nowa strona 1</title>
<!--mstheme--><link rel="stylesheet" type="text/css" href="_themes/sky/sky1011-1250.css"><meta name="Microsoft Theme" content="sky 1011, default">
</head>
<frameset cols="160,*,160" border="0" cellpadding="0" cellspacing="0" framespacing="1">
<frame name="nic1" src="nic1.htm" scrolling="no" noresize target="_self">
<frameset rows="190,60,*,73" border="0" cellpadding="0" cellspacing="0">
<frame name="logo1" scrolling="no" noresize target="spis" src="logo1.htm" style="color: #FFFFFF">
<frameset cols="*,70%">
<frame name="logo2" scrolling="no" noresize target="spis" src="logo2.htm">
<frame name="logo3" src="nowa_strona_1.htm">
</frameset>
<frameset cols="210,*,150" border="0" cellpadding="0" cellspacing="0">
<frameset rows="120,500">
<frame name="menu1" target="podstawowa" src="menu1.htm" scrolling="no" noresize>
<frame name="menu3" src="nowa_strona_2.htm" scrolling="auto">
</frameset>
<frameset rows="*,75%">
<frame name="podstawowa" src="podstawowa.htm" scrolling="no" noresize>
<frame name="podstawowa1" src="nowa_strona_3.htm">
</frameset>
<frame name="menu2" target="podstawowa" src="menu2.htm" scrolling="no" noresize>
</frameset>
<frame name="dolna" scrolling="no" noresize target="spis" src="dolne.htm">
<noframes>
<body>
<p>Ta strona używa ramek, ale ta przeglądarka nie obsługuje ich.</p>
</body>
</noframes>
</frameset>
<frame name="nic1" src="nic2.htm" scrolling="auto" noresize>
</frameset>
</frameset>
</html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<title>Nowa strona 1</title>
<!--mstheme--><link rel="stylesheet" type="text/css" href="_themes/sky/sky1011-1250.css"><meta name="Microsoft Theme" content="sky 1011, default">
</head>
<frameset cols="160,*,160" border="0" cellpadding="0" cellspacing="0" framespacing="1">
<frame name="nic1" src="nic1.htm" scrolling="no" noresize target="_self">
<frameset rows="190,60,*,73" border="0" cellpadding="0" cellspacing="0">
<frame name="logo1" scrolling="no" noresize target="spis" src="logo1.htm" style="color: #FFFFFF">
<frameset cols="*,70%">
<frame name="logo2" scrolling="no" noresize target="spis" src="logo2.htm">
<frame name="logo3" src="nowa_strona_1.htm">
</frameset>
<frameset cols="210,*,150" border="0" cellpadding="0" cellspacing="0">
<frameset rows="120,500">
<frame name="menu1" target="podstawowa" src="menu1.htm" scrolling="no" noresize>
<frame name="menu3" src="nowa_strona_2.htm" scrolling="auto">
</frameset>
<frameset rows="*,75%">
<frame name="podstawowa" src="podstawowa.htm" scrolling="no" noresize>
<frame name="podstawowa1" src="nowa_strona_3.htm">
</frameset>
<frame name="menu2" target="podstawowa" src="menu2.htm" scrolling="no" noresize>
</frameset>
<frame name="dolna" scrolling="no" noresize target="spis" src="dolne.htm">
<noframes>
<body>
<p>Ta strona używa ramek, ale ta przeglądarka nie obsługuje ich.</p>
</body>
</noframes>
</frameset>
<frame name="nic1" src="nic2.htm" scrolling="auto" noresize>
</frameset>
</frameset>
</html>
I teraz mam taki kłopot. Po uruchomieniu tej strony zobacze jakąś tam budowę strony, ale będzie ona zajmowała dokładnie 100% wysokości i szerokości przeglądarki a ja chciałbym żeby była ''wyższa'' tzn. można było przewijać całą stronę.
Tak jak teraz na forum po prawej stronie ----> jest pasek przewijania to ja bym chciał mieć taki na stronie. Nie w poszczególnych ramkach.
Jak to zrobić?