Maximus - DFX
08-28-2002, 07:08 AM
Hello, I got 2 problems:
1) It seems that when I put a padding-left/right value on a style for an <a> tag ns6 and opera6 seems to widen the <a> tag rather than pad the text. This is the css i used for the tag:
a.lixL {
display:block;
text-align:left;
text-decoration:none;
font:12px verdana,sans-serif;
color:white;
background-color:#58586C;
cursor:hand;
width:120px;
border:1px solid green;
padding-left:5px;
padding-right:5px;
}
Hopefully someone can help or tell me why its doing that. In IE the text is simply padded by 5 pix on either like it should be.
2) Why does ns6 cause spaces between images when you set the doctype to xhtml (any type). If I remove the xhtml doctype, then the images are one on top of the other with no space between but when I put the doctype, the space between them occurs. Any ideas/workarounds?
1) It seems that when I put a padding-left/right value on a style for an <a> tag ns6 and opera6 seems to widen the <a> tag rather than pad the text. This is the css i used for the tag:
a.lixL {
display:block;
text-align:left;
text-decoration:none;
font:12px verdana,sans-serif;
color:white;
background-color:#58586C;
cursor:hand;
width:120px;
border:1px solid green;
padding-left:5px;
padding-right:5px;
}
Hopefully someone can help or tell me why its doing that. In IE the text is simply padded by 5 pix on either like it should be.
2) Why does ns6 cause spaces between images when you set the doctype to xhtml (any type). If I remove the xhtml doctype, then the images are one on top of the other with no space between but when I put the doctype, the space between them occurs. Any ideas/workarounds?