1 Attachment(s)
[RESOLVED] Put DIV on same line as SPAN
I've attached an image that shows the web page and also the HTML from Firebug - goal is to get the DROP DOWN which is a DIV on the same line as the SPAN that says VACCINE.
How can I do that?
Until about 5 minutes ago the outer DIV with class .acs-div-p was a <P> element - I learned the hardway that <P> cannot contain <DIV> - but now I don't know how to get the DROP DOWN on the same line as the VACCINE prompt.
Thanks in advance!!
Re: Put DIV on same line as SPAN
Set #awc-seqDropDown-0 or .acs-edit-dropdown to display: inline-block.
1 Attachment(s)
Re: Put DIV on same line as SPAN
Thank you thank you thank you!!!
I'm at the end of a 17 hour day!!!
Re: [RESOLVED] Put DIV on same line as SPAN
No probs...
In theory you ought to be able to line the text up as well. Perhaps vertical-align: baseline, although you might need to put each line (each label/control group) into its own container for that to work.
Re: [RESOLVED] Put DIV on same line as SPAN
Re: [RESOLVED] Put DIV on same line as SPAN
Seems more complicated then that - that jalDropDown is a strange beast with lots of div's and such - not mine - I found it on the net...
I am going to live with the mis-alignment for now...
Maybe I could put the VACCINE element into a parent element (div?) and give that some padding and such - basically making the PROMPT/DROPDOWN look more like a PROMPT/TEXTBOX