HI I was designing a page with embeed css rules. because when done. i would cut the rules and put in a .css file and then import. however when i do this the design is not working could anyone help me ?
here the code
original embeed css rules
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Diestro Consulting Mexico</title>
<link rel="stylesheet" href="css/layout.css" />
</head>
<style>
body {
background-image: url(imagenes/fondoazul.png);
margin: 0px;
padding: 0px;
width: 100%;
height: 100%;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 13px;
line-height: 150%;
}
h1 {
font-size: 170%;
color: #333399;
font-weight: normal;
}
h2 {
font-size: 110%;
color: #B26C38;
}
p {
font-size: 100%;
color: #19194F;
}
p blanco {
color: White;
}
ltx {
font-size: 160%;
font-style: italic;
font-weight: bold;
color: #B8860B;
text-decoration: underline;
}
#PageContainer {
background-color: White;
width: 740px;
height: 886px;
margin-bottom: 10px;
margin-top: 40px;
margin-left: auto;
margin-right: auto;
}
#logoupleft {
background-image: url(imagenes/navdiestrooptz.png);
height: 151px;
width: 740px;
float: left;
}</style>
<body>
<div id="PageContainer">
<div id="logoupleft"></div>
</div>
</body>
</html>
-------------------------------------------------------------------
version with external .css
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Diestro Consulting Mexico</title>
<link rel="stylesheet" href="css/layout.css" />
</head>
<body>
<div id="PageContainer">
<div id="logoupleft"></div>
</div>
</body>
</html>
----------------------------------------------------------------------
.css file layout.css with is inside a folder called css which is inside the root directory of the site
body {
background-image: url(imagenes/fondoazul.png);
margin: 0px;
padding: 0px;
width: 100%;
height: 100%;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 13px;
line-height: 150%;
}
h1 {
font-size: 170%;
color: #333399;
font-weight: normal;
}
h2 {
font-size: 110%;
color: #B26C38;
}
p {
font-size: 100%;
color: #19194F;
}
p blanco {
color: White;
}
ltx {
font-size: 160%;
font-style: italic;
font-weight: bold;
color: #B8860B;
text-decoration: underline;
}
#PageContainer {
background-color: White;
width: 740px;
height: 886px;
margin-bottom: 10px;
margin-top: 40px;
margin-left: auto;
margin-right: auto;
}
#logoupleft {
background-image: url(imagenes/navdiestrooptz.png);
height: 151px;
width: 740px;
float: left;
}
so when I did the external .css it does not show anything in the browser
thanks for your help





Bookmarks