Page 1 of 2

Percentages

Posted: Mon Sep 17, 2012 1:48 pm
by Appmos

How to set dimensions of palette itens as percentages, to be visibles at various screen sizes?


Percentages

Posted: Mon Sep 17, 2012 3:11 pm
by maxkatz

Add custom CSS to the element. Each element has Class attribute in the properties.


Percentages

Posted: Mon Sep 17, 2012 3:39 pm
by Appmos

Like this:

code
.resize {
width: 100% auto;
}
/code


Percentages

Posted: Mon Sep 17, 2012 3:40 pm
by maxkatz

yes.


Percentages

Posted: Mon Sep 17, 2012 4:14 pm
by Appmos

Not worked (test mode). I used a image object to this test. I uploaded the css file and include the style ́s name in the "Class Name" field. Is that right?


Percentages

Posted: Mon Sep 17, 2012 4:26 pm
by maxkatz

You should use Firebug or Chrome Developer Tools to debug and see what styles are applied.


Percentages

Posted: Mon Sep 17, 2012 7:32 pm
by Appmos

Hi Max,

Seems that the two classes, that I created and the original, were joined: code<img class = "resize mobileimage1" &#46;&#46;&#46;/code


Percentages

Posted: Tue Sep 18, 2012 10:59 am
by Appmos

Hi Max,

Seems that the two classes, that I created and the original, were joined:

code<img class = "resize mobileimage1" &#46;&#46;&#46;/code


Percentages

Posted: Tue Sep 18, 2012 1:55 pm
by maxkatz

Not joined... just used together. You can overwrite values in other classes.


Percentages

Posted: Tue Sep 18, 2012 2:13 pm
by Appmos

I even tried to overwrite the default CSS, including "! Important" but to not works, the image is not resizing.

code
&#46;resize {
width: 100% Auto !important;
}
/code

Could you help with the necessary code to implement it? I intend to create applications using several images that necessarily have to resize to be seen on any screen.

Thanks