denhamd2
07-31-2008, 12:34 PM
Hi,
I have a div with a width of 300px placed inside a table cell with the following code <td width="200"> - I dont have access to edit the HTML therefore I need to find a solution in CSS. Basically I have the following settings for the <div> tag:
background-color:transparent;
background-image:none;
background-position:left bottom;
background-repeat:no-repeat;
left:145px;
margin-left:-8px;
padding-bottom:8px;
position:relative;
top:-105px;
white-space:nowrap;
width:300px;
z-index:1001;
but it is causing the <td> tag to stretch. is there any way I can keep the <td> tag its same width but have the <div> tag overflow out of it. I would have thought the z-index setting of 1001 would have achieved this but it didn't... any ideas?
I have a div with a width of 300px placed inside a table cell with the following code <td width="200"> - I dont have access to edit the HTML therefore I need to find a solution in CSS. Basically I have the following settings for the <div> tag:
background-color:transparent;
background-image:none;
background-position:left bottom;
background-repeat:no-repeat;
left:145px;
margin-left:-8px;
padding-bottom:8px;
position:relative;
top:-105px;
white-space:nowrap;
width:300px;
z-index:1001;
but it is causing the <td> tag to stretch. is there any way I can keep the <td> tag its same width but have the <div> tag overflow out of it. I would have thought the z-index setting of 1001 would have achieved this but it didn't... any ideas?