Category Archives: CSS

100% height

First, give html and body tag 100% because they are the parents, html, body { height: 100%; } then give any child tag 100%

Posted in CSS, Programming | Tagged , | Leave a comment

background-image: url

If your image is in folder project\images and your css file is in project\css , then in css file the path should be : background-image: url (‘../images/bg.jpg’); Why ../ ? Because image folder is parallel to css folder, and you … Continue reading

Posted in CSS, HTML, Programming | Tagged , , , | Leave a comment