Page 2 of 2

Import images in project

Posted: Thu Nov 21, 2013 11:27 am
by Ankita Gadhia

Yes.. I solved that issue. but having problem with custom HTML like div. that are not responsive. so how can i set responsiveness in all the dimensions?


Import images in project

Posted: Thu Nov 21, 2013 11:28 am
by Maryna Brodina

Sorry, not sure I understand. Could you give us more details?


Import images in project

Posted: Thu Nov 21, 2013 11:51 am
by Ankita Gadhia

I take HTML component and change it to div. so now i set background image to div using css. But the problem is that it would not responsive. So how can i make my custom control responsive.?

And also one problem in Input. I taken Input and apply css class name to Input and change its background color white. But it would not proper. It not removing corner's color. So how can i make Input flat, without radius?


Import images in project

Posted: Thu Nov 21, 2013 2:53 pm
by Maryna Brodina

Sorry, it's still not clear what do you mean on "But the problem is that it would not responsive". Could you clarify what are you going to do with that div? How it suppose to look like/work?
What CSS you use, could you post it?


Import images in project

Posted: Fri Nov 22, 2013 9:08 am
by Ankita Gadhia

i have made div. and set background image in that div. but if i give custom height and width then it would not responsive in all the mobile device. so how to do that?


Import images in project

Posted: Fri Nov 22, 2013 9:27 am
by Maryna Brodina

Hello! What CSS code you use to set background?


Import images in project

Posted: Fri Nov 22, 2013 9:35 am
by Ankita Gadhia

.backgroundimageLogindiv {
background: url("../image/LoginBgTexture.png") center 0 no-repeat;
margin:10px auto!important;
width:auto!important;
height:auto!important;
display:table;
}

and call this css in div dimension is 270px X 380px. so i have to keep this fixed. but i want this div as per mobile device.


Import images in project

Posted: Fri Nov 22, 2013 11:29 am
by Maryna Brodina

1) What div size do you want to have? 100% width and height?
2) set background size https://developer.mozilla.org/en-US/d...