HighDots Forums  

Re-post Forms and input fields

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


Discuss Re-post Forms and input fields in the Cascading Style Sheets forum.



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

Default Re-post Forms and input fields - 08-02-2004 , 07:58 AM






Hi
I have a big form with a lot of input fields.
I would use a pretty CSS to make page more readable:
- what style do you use in this case? (label strictly near input field?
fixed-size label? )
- is a "toggled" div style the best way to do this?

thanx
I hope this time someone can help me...

--
ShadowMan



Reply With Quote
  #2  
Old   
Sam Hughes
 
Posts: n/a

Default Re: Re-post Forms and input fields - 08-02-2004 , 04:30 PM






"ShadowMan" <shadman (AT) despammed (DOT) com> wrote in news:celepq$6j13
@intra09.infocamere.it:

Quote:
Hi
I have a big form with a lot of input fields.
I would use a pretty CSS to make page more readable:
- what style do you use in this case? (label strictly near input field?
fixed-size label? )
- is a "toggled" div style the best way to do this?
It depends on many things. Namely, what fields does your form have? Do
you have an unCSSed version on the web somewhere?

--
Accessible web designs go easily unnoticed;
the others are remembered and avoided forever.


Reply With Quote
  #3  
Old   
ShadowMan
 
Posts: n/a

Default Re: Re-post Forms and input fields - 08-03-2004 , 02:01 AM



"Sam Hughes" <hughes (AT) rpi (DOT) edu> ha scritto nel messaggio
news:Xns9539B1FCB8510hughesrpiedu (AT) 130 (DOT) 133.1.4
Quote:
Hi
I have a big form with a lot of input fields.
I would use a pretty CSS to make page more readable:
- what style do you use in this case? (label strictly near input
field? fixed-size label? )
- is a "toggled" div style the best way to do this?

It depends on many things. Namely, what fields does your form have?
Do you have an unCSSed version on the web somewhere?
no I'm design the page from "zero"...
I have personal data - address data (more than one) - options data - etc....

--
ShadowMan




Reply With Quote
  #4  
Old   
Sam Hughes
 
Posts: n/a

Default Re: Re-post Forms and input fields - 08-06-2004 , 07:17 PM



"ShadowMan" <shadman (AT) despammed (DOT) com> wrote in news:celepq$6j13
@intra09.infocamere.it:

Quote:
I have a big form with a lot of input fields.
I would use a pretty CSS to make page more readable:
- what style do you use in this case? (label strictly near input field?
fixed-size label? )
- is a "toggled" div style the best way to do this?
A good way to organize long forms is with a two-column table in which
labels are in the left column and fields (or groups of fields, such as
groups of checkboxes) are in the right column (after all, labels and
fields together _are_ a tabular form of information). Then perhaps use
this CSS to set the border of the table rather nicely (i.e. similar to
what the attribute border="1" would do):

form table { border: 1px outset #BBB; }
form table td {border: 1px inset #BBB; }

Then perhaps make all the left td's right-aligned. Perhaps browsers
understand colgroup and colelements... Then it would be...

<form [...]>
<table>
<colgroup><col align="right"><col></colgroup>
<tr><td>Name:</td><td><input type=" [etc]></td></tr>
<tr><td>.....

....

</table>
</form>

Then fiddle with the padding, margins, etc, and go from there. Perhaps
make padding-top and padding-bottom a considerably larger than zero for
table cells just to keep form fields extra-separated. Maybe that will
not be necessary, though.


--
In a room with thirty-seven people, never have everybody shake each
other's hand.


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.