![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I 'm in the process of developing this site http://test.artcut.gr/ I have a problem with #index-login. I want the form to be middled aligned with the first sentence (I know it's greek and you can't understand it). The form is in a left floated div so as not to appear as block element. I don't know why but putting form {display:inline;float:left} did't do the trick, so I used the two extra left floated divs. Any help? |
#3
| |||
| |||
|
|
Hello, I 'm in the process of developing this site http://test.artcut.gr/ I have a problem with #index-login. I want the form to be middled aligned with the first sentence (I know it's greek and you can't understand it). The form is in a left floated div so as not to appear as block element. I don't know why but putting form {display:inline;float:left} did't do the trick, so I used the two extra left floated divs. |
#4
| |||
| |||
|
|
Just modifying what you have to give you what you want. I'm not saying that what you have is the best way. (i.e. Spans instead of divs and no floats is another way.) Add .5em top padding to the first sentence div. Also add 2em (or so) left padding to the form div to separate. An example: div class="grid_12 small" id="index-login" div class="left" style="padding-top:.5em;" a href="/users/register" title="εγγραφή στο site">Eγγραφή</a ή είσοδος στο σύστημα: /div div class="left" style="padding-left:2em;" form id="UserLoginForm" ................. Tested in Firefox only. If other browsers have problems with it, then use margin instead of padding. |
#5
| |||
| |||
|
|
Gus Richter wrote: Just modifying what you have to give you what you want. I'm not saying that what you have is the best way. (i.e. Spans instead of divs and no floats is another way.) Add .5em top padding to the first sentence div. Also add 2em (or so) left padding to the form div to separate. An example: div class="grid_12 small" id="index-login" div class="left" style="padding-top:.5em;" a href="/users/register" title="εγγραφή στο site">Eγγραφή</a ή είσοδος στο σύστημα: /div div class="left" style="padding-left:2em;" form id="UserLoginForm" ................. Tested in Firefox only. If other browsers have problems with it, then use margin instead of padding. Though that does the trick and thank you, I would like to hear your approach on this. Harris |
![]() |
| Thread Tools | |
| Display Modes | |
| |