Skip to main content

Healthcare Systems Article Category

Medical Factors Which make it The most effective  just by Sejal Kakadiya  Medicine and health agencies with now consentrate on top quality, charge together with great satisfaction health of their solutions. These are typically that support beams which a lot of these agencies redefine the direction they trade. The following really results in thrilled clients.  How come Serious Treatment Direction Can be a Trend Inside Medicine and health Sector  just by Steven Orange  A whole lot of North american healthcare systems' options are generally about that direction together with procedure with serious circumstances. Direction with serious health conditions which include diabetes, excessive circulation demand, cardiovascular disease, together with hypothyroidism can be a vital component of easiest treatment healthcare provider's succeed. Inside standard product, that general practitioner spots someone on an automobile accident with treatment, inspects that condition ...

How to Create Responsive Website or Blogger Template


As the time goes, browsing websites from desktop computers decreasing and using Laptops, Tablets and Mobile devices increasing day by day. So why not to create our website design custom for each types of devices, that fits and looks more attractive for those devices to acquire the visitors entered from those devices.

Responsive web design is the approach that suggests in which design and development should respond user behavior and environment based on the size of the browser screen, platform and orientation.

Responsive web design includes the use of flexible layouts, images and intelligent use of media queries. You can make your blogger template responsive by using special tags in CSS. Media queries (@media) are such tags, which helps to make your CSS for every device screen size. You can make many media queries on CSS that matches for each screen size and you can put custom CSS codes for each media queries.

Here I have explained some steps for creating your blog responsive.



Step1: Add meta tags for responsiveness



Add the following meta tags on your blogger template using the following steps.
  1.  Go to blogger dashboard and click on template
  2. Backup your template for the risk while editing template codes.
  3. Paste the following codes between and <head> and </head> tags.
  4. Save your blogger template.
For website also, paste the following codes between <head> and </head> tags.

Add the following codes to size the contents of blog equal to the device width.

  <meta name="viewport" content="width=device-width/">

Add the following codes to size the contents of blog equal to the device width and device height.

  <meta name="viewport" content="width=device-width, height=device-height/">

Add the following codes to size the contents of blog equal to the device width and initial zoom size.

  <meta name="viewport" content="width=device-width, initial-scale=2"/>

Add the following codes to size the contents of blog equal to the device width, initial zoom size and maximum zoom size.

  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1/">

Instead or writing meta tags, you can do the same with the following codes in CSS.

@-moz-viewport {
                           width: device-width;
}

@-moz-viewport {
                           width: device-width;
                           height:device-height;
}

@-moz-viewport {
                           width: device-width;
                           initial-scale:2;
}

@-moz-viewport {
                           width: device-width;
                           initial-scale:1;
                           maximum-scale:1;
}


This works only for Mozilla browser, for other browsers you can use -o-, -webkit- and -ms- as prefixed properties.


Step2:Add media queries for each screen size



Add the following media queries  between <![CDATA[*/ and ]]> tags.


@media screen and (max-width:320px){
/*For Small Screen Moblies*/
}

@media screen and (max-width:480px){
/*For Smart Phones and iPhones*/
}

@media screen and (max-width:768px){
/*For Small Tables*/
}

@media screen and (max-width:1024px){
/*For Notebooks*/
}

You can add more media queries according to your need for different screen sizes and orientations and can also use min-width: to specify minimum width of screen.

To specify the screen orientations landscape or portrait use

@media screen and (max-width:480px) and (orientation:landscape) {  }



Step3: Write custom CSS code for media queries



Now, you have to add custom CSS codes for each media queries. The default CSS properties written are replaced by the properties written within these media queries. Here is the sample CSS code written for mobile devices, you can add these codes for media screen with max-width 320 and 480 px.

#wrapper {
  width:85%;
 }
 

#content{
 
width:100%;
}
 

#sidebar-left{
 
width:100%;
clear:both;
}
 

#sidebar-right{
 
width: 100%;
clear:both;



Alternate method for adding CSS code with media queries



For the alternate method, you can write media queries with custom CSS codes on a single .css file and link it on header part of  your blog or website as below.

<link rel="stylesheet" media="screen" href="screen.css"/>

You have to give the full path for "screen.css", where the file is placed.

You can also link different style sheet files for different screen sizes as below.

<link rel="stylesheet" media="screen and (max-width:1280px)" href="large.css"/>

<link rel="stylesheet" media="screen and (max-width:480px)" href="small.css"/>



Related Posts:





    Comments

    Popular posts from this blog

    Solved MCQ on Fundamental of C Language set-7

    1) 'C' allows a three way transfer of control with the help of A. Unary Operator B. Relational Operator C. Ternary Operator D. Comparison Operator 2) Operators have hierarchy. It is used to know which operator .... A. is most important B. is used first C. is faster D. operators on large numbers 3) The statement that transfers control to the beginning of the loop is called .. A. break statement B. exit statement C. continue statement D. goto statement 4) C programming language was developed by .. A. Dennis Ritche B. Ken Thompson C. Bill Gates D. Peter Norton 5) The value that follows the keyword CASE may only be A. constants B. variable C. number D. semicolon 6) In a C language 'a' represents ... A. a digit B. an integer C. a character D. a word 7) The statement which is used to terminate the control from the loop is A. break B. continue C. goto D. exit 8) The continue command cannot be used with .... A. for B. switch C. do D. while 9) A self contained block of statement...

    MCQ on Database Design with Answer set-1

    1) What is a data integrity? A. It is the data contained in database that is non redundant. B. It is the data contained in database that is accurate and consistent. C. It is the data contained in database that is secured. D. It is the data contained in database that is shared. 2) As per equivalence rules for query transformation, selection operation distributes over A. Union B. Intersection C. Set difference D. All of the above 3) In SQL the word 'natural' can be used with A. inner join B. full outer join C. right outer join D. all of the above 4) Which of the following relational algebraic operations is not from set theory? A. Union B. Intersection C. Cartesian Product D. Select 5) An entity set that does not have sufficient attributes to form a primary key is a A. strong entity set B. weak entity set C. simple entity set D. primary entity set 6) In case of entity integrity, the primary key may be A. not Null B. Null C. both Null and not Null D. any value 7) A logical schema A...

    How to create a Simple calculator Using HTML and JavaScript

    Here are the steps to create a simple calculator using HTML and JavaScript which can evaluate simple arithmetic on integer numbers. Two types of inputs text and button are used here on a table within a form element and OnClick event was used to insert button values on the screen or to evaluate the numbers. Steps to create a Simple calculator Using HTML and JavaScript 1. At first Insert a <form> element within <body> tag. 2. Create a table using <table> .....</table> tag. 3. Insert two types of Input text and button within table data of table row using <tr><td>....</td></tr> tag. 4. Assign OnClick event for all the buttons having numbers and arithmetic operators. 5. Give blank value for Clear(C) button. 6. Use eval() function to evaluate the numbers on OnClick event of equal to sign button. Full HTML code for a Simple HTML calculator <html> <head></head> <body> <h3>Simple Calculator</h3> <br/> <...