General Community > HTML/CSS

Getting a form NOT to start on a new line?

<< < (2/3) > >>

[Unknown]:
But that won't validate.

-[Unknown]

Aquilo:
someone needs to go to w3c and propose the right placement of form tags. ;D

even there form tags are outside the table and that messes with validating the table :P

any way it's so small they might reject it, everything getting assigned has to do with XML ::)

[Unknown]:
Why?  There are perfectly valid ways to fix this problem, and there are reasons <form> is not allowed between <table> and <tr> or <tr> and <td>.

-[Unknown]

Tim:
Guys, the W3C has provided a great way to do this

add this to your css:


--- Code: ---form {
    padding: 0px;
}

--- End code ---

Why make things harder then they really are?

Grudge:
Hi,

thanks for all the help!

I'm gonna try tims method later. The problem is on seconds thought I can't rely on being able to use table tags. Basically, this code goes in a function that *may* be part of a table but may not. I basically have to assume that it isn't part of a table. Hopefully the padding solution shall work and be legal :D

* Grudge hopes

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version