PHP expert |
|
heb nu een layout, maar 3 images worden niet getoond, 1 daarvan zie je wel in de design mode van dreamweaver, maar op het web doet hij het niet
het gaat dus om een plaajte bovenaan, in de css aangegeven als layout_top1
en nog 2 bij de navigatie balk, 1 image vooraan en 1tje achteraan
namelijk: nav_left & nav_right
EDIT: gaat alleen nog om nav_left en layout_top met nav_right had ik een domme error gemaakt (images ipv image)
dus hoop dat ik duidelijk ben geweest en iemand me kan helpe
dit is de css
body {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
color: #333333;
margin-left: auto;
margin-right: auto;
}
a:link {
color: #272c2e; text-decoration :none;
}
a:visited {
color: #272c2e; text-decoration :none;
}
a:hover {
color: #f7f7f7; text-decoration :underline;
}
a:active {
color: #272c2e; text-decoration :none;
}
.container {
width: 900px;
}
.layout_top1 {
background-image: url("images/m_top.jpg");
width: 900px;
height: 12px;
}
.layout_top2 {
background-image: url("images/Reunion_02.jpg");
width: 70px;
height: 22px;
float: left;
}
.layout_top3 {
background-image: url("images/M_clan.jpg");
width: 217px;
height: 22px;
float: left;
}
.layout_top4 {
background-image: url("images/M_m.jpg");
width: 613px;
height: 22px;
float: left;
}
.banner_left {
background-image: url("images/M_bannerleft.jpg");
width: 70px;
height: 197px;
float: left;
}
.banner {
background-image: url("images/M_banner.jpg");
width: 759px;
height: 197px;
float: left;
}
.banner_right {
background-image: url("images/M_bannerright.jpg");
width: 71px;
height: 197px;
float: left;
}
.nav_left {
background-image: url("images/M_navleft.jpg");
widht: 137px;
height: 31px;
float: left;
}
.nav_home {
background-image: url("images/M_navhome.jpg");
width: 61px;
height: 31px;
float: left;
}
.nav_forums {
background-image: url("images/M_navforums.jpg");
width: 75px;
height: 31px;
float: left;
}
.nav_downloads {
background-image: url("images/M_navdownloads.jpg");
width: 105px;
height: 31px;
float: left;
}
.nav_links {
background-image: url("images/M_navlinks.jpg");
width: 144px;
height: 31px;
float: left;
}
.nav_rooster {
background-image: url("images/M_navrooster.jpg");
width: 106px;
height: 31px;
float: left;
}
.nav_contact {
background-image: url("images/M_navcontact.jpg");
width: 85px;
height: 31px;
float: left;
}
.nav_right {
background-images: url("images/M_navright.jpg");
width: 187px;
height: 31px;
float: left;
}
body { font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px; color: #333333; margin-left: auto; margin-right: auto; } color: #272c2e; text-decoration :none; } a:visited { color: #272c2e; text-decoration :none; } a:hover { color: #f7f7f7; text-decoration :underline; } a:active { color: #272c2e; text-decoration :none; } .container { width: 900px; } .layout_top1 { background-image: url("images/m_top.jpg"); width: 900px; height: 12px; } .layout_top2 { background-image: url("images/Reunion_02.jpg"); width: 70px; height: 22px; float: left; } .layout_top3 { background-image: url("images/M_clan.jpg"); width: 217px; height: 22px; float: left; } .layout_top4 { background-image: url("images/M_m.jpg"); width: 613px; height: 22px; float: left; } .banner_left { background-image: url("images/M_bannerleft.jpg"); width: 70px; height: 197px; float: left; } .banner { background-image: url("images/M_banner.jpg"); width: 759px; height: 197px; float: left; } .banner_right { background-image: url("images/M_bannerright.jpg"); width: 71px; height: 197px; float: left; } .nav_left { background-image: url("images/M_navleft.jpg"); widht: 137px; height: 31px; float: left; } .nav_home { background-image: url("images/M_navhome.jpg"); width: 61px; height: 31px; float: left; } .nav_forums { background-image: url("images/M_navforums.jpg"); width: 75px; height: 31px; float: left; } .nav_downloads { background-image: url("images/M_navdownloads.jpg"); width: 105px; height: 31px; float: left; } .nav_links { background-image: url("images/M_navlinks.jpg"); width: 144px; height: 31px; float: left; } .nav_rooster { background-image: url("images/M_navrooster.jpg"); width: 106px; height: 31px; float: left; } .nav_contact { background-image: url("images/M_navcontact.jpg"); width: 85px; height: 31px; float: left; } .nav_right { background-images: url("images/M_navright.jpg"); width: 187px; height: 31px; float: left; }
en dit de index.php
<html>
<head>
<title>Clansite</title>
<link rel="stylesheet" href="styles.css" type="text/css" />
</head>
<body>
<div class="container">
<div class="layout_top1"></div><br />
<div class="layout_top2"></div>
<div class="layout_top3">Clan</div>
<div class="layout_top4"></div>
<div class="banner_left"></div>
<div class="banner"></div>
<div class="banner_right"></div>
<div class="nav_left"></div>
<div class="nav_home"></div>
<div class="nav_forums"></div>
<div class="nav_downloads"></div>
<div class="nav_links"></div>
<div class="nav_rooster"></div>
<div class="nav_contact"></div>
<div class="nav_right"></div>
</div>
</body>
</html>
<html> <head> <title>Clansite</title> <link rel="stylesheet" href="styles.css" type="text/css" /> </head> <body> <div class="container"> <div class="layout_top1"></div><br /> <div class="layout_top2"></div> <div class="layout_top3">Clan</div> <div class="layout_top4"></div> <div class="banner_left"></div> <div class="banner"></div> <div class="banner_right"></div> <div class="nav_left"></div> <div class="nav_home"></div> <div class="nav_forums"></div> <div class="nav_downloads"></div> <div class="nav_links"></div> <div class="nav_rooster"></div> <div class="nav_contact"></div> <div class="nav_right"></div> </div> </body> </html>
|