Tuesday, December 16, 2014

HTML: Remove extra space at bottom of div

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; }

Friday, December 5, 2014

Titanium: Error Unable to find JDK in my first project

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


Tuesday, December 2, 2014

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 Support
iOS (iPhone/iPad) Yes
Android 4.x native client Yes
Android Outlook Exchange via native client No
Android Outlook.com app Yes
Android Gmail app No
Android Yahoo! Mail app No
Gmail (Android Browser) No
Outlook.com (Android Browser) No
Yahoo! Mail (Android Browser) No
Windows Phone 7 No
Windows Phone 7.5 Yes
Windows Phone 8 No
BlackBerry OS 6 Yes
BlackBerry OS 7 Yes
BlackBerry Z10 Yes
Kindle Fire native client Yes