Showing posts with label css3. Show all posts
Showing posts with label css3. Show all posts

Monday, 17 August 2015

How to centralize div horizontally and vertically

Hi all,
Here are two method to center align a position of div.
  1. div{
  2. height: 200px;
  3. width: 200px;
  4. background: #ccc;
  5. top:0;
  6. bottom: 0;
  7. left:0;
  8. right: 0;
  9. margin: auto;
  10. position: absolute;
  11. } 




 - Read the full Blog at: Howto centralize div horizontally and vertically

FindNerd allows you to post Html questions and answers. In this forum html designers and developers can collaborate with each other to resolve a specific html issue, as all the community members here are highly experienced and can provide answers to any html issue in a short span of time.

Apart from this, If you have any PHP language issues, you can post at PHP developer forum and get instantly resolved it from highly experienced FindNerd community members.


Tuesday, 28 July 2015

How to make custom attribute in Html5 ?

Hi all, You can make your own custom attribute using data-. It allows possessive exchanged information between HTML and its DOM representation. It can work with javascript also, every browser will let you fetch and modify data- attributes using the getAttribute and setAttribute methods.

Example with css -  

css :-
 
section [data-index='123'] {
color:red;
width:200px;
}
 
 
 
How to make custom attribute in Html5 ?
-For full set of codes /steps, visit the complete Blog: How to make custom attribute in Html5 ?

FindNerd is the right place to resolve HTML problems. Here you can post Html Help Forum.
Apart from this, If you have any PHP language query, you can post at PHP questions and answers and get instantly resolved it from highly experienced FindNerd community members.