kmsa píše:
fremi su uz davno minulostou..mysli moderne a do buducna
... suhlasim, ale hovorim o najjednoduchsom rieseni.
to bartas ... absolutne pozicie by mohli byt, ale iba ak mas okno dostatocnej velkosti
to kmsa ... kritika je dobra vec; napis aj Ty riesenie; aspon nejake !!! (mozes aj cez JavaScript: Zisti si velkost okna, a zadaj abs.poziciu 10px odspodu)
kod
main.html:
Kód:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Frames</title>
</head>
<frameset rows="*,100" frameSpacing="0" frameBorder="0">
<noframes>
<body>
</body>
</noframes>
<frame src="fr1.html" name="topFrame" scrolling="auto"/>
<frame src="fr2.html" name="bottomFrame" noresize/>
</frameset>
</html>
fr1.htmlKód:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>fr1</title>
</head>
<body>
<div>
<center>
<table border='1'>
<tr><td>aaa</td><td>aaa</td><td>aaa</td></tr>
<tr><td>bbb</td><td>bbb</td><td>bbb</td></tr>
<tr><td>ccc</td><td>ddd</td><td>eee</td></tr>
</table>
</center>
<div>
</body>
</html>
fr2.htmlKód:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Fr2</title>
</head>
<body>
<div>
<center>
<table border='1'>
<tr><td>11</td><td>22</td><td>22</td></tr>
</table>
</center>
<div>
</body>
</html>