Orlando: Padding-Probleme innerhalb des Anker-Tags

Beitrag lesen

Hi Lufine,

[...] IE 5.1 sowie Opera 6.0 und ignorieren das padding-right: 30px innerhalb der des Anker-Tags schlichtweg.

a.menu:link    { color: #1443a3; text-decoration: none; padding-right: 30px }
a.menu:active       { color: #1443a3; text-decoration: none; background: #f0f0f8 url(/broschuere/grafik/hover.gif) no-repeat right; padding-right: 30px }
a.menu:visited     { color: #1443a3; text-decoration: none; padding-right: 30px }
a.menu:hover      { color: #1443a3; text-decoration: none; background: #f0f0f8 url(/broschuere/grafik/hover.gif) no-repeat right; padding-right: 30px }

wenn du die gleichbleibenden Definitionen in a.menu {} zusammenfasst, klappt es auch mit Opera 6 und M$IE 5.5, nicht allerdings mit 5.01.

a.menu         { padding-right:30px; text-decoration:none; }
a.menu:link    { color: #1443a3; }
a.menu:active  { color: #1443a3; background: #f0f0f8 url(/broschuere/grafik/hover.gif) no-repeat right; }
a.menu:visited { color: #1443a3; }
a.menu:hover   { color: #1443a3; background: #f0f0f8 url(/broschuere/grafik/hover.gif) no-repeat right; }

Grüße,
 Roland