Jump to content


hughet

Member Since 30/09/2006
Offline Last Active 26/05/2007, 22:31
-----

Posts I've Made

In Topic: Problemas No Layout..

21/05/2007, 15:03

O IE 6 não suporta PNG-24, Ai ele faz aquela bicheira :P
Você vai ter que usar GIF's mas ai fica "mal feito", melhor você usar JPG fatiando aquela imagem todinha e botando em uma tabela, essa é minha dica!

Vou fatiar pra você e mandar a tabela pronta, ai é só você por :D
Espera ai!

Eu botei as fotos fatiadas dentro desse aquivo .rar:
Link pra donwload (rapidshare):

http://rapidshare.co...8/Topo.rar.html

E no seu site, ao invez de:
<tr>
<th height="135" colspan="3" align="right" valign="middle" background="imagens/topo.jpg"><a href="index.php?act=home"><img src="imagens/botao1.png" alt="" width="114" height="39" border="0" /></a><a  href="index.php?act=sobre">(..etc, etc...)</a><a href="index.php?act=contato"><img src="imagens/botao6.png" alt="" width="92" height="39" border="0" /></a><img src="imagens/space.png" width="50" height="39" alt="" /></th>
</tr>

Você vai botar uma tabela dentro de outra:

<table id="table" width="771" height="135" border="0" cellpadding="0" cellspacing="0">
<tr>
<td rowspan="3">
<img src="images/pt1.jpg" width="315" height="135"></td>
<td colspan="8">
<img src="images/pt2.gif" width="456" height="53"></td>
</tr>
<tr>
<td><img src="images/pt3.gif" width="36" height="29"></td>
<td><a href="#">
<img src="images/bt1.gif" width="79" height="29"></a></td>
<td><a href="#">
<img src="images/bt2.gif" width="63" height="29"></a></td>
<td><a href="#">
<img src="images/bt3.gif" width="50" height="29"></a></td>
<td><a href="#">
<img src="images/bt4.gif" width="41" height="29"></a></td>
<td><a href="#">
<img src="images/bt5.gif" width="47" height="29"></a></td>
<td><a href="#">
<img src="images/bt6.gif" width="46" height="29"></a></td>
<td>
<img src="images/pt4.gif" width="94" height="29"></td>
</tr>
<tr>
<td colspan="8">
<img src="images/pt5.gif" width="456" height="53"></td>
</tr>
</table>


E pra tirar a borda dos botões você bota, na tag <head> do html:

<style type="text/css">
#table img {
   border : none;
}
</style>

Qualquer dúvida...

In Topic: Problema Php-apache-mysql

24/01/2007, 12:05

Já vis isto, mas nada!
Já tentei botar o mysqli_connect pra tentar a conexão ao invéz de mysql_connect...
Mas também não deu em nada!

Quando boto alguma coisa pra conectar ao MySQL ela fica infinitamente carregando e nunca aparece nada!
Se eu abrir o phpMyAdmin ele fala:


"
Mensagens do MySQL :
#2003 - The server is not responding
"

Problema resolvido, naquelas linhas que eu disse eu modifiquei:
Botei a port 3306
Tava 3309, mas eu reinstalei o MySQL, consegui deixar 3306, botei lá 3306 e funcinou, fiz outras coisas também que não lembro! =P

; at MYSQL_PORT.
mysql.default_port =

apenas acrescentei a porta

; at MYSQL_PORT.
mysql.default_port = 3306

In Topic: Super-curso De Php

04/01/2007, 15:52

Eu procurei no google e achei...
O link foi trocado!
Agora o site com esse curso é:
http://www.guanabara.info/php/

-------------------
VALEU hughet, arrumei no primeiro post tbm...

In Topic: Problemas Com Firefox

02/01/2007, 01:36

<div style="border-style:groove; position: absolute; top: 267px; left: 43px; width: 670px; height: 475px; z-index: 10; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px">
<font color="#000000">
<textarea rows="30" name="S1" cols="130" style="font-family: Times New Roman; font-style: italic; font-weight: bold; text-align: justify; background-color: #E6E6E6">

Você já tentou diminuir o width? :P

Eu vou te falar uma coisa... conhece "CSS Hacks?"
Na verdade quem ta errado provavelmente é o IE...
Então, "regula" o tamanho pelo FireFox, vai diminuindo esse width, até fica a largura que você quer...
depois disso logo após isso bote o tamanho do IE, só que antecedido de um "_" ->underline.

exemplo...

[bla bla bla]...position: absolute; top: 267px; left: 43px; width: 470px; _width: 670px...[bla bla bla]

o Firefox interpretará como 470px mas o IE vai reformatar o width com o segundo comando do width!
Só o IE vai aceitar esse underline na frente, copie essa parte e cole:



<div style="border-style:groove; position: absolute; top: 267px; left: 43px; /* mude esse width se quiser */ width: 470px _width: 670px; height: 475px; z-index: 10; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px">
<font color="#000000">
<textarea rows="30" name="S1" cols="130" style="font-family: Times New Roman; font-style: italic; font-weight: bold; text-align: justify; background-color: #E6E6E6">

É isso ai, se empenhe bastante, se não funcionar...
acrescenta um "display:block;"
se não funcionar posta aqui de novo!

In Topic: Problemas Com Css Me Ajudem

01/10/2006, 16:38

Resolvi quase tudo :P
era só botar um display:block; para deixar o menu do jeito que eu queria!
E os outros foi soh retirar uns paddings, porque no Internet Explorer...
O padding "apenas arrasta", já no Mozilla, Opera, Netscape, ele "aumenta", não sei explicar, só testando, ao invez de so jogar pro lado, ele "aumenta" tudo, aumenta o botao...
Exemplo...
.btn {
...
height:30;
width:120;
padding:0 0 0 20;
}
<p class="btn">Botão</p>

No internet explorer ele vai ficar no width (largura) 120px com a letra 20px pra direita...
Já no Mozilla Firefox, Opera, Netscape e outros... Ele vai ficar com o texto 20px pra direita também, mas o botao vai aumentar o botao pra width 140px (120+20)...Saco? :P

IPB Skin By Virteq