I’m shifting an application from cgi to web.py. I want to use the web.form. However I’ve noticed that it creates a table on its own. Is it possible to style the created table (width, height, etc…)??? If yes, how???
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The table is the result of form rendering, so naturally it’s placed within a
formelement. In my case it looks like this in thelogin.htmltemplate:In the browser, when rendered, the form looks like this:
So you can apply arbitrary styling, including positioning, to this
tableusing the following CSS: