css - HTML — Two Tables Horizontally Side by Side -
css - HTML — Two Tables Horizontally Side by Side -
it's me again. i'm trying tables next each other horizontally, got. i'm not sure why code not indented??...
<tr> <th> <span onclick="togglediv('favdata', 'favdataimg')" style="cursor: hand;">favorites <img name="favdataimg" src="../images/minus.gif" /></span> </th> </tr> <tr> <td style="width: 300px; text-align: left; padding-right: 30px;"> <div id="favdata" style="display: block;"> <fieldset style="width: 240px;"> <legend>favorites</legend> <table border="0" align="left"> <input type="radio" name="publicradio" value="public" >public: </input> <select name="publicdropdown"> <option value="public dropdown" selected="selected">public dropdown</option> </select> <br><br> <input type="radio" name="userradio" value="user" >user: </input> <select name="userdropdown"> <option value="user dropdown" selected="selected">user dropdown</option> </select> <br><br> <input type="radio" name="customradio" value="custom" >custom: </input> </table> </fieldset> <fieldset style="width: 240px;"> <legend>favorites</legend> <table border="0" align="left"> <input type="radio" name="publicradio" value="public" >public: </input> <select name="publicdropdown"> <option value="public dropdown" selected="selected">public dropdown</option> </select> <br><br> <input type="radio" name="userradio" value="user" >user: </input> <select name="userdropdown"> <option value="user dropdown" selected="selected">user dropdown</option> </select> <br><br> <input type="radio" name="customradio" value="custom" >custom: </input> </table> </fieldset> </div> </td> </tr>
i think you're missing few lines of html start of re-create , paste, you'll want add together float:left
css of first fieldset.
html css
Comments
Post a Comment