Div width issue on ipad

Linux, Magento

 

When the site loads on my I pad the red menu bar is red and turns black along the right side of the page?Actually menu bar is inside a  div.And i have given bg color as red  with 100%.

Problem is on the iPad  viewport .iPad default viewport is   980 pixels .So even if you are giving 100% width  we will not get the actual result.He when the site loads on my I pad the red menu bar is red and turns black along the right side of the pagere we are not setting content /element width .So by  resetting the width of the view port , we can solve the issue.I added the following code on my style sheet and solved the issue.Thanks to all the div available on net.

 

Solutions:

body{
min-width:1024px;
}

MySQL Importing with linux command

Linux, MySQL

PhpMyAdmin is a great tool to manage the mysql database.But if we have large database and table to handle,it will be great if we able to do the same with the help of the linux command.

$ mysql -u username -p -h localhost Data-Base-Name < myfile.sql