![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I have 20 inputs in a web page and I would like to add a 200px gray |
|
horizontal line as a separator every 5 inputs to divide the form into sections. What is the best way to do this? |
|
Do I need to place each group of 5 inputs inside a div and define the div bottom border to 1px? |
#3
| |||
| |||
|
|
I have 20 inputs in a web page and I would like to add a 200px gray horizontal line as a separator every 5 inputs to divide the form into sections. |
|
What is the best way to do this? |
|
Do I need to place each group of 5 inputs inside a div and define the div bottom border to 1px? |
#4
| |||
| |||
|
|
I have 20 inputs in a web page and I would like to add a 200px gray horizontal line as a separator every 5 inputs to divide the form into sections. That would look odd if the font size is, say, 60px, which might be the smallest font size that the user can read. |
#5
| |||
| |||
|
|
On 22 Feb, 13:00, "Jukka K. Korpela" <jkorp... (AT) cs (DOT) tut.fi> wrote: I have 20 inputs in a web page and I would like to add a 200px gray horizontal line as a separator every 5 inputs to divide the form into sections. That would look odd if the font size is, say, 60px, which might be the smallest font size that the user can read. Why would it "look odd" ? It would be the same 200px grey rule that the users with 12px text would see. |
|
Of course you'd now find fewer characters alongside it, but that's in no way "odd". |
#6
| |||
| |||
|
|
On 22 Feb, 13:00, "Jukka K. Korpela" <jkorp... (AT) cs (DOT) tut.fi> wrote: I have 20 inputs in a web page and I would like to add a 200px gray horizontal line as a separator every 5 inputs to divide the form into sections. That would look odd if the font size is, say, 60px, which might be the smallest font size that the user can read. Why would it "look odd" ? It would be the same 200px grey rule that the users with 12px text would see. Of course you'd now find fewer characters alongside it, but that's in no way "odd". |
#7
| |||
| |||
|
|
Assuming it makes sense, using <hr width="100%"> with hr { color: gray; background: gray; } is one option. |
![]() |
| Thread Tools | |
| Display Modes | |
| |