By Anonymous (not verified) on
Hi, Im making a theme for my website: http://www.chips-n-bits.com using phptemplate.
Now this isn't directly related to it, but when i go to the page for "Submitting a Page" or "Submitting a Poll", the form elements go VERY wide, causing everything to their right to be shifted across to the right. They are in my opinion, overly large, with no need for it, and clearly leave no room for having a right sidebar as well as a left one, both at decent widths.
Anyway, does anyone know how I can change the widths on these, because they are forcing everything too wide? To my knowledge, it couldn't be done with a template, so how do I make the widths go to a decent size? Thanks
Comments
You use CSS.
Look at the source code, Drupal assigns a unique class or id to the form inputs, I'm pretty sure.
I can't find it out. I view
I can't find it out. I view the source, but it just seems like the most confusing form setup I have ever seen...
It has a size 60 set on the input boxes, and a col 60 on the text area.
There are so many ids, names, and classes split amongst various divs and things that I don't know which one to edit...
But surely if it is already set as a size/col 60, then editing the CSS will have no effect?
The CSS will override the
The CSS will override the html form size settings.
Find the form tag you want to resize, ie, <textarea> or <input> and look for the id of that particular element. Then make a class in your stylesheet for that id.