How to get multiple selected values of select box in php?

I have a html form which has a select list box from which you can select multiple values because its multiple property is set to multiple. Consider form method is ‘GET’. The html code for the form is as follows: <html> <head> <title>Untitled Document</title> </head> <body> <form id=”form1″ name=”form1″ method=”get” action=”display.php”> <table width=”300″ border=”1″> <tr> … Read more

Fit cell width to content

Given the following markup, how could I use CSS to force one cell (all cells in column) to fit to the width of the content within it rather than stretch (which is the default behaviour)? <style type=”text/css”> td.block { border: 1px solid black; } </style> <table style=”width: 100%;”> <tr> <td class=”block”>this should stretch</td> <td class=”block”>this … Read more

CSS3’s border-radius property and border-collapse:collapse don’t mix. How can I use border-radius to create a collapsed table with rounded corners?

Edit – Original Title: Is there an alternative way to achieve border-collapse:collapse in CSS (in order to have a collapsed, rounded corner table)? Since it turns out that simply getting the table’s borders to collapse does not solve the root problem, I have updated the title to better reflect the discussion. I am trying to … Read more