![]() |
Source code |
1 |
border="0" cellspacing="0" cellpadding="0" |
![]() |
Source code |
1 2 3 4 5 6 7 |
body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; background-color: #0A3057; } |
Quoted
Original von patr1K
Hast du das Design bzw. den Code gemacht? Wenn man CSS benutzt sollte man es auch für alles benutzen.
Wenn ich sowas sehe wird mir schlecht:
![]()
Source code
1 border="0" cellspacing="0" cellpadding="0"
Außerdem steht bei dir im HTML:
![]()
Source code
1 2 3 4 5 6 7 body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; background-color: #0A3057; }
Wieso im HTML? Dafür hat man doch die CSS Datei.
Dir bei dem Problem zu helfen ist schwierig da man sich alle Bilder etc. runterladen oder richtig verlinken muss.
Spontan würde ich natürlich sagen, dass es an dem padding 10px liegt, aber das hast du mit Sicherheit schon probiert.
Ich kann dir empfehlen die ganzen Container etc. in verschiedenen Farben einzufärben. Dann sieht man oft besser wo was nicht stimmt...
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
#buttons { float: left; margin: 0px; padding: 0px; width: auto; } a.mainlevel { width: 184px; margin-bottom: 0; font-family: 'Verdana', 'Lucida Grande', Arial, sans-serif; font-size: 130%; background-color: transparent; color: #0A3057; } a.mainlevel:link, a.mainlevel:visited { display: block; background-position: left; background: url(../images/but1.jpg) no-repeat; color: #0A3057; line-height: 28px; height: 28px; text-decoration: none; width: 100%; padding-left:10px; } a.mainlevel:hover { display: block; background-position: left; background: url(../images/but2.jpg) no-repeat; color: #0A3057; line-height: 28px; height: 28px; text-decoration: none; width: 100%; padding-left:10px; } |
![]() |
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 |
a.mainlevel:link, a.mainlevel:visited { display: block; background-position: left; background: url(../images/but1.jpg) no-repeat; background-position: 20%; color: #0A3057; line-height: 28px; height: 28px; text-decoration: none; width: 100%; padding-left:10px; } |
![]() |
Source code |
1 |
background-position: 20%; |
![]() |
Source code |
1 |
padding-left: 25px; |
This post has been edited 3 times, last edit by "patrik" (Apr 14th 2007, 10:08pm)