[webspell] Probleme du codage (image de fond)
Dernière réponse : dans Programmation
Bonjour, mon probleme est le suivant :
J'ai installé un site avec comme base du webspell sur lequels j'ai uplodé un théme webspell ( compatible ). J'ai modifier la mise en forme ( la disposition des block ). selement voila se que sa donne :
http://infonet83.free.fr/site/index.php
Comme vous pouvez le voir j'ai redimentionné les 2 block du centre mais l'image de fond ( le noir et gris ) rest coupé en trois colone se qui n'ai vraiment pas térrible.
Je voudrai donc soit faire en sorte que le fond prénne toute la largeur, soir qu'il soit coupé en 2 ( au bon endroit, à l'intersection des 2 block ).
Voici le contenu de l'index.php
J'ai cherché dans l'index mais sans succés.
Si quelqu'un méttrise bien se type de codage et qu'il peut m'apporté son aide je l'en remercie
J'ai installé un site avec comme base du webspell sur lequels j'ai uplodé un théme webspell ( compatible ). J'ai modifier la mise en forme ( la disposition des block ). selement voila se que sa donne :
http://infonet83.free.fr/site/index.php
Comme vous pouvez le voir j'ai redimentionné les 2 block du centre mais l'image de fond ( le noir et gris ) rest coupé en trois colone se qui n'ai vraiment pas térrible.
Je voudrai donc soit faire en sorte que le fond prénne toute la largeur, soir qu'il soit coupé en 2 ( au bon endroit, à l'intersection des 2 block ).
Voici le contenu de l'index.php
<?php
include("_mysql.php");
include("_settings.php");
include("_functions.php");
?><head>
<style type="text/css"><!--
.tablebg
{
background-image:url(images/design_36.jpg);
background-repeat:no-repeat;
}
.tablebgleft
{
background-image:url(images/design_48.jpg);
background-repeat:no-repeat;
}
.loginbg
{
background-image:url(images/design_15.jpg);
background-repeat:no-repeat;
height: 113px;
}
--></style>
<title><? echo PAGETITLE; ?></title>
<link href="_stylesheet.css" rel="stylesheet" type="text/css">
<script src="js/bbcode.js" language="jscript" type="text/javascript"></script>
<title></title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="MM_preloadImages('images/designh_12.jpg','images/designh_16.jpg','images/designh_17.jpg','images/designh_18.jpg','images/designh_19.jpg','images/designh_22.jpg','images/designh_25.jpg','images/designh_26.jpg','images/designh_28.jpg','images/designh_29.jpg','images/designh_30.jpg','images/designh_31.jpg','images/designh_32.jpg','images/designh_35.jpg','images/designh_37.jpg','images/designh_38.jpg','images/designh_39.jpg','images/designh_40.jpg','images/designh_42.jpg','images/designh_44.jpg','images/designh_45.jpg')">
<div align="center">
<table border="0" width="998" cellspacing="0" cellpadding="0">
<tr>
<td width="998" style="background-image: url('images/design_03.jpg'); width: 1000px; height: 150px; padding-top:127px; padding-left:72px; padding-right: 400px"><? include("sc_scrolltext.php"); ?></td>
</tr>
<tr>
<td width="998" style="background-image: url('images/design_49.jpg')">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="149" valign="top">
<table border="0" width="149" cellspacing="0" cellpadding="0">
<tr>
<td width="149" style="background-image: url('images/design_05.jpg'); width: 149px; height: 22px"></td>
</tr>
<tr>
<td width="149"><a href="?site=news" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('news','','images/designh_12.jpg',1)"><img src="images/design_12.jpg" name="news" width="149" height="21" border="0"></a></td>
</tr>
<tr>
<td width="149"><a href="?site=news&action=archive" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('archiv','','images/designh_16.jpg',1)"><img src="images/design_16.jpg" name="archiv" width="149" height="21" border="0"></a></td>
</tr>
<tr>
<td width="149"><a href="?site=articles" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('articles','','images/designh_17.jpg',1)"><img src="images/design_17.jpg" name="articles" width="149" height="21" border="0"></a></td>
</tr>
<tr>
<td width="149"><a href="?site=calendar" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('calendar','','images/designh_18.jpg',1)"><img src="images/design_18.jpg" name="calendar" width="149" height="21" border="0"></a></td>
</tr>
<tr>
<td width="149" style="background-image: url('images/design_20.jpg'); width: 149px; height: 21px"></td>
</tr>
<tr>
<td width="149"><a href="?site=members" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('members','','images/designh_22.jpg',1)"><img src="images/design_22.jpg" name="members" width="149" height="21" border="0"></a></td>
</tr>
<tr>
<td width="149"><a href="?site=clanwars" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('clanwars','','images/designh_25.jpg',1)"><img src="images/design_25.jpg" name="clanwars" width="149" height="21" border="0"></a></td>
</tr>
<tr>
<td width="149"><a href="?site=history" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('history','','images/designh_26.jpg',1)"><img src="images/design_26.jpg" name="history" width="149" height="21" border="0"></a></td>
</tr>
<tr>
<td width="149"><a href="?site=awards" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('awards','','images/designh_28.jpg',1)"><img src="images/design_28.jpg" name="awards" width="149" height="21" border="0"></a></td>
</tr>
<tr>
<td width="149"><a href="?site=sponsors" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('sponsors','','images/designh_29.jpg',1)"><img src="images/design_29.jpg" name="sponsors" width="149" height="21" border="0"></a></td>
</tr>
<tr>
<td width="149"><a href="?site=server" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('servers','','images/designh_30.jpg',1)"><img src="images/design_30.jpg" name="servers" width="149" height="21" border="0"></a></td>
</tr>
<tr>
<td width="149"><a href="?site=challenge" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('fight us','','images/designh_31.jpg',1)"><img src="images/design_31.jpg" name="fight us" width="149" height="21" border="0"></a></td>
</tr>
<tr>
<td width="149" style="background-image: url('images/design_33.jpg'); width: 149px; height: 21px"></td>
</tr>
<tr>
<td width="149"><a href="?site=demos" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('demos','','images/designh_37.jpg',1)"><img src="images/design_37.jpg" name="demos" width="149" height="21" border="0"></a></td>
</tr>
<tr>
<td width="149"><a href="?site=gallery" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('gallery','','images/designh_38.jpg',1)"><img src="images/design_38.jpg" name="gallery" width="149" height="21" border="0"></a></td>
</tr>
<tr>
<td width="149"><a href="?site=links" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('links','','images/designh_39.jpg',1)"><img src="images/design_39.jpg" name="links" width="149" height="21" border="0"></a></td>
</tr>
<tr>
<td width="149"><a href="?site=polls" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('polls','','images/designh_42.jpg',1)"><img src="images/design_42.jpg" name="polls" width="149" height="21" border="0"></a></td>
</tr>
<tr>
<td width="149" style="background-image: url('images/design_46.jpg'); width: 149px; height: 22px"></td>
</tr>
<tr>
<td width="149" class="tablebgleft"></td>
</tr>
</table>
<table width="145" border="0" align="center" cellpadding="0" cellspacing="2">
<tr>
<td><? include("counter.php"); ?></td>
</tr>
</table></td>
<td width="649" valign="top">
<table width="649" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="649" class="tablebg" height="153" valign="top">
<table width="649" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td style="background-image: url('images/design_09.jpg'); width: 325px; height: 23px"></td>
<td style="background-image: url('images/design_24.jpg'); width: 325px; height: 23px"></td>
</tr>
<tr>
<td><? include("sc_results.php"); ?></td>
<td><? include("sc_headlines.php"); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td width="649" style="background-image: url('images/design_07.jpg'); width: 645px; height: 22px"></td>
</tr>
<tr>
<td width="649"><?
if(!isset($site)) $site="news";
//Sichheitslücke beheben
$invalide = array('/','/\/',':','.');
$site = str_replace($invalide,' ',$site);
if(!file_exists($site.".php")) $site = "news";
include($site.".php");
?></td>
</tr>
</table>
</td>
<td width="200" valign="top">
<table width="200" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="200" style="background-image: url('images/design_11.jpg'); width: 200px; height: 23px"></td>
</tr>
<tr>
<td width="200" class="loginbg" valign="top"><? include("login.php"); ?></td>
</tr>
<tr>
<td width="200" style="background-image: url('images/design_21.jpg'); width: 200px; height: 22px"></td>
</tr>
<tr>
<td width="200" class="tablebg" height="153" valign="top"><div align="center"><br><? include("msponsors.php"); ?></div></td>
</tr>
<tr>
<td width="200" style="background-image: url('images/design_41.jpg'); width: 200px; height: 22px"></td>
</tr>
<tr>
<td width="100" height="98" class="tablebg" valign="top"><div align="center"><br>
<a href="<a href="http://www.klibr.eu/" target="_blank">http://www.klibr.eu/</a>" target="_blank"><img src="images/klibr.jpg" width="100" height="98" border="0"></a><br>
<? include("partners.php"); ?></div></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="998" style="background-image: url('images/design_50.jpg'); width: 998px; height: 20px"></td>
</tr>
</table>
</div>
</body>
J'ai cherché dans l'index mais sans succés.
Si quelqu'un méttrise bien se type de codage et qu'il peut m'apporté son aide je l'en remercie
Autres pages sur : webspell probleme codage image fond
Lassé par la pub ? Créez un compte
Lassé par la pub ? Créez un compte
- Contenus similaires :
Tags :
- ForumEquivalent echo php en javascript
- ForumFormulaire php anti spam
- ForumPassage de parametre par url php
- ForumSession apache php demarrage automatique
- ForumRedirection html 301 sans apache, php, .
- ForumActualisation de champs php javascript
- ForumTelecharger programmes pour programmer php
- ForumPhp mysql login et mot de passe
- ForumCodé un design
- ForumDownload programme changer index html index php
- Voir plus