En, als je een DIV wilt maken:
<style type="text/css">
#speciaal{
position: absolute;
bottom: 10px;
right: 10px;
}
</style>
<div id='speciaal'>
</div>
Moet je dat toch zo doen??? Of moet je dan id='#speciaal' doen???
<style type="text/css">
#speciaal{
position: absolute;
bottom: 10px;
right: 10px;
}
</style>
<div id='speciaal'>
</div>
Ik begrijp niet wat er nou zo handig is aan DIV's in vergelijking tot tables.Zoekmachines kunnen beter ermee omgaan, plus dat je code netter en bovendien: tabellen zijn voor data. Niet voor positioning.
Moet je dat toch zo doen??? Of moet je dan id='#speciaal' doen???
<HTML>
<HEAD>
<STYLE TYPE="text/css">
DIV.content
{
margin: 20px;
enz...
}
</STYLE>
</HEAD>
<BODY>
<DIV CLASS="content">
Hoi
</DIV>
</BODY>
</HTML>