T
T
Tim32015-09-28 14:44:10
css
Tim3, 2015-09-28 14:44:10

How to align the list and is it possible to finish off such a selection item in HTML?

Hello!
I have a list like this:

<table style="font: 16px arial; color="#1b1b62" class="table">

  <tbody>
  <tr>
    <td>Tydzien pracy od: </td> 
    <td>do:</td>
  </tr>
  <tr>
    <td>Poniedzialek <select>
<option value="Sony">tekts1</option>
<option value="Toshiba">test 2</option>
<option value="Acer">tekst 3</option>
<option value="Asus">tekst 4</option>
</select></td>
    <td>ilosc godzin</td>
  </tr>
  <tr>
    <td>Wtorek <select>
<option value="Sony">tekts1</option>
<option value="Toshiba">test 2</option>
<option value="Acer">tekst 3</option>
<option value="Asus">tekst 4</option>
</select></td>
    <td>ilosc godzin</td>
  </tr>
  <tr>
    <td>sroda <select>
<option value="Sony">tekts1</option>
<option value="Toshiba">test 2</option>
<option value="Acer">tekst 3</option>
<option value="Asus">tekst 4</option>
</select></td>
    <td>ilosc godzin</td>
  </tr>
  <tr>
    <td>Czwartek <select>
<option value="Sony">tekts1</option>
<option value="Toshiba">test 2</option>
<option value="Acer">tekst 3</option>
<option value="Asus">tekst 4</option>
</select></td>
    <td>ilosc godzin</td>
  </tr>
  <tr>
    <td>Piatek <select>
<option value="Sony">tekts1</option>
<option value="Toshiba">test 2</option>
<option value="Acer">tekst 3</option>
<option value="Asus">tekst 4</option>
</select></td>
    <td>ilosc godzin</td>
  </tr>
  <tr>
    <td>Sobota <select>
<option value="Sony">tekts1</option>
<option value="Toshiba">test 2</option>
<option value="Acer">tekst 3</option>
<option value="Asus">tekst 4</option>
</select></td>
    <td>ilosc godzin</td>
  </tr>
  <tr>
    <td>Niedziela <select>
<option value="Sony">tekts1</option>
<option value="Toshiba">test 2</option>
<option value="Acer">tekst 3</option>
<option value="Asus">tekst 4</option>
</select></td>
    <td>ilosc godzin</td>
  </tr>
  <tr>
    <td></td>
    <td>summa</td>
  </tr>
  </tbody>
</table>

PHOTO:
7754916ba94e4bc39dedcdc10303d981.jpg
Tell me how do I align the lists?
And the second question, how would I insert such icons with the choice of cisla? I don’t know what it will be called, the photo shows:
44943ae2d5774ee891754427aa467bb2.jpg
I kind of Googled the date, but what about the second ones:?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Novikov, 2015-09-28
@Tim3

you need to add a fixed width to each first cell in the row. like this:
or add a class to each first cell, and set the width for the class in css.
For date picker I recommend using JqueryUI Datepicker

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question