General Community > HTML/CSS

Getting a form NOT to start on a new line?

<< < (3/3)

Tim:
I'm quite sure it's padding, but should that fail try margin: 0px;

I'm not sure anymore :)

Parham:
I use:

--- Code: ---FORM { DISPLAY:inline; }

--- End code ---

which seems to work fine

Grudge:

--- Quote from: [Unknown] on August 24, 2003, 07:37:42 PM ---That won't work on all browsers.  I did it for glow/shadow only because it is the only way.

It'd be better for cross browser compatibilty if it used another table cell...

-[Unknown]

--- End quote ---

Unknown - why would it not work on other browsers? I checked the CSS specification and display: inline was part of CSS1 - so surely it *should* be supported as that's now 7 years old!

FYI, where I need this is in the code I made to add a jump box to the page index function and basically using tables in any respect is impossible. I basically can't do it without display: inline without the box looking funny on some of the pages where it is used. Don't all (not completly outdated) browsers support CSS1??

I must confess to being ignorant in this respect.

PS - link to CSS specification entry:
http://www.w3.org/TR/REC-CSS1#display

Grudge:
BUMP! Can someone please tell me why display: inline is a bad choice? It's the *only* way I can get my formatting to work and need to know a valid reason not to use it. I don't want to create something that doesn't look anything like right for people using other browsers

[Unknown]:
If you must do it in contructPageIndex, it's the best way.

-[Unknown]

Navigation

[0] Message Index

[*] Previous page

Go to full version