|
|||
Rand beim Box Model
Hallo Forum,
bin blütiger Anfänger deswegen brauche ich eure hilfe wenn ich das Box model richtig verstehe, dann darf beim folgenden quellcode kein rand entstehen. Aber rechts beim Link habe ich immer noch ein paar pixel rand warum???!!! Hilfe??!! style.css Code:
body { margin-top:10px; margin-left:50px; margin-right:50px; margin-bottom:10px; background-color: #000000; font-family: Arial; background: black; } h1 { margin-top:0px; font-family: Arial; color: #FFFFFF; background: red; } a{ font-family: Arial; text-decoration: none; color: #FFFFFF; background: yellow; } p { font-family: Arial; background: yellow; color: #FFFFFF; } Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html lang="de" xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> <head> <title>Start</title> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta content="" name="description" /> <meta content="" name="author" /> <meta content="" name="keywords" /> <meta content="MSHTML 6.00.6000.17023" name="GENERATOR" /> <link href="styles/style.css" type="text/css" rel="stylesheet" /> </head> <body> <a href="Bilder.html" >Bilder</a> <a href="Forum.html" >Forum</a> <a href="Kontakt.html" >Kontakt</a> <h1>Welcome</h1> </body> </html> |
Sponsored Links |
|
||||
mal an einen CSS-Prolog gedacht?
Ein Menü ist eine Aufzählung von Links und gehört deshalb in eine ul.
__________________
Ein mehrfacher Gruß aus dem Südosten Klaus |
Sponsored Links |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
ich habe totale Schwerigkeiten mit Absolute und Relative Positionierung?!? | damonster | CSS | 12 | 27.08.2008 16:56 |
IE 6 Box Model Bug | trequ | CSS | 0 | 11.12.2007 10:55 |
Kniffliges Layout mit float | Roadrunnerle | CSS | 6 | 14.03.2006 12:26 |
box model hack geht nicht | thalon | CSS | 7 | 12.11.2004 13:48 |
#boxes a:hover.info: 2.posting mit css !!! | marioN | CSS | 5 | 25.01.2004 18:04 |