Try removing the padding/margins from the table? I dislike tables except for displaying tabular data, so I always go with custom forms.
-Thadeus On Sun, Oct 25, 2009 at 1:40 PM, annet <[email protected]> wrote: > > I built a layout: > > > <div id="twoColLayout"> > <div id="primarycolumn"> > </div> <!-- primarycolumn --> > <div id="secondarycolumn"> > <div id="secondarycontents"> > <div id="top" class="module"> > <form name="input" action="" method="get"> > <input type="text" name="user" /> > <input type="submit" value="Submit" /> > </form> > </div> <!-- top module --> > <div id="bottom" class="module coloured"> > </div> <!-- bottom module coloured --> > </div> <!-- secondarycontents --> > </div> <!-- secondarycolumn --> > </div> <!-- twoColLayout --> > > > ... and tested it in Safari and Firefox on Mac OS X and in Internet > Explorer, Firefox and Opera, everything was displayed correctly. > > Then I used the layout as a view in one of my web2py applications, on > Mac OS X the view displayed correctly, however on Windows the layout > broke: the primary column and secondary column overlap. As far as I > can tell this problem is introduced by the form being replaced with a > form generated by web2py: > > > <form action="" enctype="multipart/form-data" method="post"><table><tr > id="no_table_user__row"><td><label for="no_table_user" > id="no_table_user__label">User: </label></td><td><input > class="ac_input" id="clubbyuser" name="user" type="text" /></td><td></ > td></tr><tr id="submit_record__row"><td></td><td><input type="submit" > value="Submit" /></td><td></td></tr></table><div class="hidden"><input > name="_formkey" type="hidden" value="1ddaa60f-c163-49a0-9279- > cc8edc6b02b0" /><input name="_formname" type="hidden" > value="no_table_create" /></div></form> > > > I wonder whether one of you has faced the same problem, and if so, how > you did solve it. > > > Kind regards, > > Annet > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

