HighDots Forums  

Re: How to display table and select next to each other

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: How to display table and select next to each other in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
BootNic
 
Posts: n/a

Default Re: How to display table and select next to each other - 09-07-2008 , 11:09 PM






On Sun, 7 Sep 2008 18:01:04 -0700 (PDT)
"removeps-groups (AT) yahoo (DOT) com" <removeps-groups (AT) yahoo (DOT) com> wrote in:
<ae34e738-5ed5-4393-9c6e-8e6ee03f558e (AT) r15g2000prh (DOT) googlegroups.com>

Quote:
How to display table and select next to each other?

[snip]
So the question is how to get it to align the top of the select with
the top of the table in Mozilla and IE.
Consider supporting just a few more browsers.

The following URL may display as desired. It does use a wee bit of
invalid CSS in an attempt to support more Mozilla browsers.

http://tinyurl.com/5fmn8o

--

BootNic Sun Sep 7, 2008 11:09 pm
Humor is emotional chaos remembered in tranquility.
*James Thurber*

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkjEl3YACgkQylMUzZO6jeLIJwCggrP+do9ah9 wp3v6AUVOTx+/J
ZJMAoK4YiZwVZthuUYaVVdKsdzrJHAEX
=/u7g
-----END PGP SIGNATURE-----



Reply With Quote
  #2  
Old   
Bergamot
 
Posts: n/a

Default Re: How to display table and select next to each other - 09-08-2008 , 04:36 PM







BootNic wrote:
Quote:
The following URL may display as desired. It does use a wee bit of
invalid CSS in an attempt to support more Mozilla browsers.

http://tinyurl.com/5fmn8o
Forget the invalid CSS... I thought surely this is invalid HTML - a
select element that is *not* inside a form element - yet it passes HTML
4.01 Strict validation.

Curious.

--
Berg


Reply With Quote
  #3  
Old   
Roy A.
 
Posts: n/a

Default Re: How to display table and select next to each other - 09-08-2008 , 07:40 PM



On 8 Sep, 22:36, Bergamot <berga... (AT) visi (DOT) com> wrote:
Quote:
BootNic wrote:

The following URL may display as desired. It does use a wee bit of
invalid CSS in an attempt to support more Mozilla browsers.

http://tinyurl.com/5fmn8o

Forget the invalid CSS... I thought surely this is invalid HTML - a
select element that is *not* inside a form element - yet it passes HTML
4.01 Strict validation.

Curious.
The HTML is valid. A div element can contain a flow entity (block or
inline).
A form control, like select, is an inline element:

<!ELEMENT DIV - - (%flow* -- generic language/style
container -->
<!ENTITY % flow "%block; | %inline;">
<!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special; |
%formctrl;">
<!ENTITY % formctrl "INPUT | SELECT | TEXTAREA | LABEL | BUTTON">

http://www.w3.org/TR/REC-html40/sgml/dtd.html

"The elements used to create controls generally appear inside a FORM
element, but may also appear outside of a FORM element declaration
when they are used to build user interfaces."
<http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.2.1>


Reply With Quote
  #4  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: How to display table and select next to each other - 09-09-2008 , 11:29 AM



Roy A. wrote:

Quote:
"The elements used to create controls generally appear inside a FORM
element, but may also appear outside of a FORM element declaration
when they are used to build user interfaces."
The "but" part really means that the authors of HTML specifications wanted
to allow, at the syntax level, the use of <input> elements and other form
fields elements so that they are handled completely via client-side
scripting (read: JavaScript).

As a side effect, the syntax also allows <textarea> to be used just to
create a scrollable text box - which is almost always a foolish idea.

ObCSS: You can use CSS to make a <div> element (or e.g. <p> element)
scrollable.

Yucca



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.