Posts

HTML/CSS - Automatically adjust size of element for different screen size(s)

You can set your width using relative percentage, such as 50%, the actual width will be 50% of the parent width. To center the absolute header, you can set its left and right to 0 and margin:0 auto: #header{   position: absolute;   top: 10%;     left:0;   right:0;   margin:0 auto;   width: 50%;   height: 100px;   border:thin solid black;   text-overflow:ellipsis;   overflow:hidden; }

Perl Command To List Installed CPAN Modules

1) open cnt+alt+t   2) $ instmodsh

margin top not working for

in footer

display: inline-block; margin-top: value;

JavaScript function not defined in Firefox?

how to pass javascript variable into perl cgi

//Javascript variable ------->PERL variable var arrValues = ["Sam","Great", "Sample", "High"]; var boss = "Anop Singh Ranawat"; window.open('http://localhost/cgi-bin/try.cgi?name=' + arrValues , 'YourWindow'); enjoy.............................

error saveas is not defined jspdf

download from https://parall.ax/products/jspdf and you can solve it by including these line  <script type="text/javascript" src="/java/jsPDF-0.9.0rc2/jspdf.js"></script> <script type="text/javascript" src="/java/jsPDF-0.9.0rc2/dist/jspdf.min.js"></script>

vcftools installation

1.) You can download vcftool from ubuntu software center open terminal type sudo apt-get install vcftools 2.) open  http://sourceforge.net/projects/vcftools/files/  and download vcftool vcftools_0.1.9.tar.gz Unarchive go to subdirectory and type  make  next set path in PATH environment  open bashrc by this command gedit ~/.bashrc add these two line ..... export PERL5LIB=/yourpath/vcftool/vcftools_0.1.13/perl export PATH=$PATH:/yourpath/vcftool/vcftools_0.1.13/bin/ open terminal and type source ~/.bashrc enjoy...................................