CSS Problem?
Posted: Tue Nov 26, 2002 10:40 am
I am trying to use the CSS alternative to cellpadding and cellspacing (Padding and border-spacing) but I am have problems! When usign the CSS there is a airline gap between my table and the top and side of the broswer, if I use the HTML commands the gap goes away! Also when I veiw the page in Netscape uses the commands ok, its IE that has the probelms?
The code I use is below, all I do is call the table has a class in the HTML file, I dont know wether that is ok or wether it should be done in a differnt way?
table.menu {
margin-top: auto;
border: 0px;
border-spacing: 0%;
padding: 0%;
width: 200px;
height: 100%;
vertical-align: middle;
text-align: center;
}
Hope you can help me out!
Glenn Curtis
The code I use is below, all I do is call the table has a class in the HTML file, I dont know wether that is ok or wether it should be done in a differnt way?
table.menu {
margin-top: auto;
border: 0px;
border-spacing: 0%;
padding: 0%;
width: 200px;
height: 100%;
vertical-align: middle;
text-align: center;
}
Hope you can help me out!
Glenn Curtis