I try to make the background to resize on user resolution but it show like in the pictures below
http://imageshack.us...0128162718.png/ <-thats how it looks on my resolution
http://imageshack.us...otoshare2w.png/ <-thats how it looks on a different resolution
the code is :
<!DOCTYPE html>
<html>
<head>
<title>KriptonixCommunity</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/default.css" rel="stylesheet" type="text/css" />
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/init.js" type="text/javascript"></script>
<style>
html,body
{
background-image:url('bg.jpg');
background-repeat:no-repeat;
background-position:center;
width: 100%;
height: 100%;
overflow-x:hidden;
overflow-y:auto;
margin: 0px;
padding: 0px
}
#banner {
overflow: hidden;
margin: 0 0 0 0;
padding: 0 0 0 0;
width: 101%;
height: 250px;
}
table,th,td
{
border:0px solid black;
background-repeat:no-repeat;
background-position:center;
overflow-x:hidden;
overflow-y:auto;
}
a {text-decoration: none}
.player
{
position: fixed;
top: 300px;
left: 85%;
width: 100%;
}
</style>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Visual Slideshow, Online Slideshow, Photos Slideshow" />
<meta name="description" content="Visual Slideshow created with Visual Slideshow, a free wizard program that helps you easily generate beautiful web slideshow" />
<link rel="stylesheet" type="text/css" href="engine/css/slideshow.css" media="screen" />
<style type="text/css">.slideshow a#vlb{display:none}</style>
<script type="text/javascript" src="engine/js/mootools.js"></script>
<script type="text/javascript" src="engine/js/visualslideshow.js"></script>
</head>
<body>
<div id="banner" align="center">
<img src="banner2.jpg">
</div>
<div class="menu">
<a href="#">Forum</a>
<a href="#">Metin2kTx</a>
<a href="#">Vote</a>
<a href="#">Contact</a>
</div>
<table align="center" border="2" valign="center" width="800" height="500">
<tr><td>
<div id="show" class="slideshow">
<div class="slideshow-images">
<a href="#"><img id="slide-0" src="data/images/sigla.jpg" alt="sigla" title="sigla" /></a>
<a href="#"><img id="slide-1" src="data/images/cs.kriptonix.jpg" alt="cs.KripToniX" title="cs.KripToniX" /></a>
<a href="#"><img id="slide-2" src="data/images/kriptonix.jpg" alt="kriptonix" title="kriptonix" /></a>
<a href="#"><img id="slide-3" src="data/images/metin2kriptonix.jpg" alt="metin2KripToniX" title="metin2KripToniX" /></a>
</div>
<td width="156" height="274"><div class="player">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="156" height="274"
style="position:absolute; left:0;center:0;">
<param name="movie" value="player.swf" />
<param name="quality" value="high" />
<param name="allowScriptAccess" value="always" />
<param name="wmode" value="transparent">
<embed src="player.swf"
quality="high"
type="application/x-shockwave-flash"
WMODE="transparent"
width="156"
height="274"
pluginspage="http://www.macromedia.com/go/getflashplayer"
allowScriptAccess="always" />
</object>
</div>
</table>
<table align="center" valign="center" width="800" height="490">
<tr><td><span style="background-color: #000000;"><iframe width="800" height="450" src="http://www.youtube.com/embed/edYCtaNueQY?rel=0;showinfo=0;controls=1;HD=1;" frameborder="0" allowfullscreen></iframe>
</table>
<div id="wrapfooter" align="center" valign="bottom">
<span class="copyright" style="color:#666666;font-weight:bold"> © 2013 <a href="http://www.kriptonixcommunity.com/" style="color:#669966;font-weight:bold"> kriptonix community</a> , inc. all rights reserved</span>
</div>
</body>
</html>
can someone tell me what i make wrong?
I need it fast so need some advices please.

New Topic/Question
Reply


MultiQuote




|