Welcome Guest Search | Active Topics | Sign In | Register

Date Picker - Alignment? Options
Moron
Posted: Friday, March 18, 2011 3:15:19 PM
Rank: Newbie
Groups: Member

Joined: 3/18/2011
Posts: 3
I'm trying to lineup date picker beside a label with no success and I'm at the point of bashing my head into my monitor. I'm sure it is something very simple. I have a row of textboxes/labels and want to get the date picker at the end of it. For some reason I cannot put anything beside it. It forces anything to go above/below it. As my username shows, I'm a moron when it comes to this stuff.

Thanks
eo_support
Posted: Friday, March 18, 2011 3:20:33 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Try to use a table to align it, or add style="display:inline" on the DatePicker:

Code: HTML/ASPX
<eo:DatePicker  style="display:inline" .....>
.....
</eo:DatePicker>


Hope this helps.

Thanks!
Moron
Posted: Friday, March 18, 2011 3:24:07 PM
Rank: Newbie
Groups: Member

Joined: 3/18/2011
Posts: 3
eo_support wrote:
Hi,

Try to use a table to align it, or add style="display:inline" on the DatePicker:

Code: HTML/ASPX
<eo:DatePicker  style="display:inline" .....>
.....
</eo:DatePicker>


Hope this helps.

Thanks!


Awesome. Thank you for the support and the tools.
Moron
Posted: Friday, March 18, 2011 3:31:58 PM
Rank: Newbie
Groups: Member

Joined: 3/18/2011
Posts: 3
Errr... It is still slightly off relative to all the other objects. Is there any way to tweak it a bit?
eo_support
Posted: Friday, March 18, 2011 3:41:17 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You will have to use other CSS techniques such as padding to pad your text up, or put them into different cells in a table row and then center align the contents. As far as the DatePicker's concern, you just think it as a single block of a fixed size. If you don't have "display:inline", it goes to the next line. If you have "display:inline", then it stays in the same line. Anything else would have nothing to do with the DatePicker at all.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.