Jump to content


diego1986

Member Since 07/03/2003
Offline Last Active 13/07/2008, 03:31
-----

Topics I've Started

Imagens Diferentes Para Resoluções Diferentes

18/04/2006, 09:49

olá amigos, gostaria de saber como faço um script para que qdo o usuário entrar em uma resolução diferente, a imagem de fundo também será de tamanho diferente.
Exemplo:

se resolucao="800x600" entao
imagem.fundo="800600.jpg"
senao se resolucao="1024x768" entao
imagem.fundo="1024768.jpg"
senao
imagem.fundo="12801024.jpg"
fim se

a logica seria essa ... agora so preciso dela em java script.
alguem pode me ajudar ??

Problemas No Div ! Todos Estão Na Esquerda !

13/10/2005, 21:22

Olá amigos, gostaria de saber se tem algo errado e se tiver, aonde esta o erro. Desde já obrigado pela atenção,

Diego1986



Este é o CSS
body {
	background-image: url('imgs/fundo.gif')
}
.titulo {
	font-family: "arial";
	font-size: 30pt;
	font-weight: bold;
	color: #FFFFFF;
}
.subtitulo {
	font-family: "arial";
	font-size: 10 pt;
	color: rgb(115,186,37);
}
.texto {
	font-family: "arial";
	font-size: 8pt;
	color: #000000;
}
.menu {
	font-family: "arial";
	font-size: 8pt;
	font-weight: bold;
	color: rgb (255,255,255);
	text-decoration: none;
	margin-left: 10px;
	a:link     {color: #FFFFFF}
	a:visited  {color: #FFFFFF}
	a:hover    {color: #000000}
	a:active   {color: #FFFFFF}
}
.link {
	font-family: "arial";
	font-size: 8pt;
	font-weight: bold;
	color: rgb (0,0,0);
	text-decoration: unferline;
	a:link     {color: #000000}
	a:visited  {color: #000000}
	a:hover    {color: #FF6600}
	a:active   {color: #000000}
}
img {
	border: 0px;
}
/** DIV INDEX - INICIO **/
	#index {
  width:780px;
  margin-left:0px auto;
  text-align:left;
  position:relative;
	}
	html>body #index {
  background:#F1F1F1;
	}
/** DIV INDEX - FIM **/
/** DIV TOPO - INICIO **/
	#topo {
  width:780px;
  height:150px;
  text-align:center
  position:relative;
	}
	html>body #topo {
  background:#A3D26F;
	}
/** DIV TOPO - FIM **/
/** DIV MENU - INICIO **/
	#menu {
  width:280px;
  margin-left:5px auto;
  text-alig:left;
  position:relative;
	}
	html>body #index {
  background:#F1F1F1;
	}
/** DIV MENU - FIM **/
/** DIV BLOG - INICIO **/
	#blog {
  width:500px;
  margin-left:5px auto;
  text-align:left;
  position:relative;
	}
	html>body #index {
  background:#F1F1F1;
	}
/** DIV BLOG - FIM **/
E este é o HTML
<html>
<head>
<meta http-equiv="refresh" content="180; url=index.php">
<meta http-equiv="keywords" content="palavras chaves">
<title>diego1986</title>
</head>
<link rel="stylesheet" type="text/css" href="blog.css"/>
<div id="index">
	<div id="topo">
	</div>
	<div id="menu">
	</div>
	<div id="blog">
  <p class="texto">DATA<br>
  <p class="titulo">TITULO</p><br>
  <p class="subtitulo">SUBTITULO</p><br>
  <span class="texto" style="width:600px;word-wrap:break-word;">NOTICIAS</span><br>
  <img src="img.jpg" width="300" height="200"><br>
  <hr>
  <br>
	</div>
</div>
</body>
</html>

Php Casa Bem Com Css ?

27/09/2005, 15:19

Olá, estou comecando a desenvolver sites com CSS e gostaria de saber se o CSS se daria bem com o PHP ??
Axo que rola, mas como sempre eh bom ter a opiniao/dicas e sugestoes de muita gente ... publiquei aqui um pergunta ....

O site vai ter area restrita ... sistema de login .... mas queria mesmo saber se rola fazer a parte grafica em CSS ...

Obrigado pela atenção

Diego

IPB Skin By Virteq