[dreamweaver] Tabel bovenaan pagina

Pagina: 1
Acties:

  • wine
  • Registratie: December 2004
  • Laatst online: 21-12-2025
Ik ben vrij nieuw met websites maken, en het lukt me dan ook niet om een tabel bovenaan een pagina te krijgen.

Als ik een tabel invoeg met dreamweaver houdt deze altijd een witregel ruimte tussen de bovenkant van de pagina en de tabel.

Hoe kan ik dit veranderen?

  • YscO
  • Registratie: April 2002
  • Laatst online: 20-04 20:36
code:
1
<style> body {margin=0px;}</style>


Het liefst in een apart css document en anders in je head :P

offtopic:
2 seconden :>

[ Voor 39% gewijzigd door YscO op 17-03-2005 18:07 ]


  • Niakmo
  • Registratie: Juni 2001
  • Laatst online: 10-02-2024
margins van de body op 0 zetten.

edit:
hoe minimaal te laat kan ik zijn :)

[ Voor 45% gewijzigd door Niakmo op 17-03-2005 18:04 ]


  • wine
  • Registratie: December 2004
  • Laatst online: 21-12-2025
het wil nog niet lukken, ik heb hem in de css gezet en apart in de header maar beide willen niet werken, waar te plaatsen?


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>untitled</title>
<style> body {margin=0px;}</style>
<style type="text/css">
<!--
body {
background-color: #CCCCCC;
}
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
}
a:link {
color: #FFFFFF;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FFFFFF;
}
a:hover {
text-decoration: none;
color: #FF6600;
}
a:active {
text-decoration: none;
}
-->
</style>
</head>

<body>
<table width="745" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</body>
</html>

Verwijderd

code:
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>untitled</title>
<style type="text/css">
<!--
body,td,th {background-color: #CCCCCC; margin-top: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;}

etc...


Probeer dit eens :)

  • wine
  • Registratie: December 2004
  • Laatst online: 21-12-2025
Verwijderd schreef op donderdag 17 maart 2005 @ 18:25:
[...]


code:
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>untitled</title>
<style type="text/css">
<!--
body,td,th {background-color: #CCCCCC; margin-top: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;}

etc...


Probeer dit eens :)
Dit werkt, maar nu werken de achtergrondkleuren van mijn tabel niet meer ???

Hoe kan het anders?


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>untitled</title>
<style type="text/css">
<!--
body,td,th {background-color: #CCCCCC; margin-top: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;}
-->
</style>
</head>

<body>
<table width="745" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td> </td>
</tr>
</table>
</body>
</html>

  • wine
  • Registratie: December 2004
  • Laatst online: 21-12-2025
Het is algelukt, dank je wel allemaal
Pagina: 1