Find dating profiles, social networks profiles, social media accounts and hidden accounts for free

Responsive Background Image CSS Tricks

Images that are used in websites and blog sites are usually not responsive and mobile friendly. Responsive and mobile-friendly images are very essential to increase user engagement and social sharing.

Here is a quick method to make images responsive and mobile-friendly for web and mobile and Responsive Background Image CSS Tricks. Content writers add jpeg or png images with fixed height and width and it display out of the content view of the mobile browser.

Responsive Background Image CC Tricks

How to Make Images Responsive And Mobile-Friendly

Images that are used in websites and blog sites are usually not responsive and mobile friendly. Content writers add jpeg or png images with fixed height and width and it display out of the content view of the mobile browser. Responsive and mobile-friendly images are very essential to increase user engagement and social sharing. Here is a quick method to make images responsive and mobile-friendly.

How to make Foreground images responsive

In order to make foreground images responsive, you need to set auto width and height via CSS codes. The CSS codes will adapt or resize your foreground images while preserving aspect ratio of the image.Find the css codes below to make images responsive in websites.

img {
  width: auto ;
  max-width: 100% ;
  height: auto ;

The max-width will ensure that the foreground image width is no more than the width of the content view. CSS is the best and easy way to make responsive images for showing in mobile and desktop browsers.

How to make Background images responsive

You need to make two versions of images; one fore desktop browser and one for mobile browsers. You need to add a background-image css rule if the images are inside a div code.
Eg: <div id=”shipmethisimage”>
You need to add CSS codes;

@media (max-width: 480px) { #shipmethisimage { background-image: url(mobile.png); background-repeat: no-repeat; background-size: contain ; } } @media (min-width: 481px) { #shipmethisimage { background-image: url(desktop.png); background-repeat: no-repeat; background-size: contain ; } }

The max width shows that the image will resize up to 480px for a mobile browser.

How to make Compatible and Mobile Friendly Images

Considering the number of devices currently, we can divide them into four major categories.
  1. Extra Small Devices (phones): all screens less-than 768 pixels
  2. Small Devices (tablets): all screens greater than 768 pixels (but less than 992 pixels)
  3. Medium Devices (desktops): all devices greater than 992 pixels (but less than 1200)
  4. Large Devices (desktops): all devices with a screen size greater than 1200 pixels
You can use the below listed responsive checking tools to check the responsiveness of website and images. You need check the responsiveness of your website. For that you have to use free responsive checkers available in the internet. For making your work easy, i have collected the best free ones and made a list which you can access below. Hope you got a clear image about the template and layout of the website.

1. – Responsinator show your website in different devices including iPhone 3+4 portrait with a width of 320px, 480px, iphone 5, 568px, Crappy Android portrait with a width of 240px, 320px, Andriod Nexus portrait of 384px, 600px and so on. These show the website only and not the version of mobile hosted on blogger.

2. – in this site you can select either devices only or width sizes. You cannot navigate the website shown in the frames. This site shows 240px, 320px, 480px, and 768px frames.

3. – This website is also like which checks 240px, 320px, 480px, and 768px frames. This website is made by Matt kersley itself. Now you know the similarity.

icons of laptops and phones

4. Responsive design checker – This site offers sizes such as 27 inch monitor, 17 inch workstation, 15 inch macbook pro, 11 inch macbook air, ipad landscape, nexus, and iphone. These are divided into desktops and laptops and tablets and phones. You can click through each icon and know how your appears in these devices.

5. – This site offers scales which we can access the width of our website. You have to press enter to load your website after typing your website with www. You can change the width of devices by changing the numbers.

6. Code beauty – This website offers devices such as desktops, tablet landscapes, tablet portrait, smartphone landscapes and smart phone portrait.

7. – This is a simple responsive checker where new bloggers can access and study.

8. website responsive test -This is one of the newest response checker in town. This allows websites to view in devices like phone, wide phone, tablet and wide tablet. This also allows users to check the website’s responsiveness in different widths such as 320 X 480 iPhone portrait, 480 X 320, 240 X 320 320 X 240, 295 X 515, 515 X 295, 768 X 1024, 1024 X 768, 600 X 1024, 1024 X 600.  Users can click on the scale to check the responsiveness.

9. – I think this is a good website for checking your website. This website has scales to check width, many landscapes and portraits, There is option for rotating, allow scrolling button, use of proxy server etc. This one is the best in store today.

10. – This is website that show website’s responsiveness in laptop, television, tablet and mobile. The advantage of this is that you can see the website version in mobile of rather than the blogger mobile version.

How Your website Looks Great on Mobile, iphone and other Browsers

Responsive design was a term coined by Ethan Marcotte. He have a blog which is the . As you know in he coming years of internet, mobile users are going to govern the revenue rates of publishers. The number of mobile phones in developing countries are going in high rate and the number of laptop rates are going down. You can read the economic times review about Number of mobile handsets sold in India to reach 251 million units next year: Gartner by Indu Nandakumar, ET Bureau at Oct 11, 2012. The article says that the number of Samsung mobile phones expected to sell in the 2013 is 251 million units.

on pc

Responsive design is always an added bonus to your website. Responsiveness increases click rate, reduces bounce rate and make your site attractive to visitors from different devices. How one can create a responsive design? It is not easy to create a responsive design yourself, if you are not a pro in it.

May be you have seen some codes like this;

/* Default styles first then media queries */
@media screen and (min-width: 400px)  {…}
@media screen and (min-width: 600px)  {…}
@media screen and (min-width: 1000px) {…}
@media screen and (min-width: 1400px) {…}

or like this

<link href=”styles.css” rel=”stylesheet” media=”all and (max-width: 1400px)”>

These codes push the website to perform different layouts in different pixels.

I can share you some good article written about making your website responsive and some tools.

on mobile
on Mobile

First to some good articles about responsiveness.

Tutorial 1

In i have seen article about RESPONSIVE DESIGN. I really like it because of the simplicity in the article. The article share a responsive website called the food sense and its performance. It also talk about Flexible Embedded Media, Combining Viewport Values, , Viewport Resolution, Viewport Scale, Viewport Height & Width, Mobile First, Media Query Browser Support, Orientation Media Feature, Aspect Ratio Media Features, Pixel Ratio Media Features,Resolution Media Feature,Logical Operators in Media Queries
Flexible Grid and fixed grid.

Tutorial 2

This article is found in and it had about 103 comments.This article discusses asic things like what is media query etc. You can view it here, MOBILE TO WEBSITE AND VICE VERSA

Other Tutorials

How to Use Responsive Adsense Ads for Mobile, iphone and other Browsers

Google ad sense is the best add network in the internet which have the highest pay per click policy than other affiliation companies. To know more about ad sense go to my post Get accepted by Ad-Sense . Getting Approval of Google ad-sense is not easy and takes a lot of time and work. Usually bloggers from India and China are only allowed to apply for ad sense after their domain age is 6 months old. So it is better to buy a domain which has an age of 6 years and more.

This will cost you more than the value of fresh domain. But this is better if you are an Indian blogger. I had posted about buying a domain in my post “Rethink before buying a new domain“. You can refer that post if you are going to buy a new domain.

Your site must have a great design and layout in order to get ad sense affiliation. If not after applying to ad sense, you will get a mail like this:

 “Thank you for your interest in Google Ad Sense. After reviewing your
application, our specialists have found that it does not meet our program
criteria. …. web content”.

Use different types of adds

There is an option to add horizontal, vertical and link units to your website. But i am saying try to use responsive ads. You can use in different sizes. 

<script async src=”//”></script>
<!– ad name–>
<ins class=”adsbygoogle”
(adsbygoogle = window.adsbygoogle || []).push({});

You can change the code “auto” to “rectangular”, “horizontal” and “vertical” according to your site. Then the responsive ads will find the space itself and fit in the ad sense space automatically. You should every possible way to monetize your site.

Make appropriate space

So if you got affiliation from Google ad sense, the first thing you should do as a publisher is to make appropriate space to insert ad sense codes. So why making space for add codes is the most important?

This is because you are out there to make lots of money. So to make money out of ad sense, publishers should have a clear understanding of the lay out of the website/blog. They also should be aware of the designing and attractive corners of the site. You can get help from some websites which gives a basic outline of where you should add ad sense codes.

Responsive Formats Ad Sense For Optimisation

                        Ad sense is one of the top revenue ad models exist today. Increase in Cost per Click [CPC] revenue is what webmasters are looking for. You can increase your CPC ad sense revenue by changing the layout of responsive ad formats.

Applying for ad sense and getting a new account is a tough job. It will get more tougher to earn money from that. The desperation to earn money may get your Adsense Account Banned.

Increase CPC Using Responsive Formats for Ad revenue
Increase CPC Using Responsive Formats for Ad revenue

Responsive ad formats

Responsive ads are a good way to generate revenue. Responsive ads will show ads according to the device which users are using. If one is using Samsung Galaxy or Apple ipad, the ads will render according to the frame. Lets us look at the ad format of responsive ads. 

<script async src=”//”></script>
<!– responsive –>
<ins class=”adsbygoogle”
(adsbygoogle = window.adsbygoogle || []).push({});

The above is the code which you will get from the Ad sense website. Here you can see one code in bold: data-ad-format=”auto”. This means that the ads can appear in the following width and heights, Leaderboard, 336 x 280 Large Rectangle, 320 x 100 Large Mobile Banner, 300 x 600 Large Skyscraper, 300 x 250 Medium Rectangle. 

Disadvantage of data-ad-format=”auto”

The main disadvantage of the data-ad-format=”auto”  is that the webmaster will not be able to identify what kind of ad format has given more CPC Revenue according to your site’s layout.
Eg: Users clicks at 336 x 280 Large Rectangle ads more than  Leaderboard. But as ad format changes every time, the more users will be getting Leaderboard than 336 x 280 Large Rectangle. Hence decrease in CPC revenue.

Solution to Increase Cost per Click [CPC] revenue

There are other responsive ad formats one can use specifically to decide what should be the shape of ads. This means that you try and experiment with which shape of the ad will be suitable for your site’s layout. The following codes can be used for altering the shapes. If you want to show horizontal ads only, change the data-ad-format=”auto” to data-ad-format=”horizontal”. This will show only responsive horizontal ads. 
For horizontal ads – data-ad-format=”horizontal”

<script async src=”//”></script>
<!– responsive –>
<ins class=”adsbygoogle”
(adsbygoogle = window.adsbygoogle || []).push({});

For vertical ads – data-ad-format=”vertical”

<script async src=”//”></script>
<!– responsive –>
<ins class=”adsbygoogle”
(adsbygoogle = window.adsbygoogle || []).push({});

For rectangular shaped ads which will render 120×600 or 160×600 rectangle – data-ad-format=”rectangle”

<script async src=”//”></script>
<!– responsive –>
<ins class=”adsbygoogle”
(adsbygoogle = window.adsbygoogle || []).push({});

Experiment with your ad layout and find out which layout gives you more CPC revenue. 
Kindly Share AheadShip Me This

Ship Me This