botmez Posted October 8, 2014 Share Posted October 8, 2014 Hello Just need to aligne my upload box like the text box in CSS Any pro to do that ? Many thanks ! Link to comment Share on other sites More sharing options...
razaro Posted October 8, 2014 Share Posted October 8, 2014 Just set label or span, that have text, width to 35%, with display:inline-block; with both label and upload. Link to comment Share on other sites More sharing options...
botmez Posted October 10, 2014 Author Share Posted October 10, 2014 please give me the code Thanks Link to comment Share on other sites More sharing options...
razaro Posted October 10, 2014 Share Posted October 10, 2014 I could ask the same :-) Have no idea how your code looks like so cant be precise on what elements css are applied. Link to comment Share on other sites More sharing options...
botmez Posted October 10, 2014 Author Share Posted October 10, 2014 (edited) ok Edited October 16, 2014 by botmez (see edit history) Link to comment Share on other sites More sharing options...
razaro Posted October 10, 2014 Share Posted October 10, 2014 OK try first this, in awp css file or in global.css add div[id^=awp_text_length] {width:30%;text-align:left;} If you want some more room try also div[id^=awp_text_length] {width:30%;text-align:left;} div[id^=awp_file_cell] {margin-right:15px;} div[id^=awp_cell_cont] {width: 97% !important;} or adjust values a bit. Problem is when you upload image last part goes to second row. And to fit all in one row use try div[id^=awp_text_length] {width:23%;text-align:left;} div[id^=awp_cell_cont] {width: 97% !important;} but that will cause text in first element to go in two rows. And that is is, do not have other solutions. 1 Link to comment Share on other sites More sharing options...
botmez Posted October 10, 2014 Author Share Posted October 10, 2014 I can add in awp.css for sure THe problem is that awp_text_length or awp_text_cont is never called How can we move forward ? Thanks for the help ! Link to comment Share on other sites More sharing options...
razaro Posted October 10, 2014 Share Posted October 10, 2014 THe problem is that awp_text_length or awp_text_cont is never called What do you mean it is not called ? Link to comment Share on other sites More sharing options...
botmez Posted October 10, 2014 Author Share Posted October 10, 2014 (edited) Sorry that work I add the line you metionned in the begine of my css. The problem now is that attributes are in line See attached. Thanks Edited October 10, 2014 by botmez (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now