| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
corporate whore
Join Date: Oct 2007
Location: Umeå, Sweden
Posts: 247
|
Styling the form tag
So yeah I'm positioning my search field inside a header div and basically I want to ask, is it ok to use <form> tag to position it instead of wrapping the form in a div and then positioning the div? Sounds like a dumb question I know but I'm curious, I don't want to fall into the world of "divitis" |
|
|
|
|
|
#3 (permalink) |
|
corporate whore
Join Date: Oct 2007
Location: Umeå, Sweden
Posts: 247
|
Really? so wrap div's around inputs to make them valid? That's the first I've heard of this... did I miss something? So would this be invalid? Code:
|
|
|
|
#6 (permalink) |
|
shiro
Join Date: Aug 2007
Location: Yokohama, Japan
Posts: 2,537
|
Nice little tip on the fieldset tag - I've always used divs, but I never liked it because it felt like I was forcing it. The fieldset tag looks like what I need. And to answer the original question, yes, you can use the form tag for positioning. |
|
|
|
#9 (permalink) |
|
For all your goober needs
Join Date: Dec 2004
Location: Coventry, UK
Posts: 1,528
|
a list anyone? Time is really the only capital that any human being has, and the one thing that he can’t afford to lose. - Thomas Edison
prem ghinde |
|
![]() |