Hi. I'm floating a table to the right. Here's the css:
However, the td content sticks out of the box. (BTW, the relative position is to add a drop-shadow effect. I also tried it w/o that and still fail.) Ideas?
table.boxtip {
width: 2.5in;
float: right;
clear: both;
border: none;
border-collapse: collapse;
border-spacing: 0px;
margin: .2in .4in .2in .4in;
padding: .1in;
line-height: 1em;
background: url(images/shadow.png) no-repeat bottom right;
}
table.boxtip td {
display: block;
position: relative;
top: -6px;
left: -6px;
border: 1px dashed black;
background: #d3d3d3;
width: 2.5in;
padding: .1in;
}
However, the td content sticks out of the box. (BTW, the relative position is to add a drop-shadow effect. I also tried it w/o that and still fail.) Ideas?