marvy
Gebruiker
- Lid geworden
- 25 dec 2000
- Berichten
- 396
Hallo,
Ik begrijp niet waarom de stijl niet wordt aangepast na het toevoegen van het style gedeelte.
Het is een oefening uit het boek "HTML , XHTML & CSS for dummies"
Ik begrijp niet waarom de stijl niet wordt aangepast na het toevoegen van het style gedeelte.
Het is een oefening uit het boek "HTML , XHTML & CSS for dummies"
HTML:
!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”[url]http://www.w3.org/1999/xhtml”[/url] lang=”en” xml:lang=”en”>
<head>
<title>Pixel’s Page</title>
<meta http-equiv=”Content-Type” content=”text/html; charset=ISO-8859-1” />
<style type=”text/css”>
#navBar{
background-color: #CCC;
border-bottom: #999;
border-left: #999;
border-width: 0 0 thin thin;
border-style: none none groove groove;
display: block;
float: left;
margin: 0 0 0 10px;
padding: 0 10px 0 10px;
width: 107px;
line-height: 0.2em;
}
</style>
</head>
<body>
<h1>I’m Pixel the Cat. Welcome to my page.</h1>
<div id=”navBar”>
<p>Links of interest:</p>
<p><a href=”http://www.google.com/”>Google</a></p>
<p><a href=”http://www.amazon.com/”>Amazon</a></p>
<p><a href=”http://www.bing.com/”>Bing</a></p>
<!--
</div>
<img src=”/images/pixel1.jpg” alt=”The Cat” width=”320” height=”240”
id=”theCat” /> -->
</body>
Laatst bewerkt door een moderator: