Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   Общие вопросы о Flash (не затрагивающие ActionScript) (http://www.flasher.ru/forum/forumdisplay.php?f=60)
-   -   вёрстка под любое разрешение (http://www.flasher.ru/forum/showthread.php?t=68397)

fetisov 26.08.2005 16:35

вёрстка под любое разрешение
 
как заверстать ролик так, чтобы при любом разрешении он занимал 100% экрана?

KidsKilla 26.08.2005 16:54

<object style="display:block;" width="100%" height="100%" ...

fetisov 27.08.2005 15:29

Тогда что не так?

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
</head>
<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
style="display: block;" height="100%" width="100%"> <param
name="movie" value="3.swf"> <param name="quality" value="high">
<embed src="3.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" height="700" width="1000"></object>

</body>
</html>

iNils 27.08.2005 15:34

А ты чем смотришь? Не оперой? Потому что в embed у тебя осталось height="700" width="1000"

fetisov 27.08.2005 16:16

смотрю мозиллой. если в эмбенде поменять хайт с вайтом на 100%, брузер воспринимает сей факт как кол-во пикселов.

KidsKilla 29.08.2005 15:57

Код HTML:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">

<style type="text/css">
<!--
* {margin:0; padding:0;}
-->

</style>
</head>
<body>
<object style="display: block;" height="100%" width="100%" classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0">

<param name="movie" value="3.swf">
<param name="quality" value="high">
</object>



Часовой пояс GMT +4, время: 08:45.

Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.