HighDots Forums  

Re: Print friendly with a <Select> </Select> statement?

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


Discuss Re: Print friendly with a <Select> </Select> statement? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Print friendly with a <Select> </Select> statement? - 08-20-2003 , 01:18 AM






shall (AT) uaex (DOT) edu (S Hall) wrote:

Quote:
I have a web page with several items in a select statement.
Does it have a URL?

Quote:
Due to lack of room on screen I list 4 items.
There's no real lack room on screen in the sense you think. The page
can be scrolled down as needed. It's much easier than using pulldown
menus, which are small scrollable areas.

Quote:
I want ALL of the items to print out on the printer for the user.
Why? The select element (sic) is meant for use as a form control, and
forms are meant to be filled out on screen and submitted. There's
rarely any need for printing a form. The user might need to be able to
print the _data_ he has provided, but that's something that the form
handler should take care of, by echoing back the data in some nice
(non-form) format.

Quote:
Is this possible with CSS ?
Not really.

Quote:
Example:

Select name="mycar
option value="1">Buick</option
option value="2">Chevy</option
option value="3">Ford</option
option value="4">Honda</option
etc...
/select
You could try setting the height property for the select element in a
style sheet, inside @media print {...}. It's somewhat unclear what this
_should_ do. Or you could set display: block for select and option,
hoping that this affects the fundamental way in which they are
rendered. Or you could try setting the overflow property. All these
attempts will most probably fail for the great majority of browsers at
least.

--
Yucca, http://www.cs.tut.fi/~jkorpela/


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 - 2008, Jelsoft Enterprises Ltd.