Jump to content

DIV can grow


elsc

Recommended Posts

Hi,

 

I have a div container with minimum of 100px, and a table inside of it and print out error message,

if the error message is empty, size of div is 100px, if my php script print out the error message,

i need the div to grow with the table width,

it works in ie, but not working in firefox

 

 

<div style="width: 100;">
   <table width="100%>
   <tr><td nowrap><?php print htmlspecialchars($error_msg); ?>
   </table>
</div>

Link to comment
https://forums.phpfreaks.com/topic/180625-div-can-grow/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.