Posts

Showing posts from December, 2014

HTML: Remove extra space at bottom of div

Image
If you using image width 100% and Height auto, Since images are extra space at bottom of div.



HTML
<div class="images-slide">     <img src="/footer-image.png" alt="Gallery" title="Gallery"> </div>
CSS
.images-slide img {     max-width: 100%;     height: auto; }
To un-do this effect for images, you can specify either of the styles below,

img { display:block;} or
img { vertical-align:bottom;}

Titanium: Error Unable to find JDK in my first project

Image
I have installed titanium studio and installed Android SDK also in Windows. After that I have created one test application (HelloWord).

When I run the application in Android Emulator, i get this erreor:

[ERROR] : Unable to find JDK (Java Development Kit) programs: javac, jarsigner
[ERROR] Application Installer abnormal process termination. Process exit value was 1.

Configuring Environment Variables on Windows Configure system variables using the Control Panel
Open the Windows Control Panel and search for 'environment'.
Click Edit the system environment variables. The System Properties dialog appears displaying the Advanced tab. 

Click the Environment Variables button.   


Use the New or Edit buttons at the bottom of the dialog to add or change system variables.

set path Android SDK and JAVA JDK

Which clients support media queries on mobile version?

If you've built a responsive email design using media queries. The chart below outlines support for media queries across a range of mobile email clients and applications.

When troubleshooting responsive designs and media queries, also keep in mind that the media query will be triggered by the viewport size of the device. Viewport sizes can vary drastically based on the physical screen size of the phone, the screen's resolution and the pixel density or device-pixel-ratio of the device.

Media Query SupportiOS (iPhone/iPad)YesAndroid 4.x native clientYesAndroid Outlook Exchange via native clientNoAndroid Outlook.com appYesAndroid Gmail appNoAndroid Yahoo! Mail appNoGmail (Android Browser)NoOutlook.com (Android Browser)NoYahoo! Mail (Android Browser)NoWindows Phone 7NoWindows Phone 7.5YesWindows Phone 8NoBlackBerry OS 6YesBlackBerry OS 7YesBlackBerry Z10YesKindle Fire native clientYes