Posts: 13
Name: krator
Location: Brasil , Porto Seguro
|
gosh I'm having some little problems with this lay-uot, I'm ultiliza, css but he already has some tables T_T, if someone can help me, this site is,( www.creddinh.com.br/dinh/emprestimo.php ) and here's the code yourself.
he's messy and it has the property valign and I can not manipulate it.
Quote:
<?header("content-type: text/html; charset=iso-8859-1",true);
include"admin/configs/banco.php";
include"admin/configs/tabelas.php";
include"admin/funcoes/funcoes.php";
$Idioma = 1;
?><?
$meses['01'] = "Janeiro";
$meses['02'] = "Fevereiro";
$meses['03'] = "Margo";
$meses['04'] = "Abril";
$meses['05'] = "Maio";
$meses['06'] = "Junho";
$meses['07'] = "Julho";
$meses['08'] = "Agosto";
$meses['09'] = "Setembro";
$meses['10'] = "Outubro";
$meses['11'] = "Novembro";
$meses['12'] = "Dezembro";
?>
<HTML>
<head>
<meta name="google-site-verification" content="C_whXBJSZbE8RSZMS5tn7KBm_0euJ2kUDiqCRtI0K yg" />
<meta name="google-site-verification" content="xBgKKA6KIx0xtMGjLsKfIMxOHRXEwJ-TCo9xPiUxCeE" />
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content="classificados, bahia, usados, imóveis, aluguel, compra, venda, veículos, pequenos anúncios" />
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="estilo.css"/>
</head>
<LINK REL="SHORTCUT ICON" HREF="icone.ico">
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-4252191-1";
urchinTracker();
</script>
<TITLE>Cred Dinh</TITLE>
<style>
body, table, input, textarea, select { font-family:Trebuchet MS; font-size:11px; }
input, textarea, select { border:1px solid #777; }
a { color: #464D53; text-decoration: none; }
a:hover{ color: #262D33; text-decoration: underline; }
img { border-color:#445; }
#menu { width: 160px; padding: 0; margin: 0; font-family: Trebuchet MS; font-weight:bold; text-align:justify;}
#menu ul, #menu2 ul { list-style: none; margin: 0; padding: 0; }
#menu li, #menu2 ul { margin: 0; }
#menu li a { background: #fff; font-size: 11px; display: block; padding: 2px 2px 2px 2px; color: #333; text-decoration: none; border:1px solid #333;}
#menu li a:hover { background: #222; color: #fff; font-size:10px; }
#top{margin-top:-20px;}
#top2{margin-top:-12px;}
#menu2 li { font-size: 13; background: #555; display: block; padding: 2px 2px 4px 5px; color: #fff; text-decoration: none; }
#divtable{text-align:left; margin-top:40px; margin-left:40px;}
#divtable2{text-align:left; margin-top:10px; margin-left:0px;}
#divtable3{text-align:left; margin-top:10px; margin-left:0px;}
#divtable4{text-align:left; margin-top:10px; margin-left:0px;}
.o { font-size:18px; color:#006531; text-align:justify;}
.Subcat{ display:none; }
.b5{font-size:5px;}
.busca { font-size:15px; width:220px; }
.buscabt{ font-size:15px; }
.top { font-size:18px; color:#777;}
.d:hover {color:#000; font-size:16px; font-weight:bold; text-decoration:none;}
.d{ color:#009932; font-size:14px; text-decoration:none; font-family:arial}
.m { color:#fff; font-weight:bold; font-size:12px; font-family:arial; }
.m:hover { color:#eee; }
.m2 { color:#999; font-size:12px; }
.m2:hover { color:#555; }
.lembrete{ display:none; }
</style>
<body bgcolor='#eeeeee' style='margin:0'>
<script>
function Ampliar(foto){
window.open("view.php?img="+foto,"","height=420,wi dth=530");
}
</script>
<center>
<div id="headerleft">
<object classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000" width="1060" height="182" id="FlashID" title="creddinh">
<param name="movie" value="Flash CredDinh.swf">
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="6.0.65.0">
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="Flash CredDinh.swf" width="1060" height="182">
<!--<![endif]-->
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="6.0.65.0">
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
<table width='720' cellpadding='0' cellspacing='0' style='border:3px solid #ddd;'>
<tr><Td colspan='3'><center><br>
<div id="top">
<Table height='31' width='1060' cellpadding='0' cellspacing='0'>
<tr><td height='31' width='auto' background='btop.gif'><center>
<A href='./?/conteudo/regras/' class='m'>HOME</a>
<A href='./?/conteudo/quem/' class='m'>QUEM SOMOS</a>
<A href='./?/conteudo/anuncio/' class='m'>EMPREENDIMENTOS</a>
<A href='./?/contato/' class='m'>CONTATO</a>
</tr>
</table>
</div>
<div id="top2">
</div>
<tr><td valign='top'><div style='background:#ffffff; border:3px solid #ddd'><Table width='170'>
<tr><td bgcolor='#006600'><a href='?/conteudo/regras/'><b style='font-size:15px;color:#fff;'>Categorias</b></a></td></tr>
</td>
</div>
</tr>
<div id="geral">
<Table>
<?
if($_SERVER['REQUEST_URI']){
$uri = $_SERVER['REQUEST_URI'];
$urr = explode('/',$uri); reset($urr);
next($urr); // Temp -> enquanto o dommnio nco for ativado...
$i = next($urr); if($i=="?"){ $i = next($urr); }
$s = next($urr);
$n = next($urr);
if($i=="conteudo"){ $i='secs'; }
if(!$i){ $i='home'; }
if(!file_exists("inc/$i.php")){
?><Center><Br><Br><b>Pagina nco encontrada!</b><Br><Br><a href='http://www.classificadaobahia.com.br'>www.classificadaoba hia.com.br</a><br><Br><?
}
}
$ii = $i;
if(file_exists("inc/$i.php")){ include"inc/$i.php"; }
if($i!=$ii){ if(file_exists("inc/$i.php")){ include"inc/$i.php"; } }
?>
<?$nc;
$bB=mysql_query("SELECT * FROM {$DB_PRENOM}_categorias WHERE idioma='$Idioma' ORDER BY nome");
while($v=mysql_fetch_array($bB,MYSQL_ASSOC)){ $nc++;
if($cor=='#eeeeee'){ $cor = '#ffffff'; } else { $cor = '#eeeeee'; }
?><tr><td bgcolor='<?=$cor?>'>
<a href='?/categoria/<?=$v[id]?>/'><?=$v[nome]?></a></td></tr>
<?}
?>
</table>
</div>
<Tr>
</table>
</div>
</div>
</div>
<br>
</td></tr>
</table>
<div id="rodape2">
</div>
</td>
<td valign='top' width='160'> </td>
</table>
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
//-->
</script>
|
I thank you all!
and here's the css I created, I'm sorry if you have a lot wrong.
Quote:
#headerleft {background: url(images/bg-left.png) repeat-x;
background-position:top left;
}
#mainmenu{ margin-top:40px;
margin-left:40px;
}
#rodape { background: url(images/rodape.png) repeat-x;
height:100px;
width:1060px;
margin-top:-30px;
position:relative;
}
#rodape2{ background: url(images/rodape.png) repeat-x;
height:100px;
width:1060px;
margin-top:-50px;
position:relative;
}
#geral { height ;
width:600px;
margin-left:300px;
margin-top:200px;
}
|
Last edited by krator; 08-05-2010 at 10:53 AM..
|