css - html footer doesn't work -
When I write it, the word hello appears at the top of my page instead of below:
& lt; Footer & gt; Hello & lt; / Footer & gt;
Here is an important part of my CSS file:
.footer {position: fixed; Bottom: 0; Left: 0; Height: 100px; Background: black; }
I do not really know what is wrong. I am working under the Ruby on Rail , and I'm using PDFKit to convert my HTML page to PDF, but I do not think so.
Footer your HTML Does not have a class, therefore
footer {status: fixed; Bottom: 0; Left: 0; Height: 100px; Width: 100%; Background: black; }
Comments
Post a Comment