Re: [css-d] how can I align input and select elements

2010-10-28 Thread Michal Čizmazia
Thank you all for your responses. To clarify, I want to have a label and an input form element along with another label and a select form element _in one row_. See my test case: http://jsfiddle.net/cizmazia/KMVmw/ Therefore I want to have _horizontal_ borders of select and input elements aligned

Re: [css-d] how can I align input and select elements

2010-10-28 Thread Tim White
On Thu, Oct 28, 2010 at 2:32 AM, Michal Čizmazia cim...@gmail.com wrote: Thank you all for your responses. To clarify, I want to have a label and an input form element along with another label and a select form element _in one row_. Try this: body, input, select {

Re: [css-d] how can I align input and select elements

2010-10-28 Thread Michal Čizmazia
Thanks, Tim, it seems that this single thing made the difference: 2) Change the label so it only wraps around the text, not text and input. See the result below. 1px border for select and input is needed, because otherwise the horizontal borders will not be aligned in IE8 and Firefox on Win. I

Re: [css-d] how can I align input and select elements

2010-10-28 Thread Michal Čizmazia
I am sorry, I checked it again and it also works for the wrapped version with the same css. The result is below. I just made it too complicated before. Thank you very much. Michal body, input, select { font-family:Helvetica,Arial,sans-serif; font-size: 12px; } select, input { border: 1px

Re: [css-d] how can I align input and select elements

2010-10-28 Thread Ada Elgavish
Hello everybody, I have a problem that is driving me nuts! I am trying to insert a horizontal spry navigation bar in Dreamweaver. The code is below: div ul id=MenuBar1 class=MenuBarHorizontal lia href=#Home/a/li lia href=#About Us/a/li lia

Re: [css-d] how can I align input and select elements

2010-10-28 Thread Philip Taylor (Webmaster, Ret'd)
Ada Elgavish wrote: Does anybody have any ideas where I should look for the problem? I think that, as this is a CSS list, and as you have a CSS problem, you should share with us your CSS as well as your HTML; a little fragment of HTML, with no context and no CSS, is really of very little

[css-d] How-to prevent a float drop in ie6

2010-10-28 Thread Thierry Koblentz
This article shows how to make IE6 behave (almost) like modern browsers: http://www.yuiblog.com/blog/2010/10/28/css-quick-tip-how-to-prevent-a-float- drop-in-ie6/ HTH -- Regards, Thierry www.tjkdesign.com | www.ez-css.org | @thierrykoblentz