PDA

View Full Version : DW design view vs live view issues CSS isues


Chaud
05-30-2012, 12:24 PM
Hello, i am making a website based on Fnac, i am using dreamweaver (new ) , but i a experiencing a issues.

In "design view" everythings works as i want"
In "live view" or website view via .html file, CSS doesn't work , heres the screenshots:
Desgin view:
http://s14.postimage.org/y3xxoz7ht/design_view.jpg

Live view:
http://s13.postimage.org/429fkpunr/liveview.jpg

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Bilheteira Fnac</title>
<style type="text/css">
body,td,th {
color: #FFF;
background-color: #000;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
padding: 1px;
margin: 1px;
width: 0px;
height: 150px;
background-attachment: fixed;
background-image: none;
}
body {
background-color: #FFF;
}

div#logo{
background-color: #999;
width: 0px;
height: 140px;
}

ul#items li{
display: inline;
}
</style>
</head>

<body>
<div id="logo">
<p><img src="site imagens/fnac.jpg" width="136" height="126" hspace="1" vspace="1" align="left" /><img src="site imagens/logo2.jpg" width="224" height="79" hspace="10" vspace="1" border="0" align="top" /></p>
</div>
<div class="menu">
<ul id="items">
<li><a href="">Inicio </a></li>
<li><a href="">Bilhetes </a></li>
<li><a href="">Clientes </a></li>
<li><a href="">Espectáculos </a></li>
<li><a href="">Utilizadores </a></li>
<li><a href="">Listar Informação</a></li>
</ul>
</div>

</body>
</html>


Any help?? Thanks !

Regards,
Chaud

Corrosive
05-30-2012, 04:11 PM
That's odd. Code looks right to me...