Skip to content

Schools of Web

Teach Yourself Web Development and Web Designing Step by Step With Easy Explanation

  • All About PHP
    • PHP for Beginners
    • PHP Function List
    • PHP How-to
  • HTML
    • HTML for Beginners
    • HTML How-to
  • CSS
    • CSS for Beginners
    • CSS How-to
Search Search Close
  • Home
  • CSS How-to
  • Page 2

Category: CSS How-to

Here you’ll find different CSS how-to tutorials.Please browse the following articles.   

Jan 25

How to stretch and scale CSS background?

Neil FinLeave a commentCSS How-to, HTML How-to

Problem: There is a background for a container. The problem is that the background doesn’t cover the contents of that container. Now you need to stretch or scale to fill its container. Solution: The code: HTML: CSS: Explanation: background-size defines Read more

Jan 25

How to get the footer to stay at the bottom of a Web page?

Neil FinLeave a commentCSS How-to, HTML How-to

Problem: A webpage contains some contents with footer.  You want to keep the footer always at the bottom whether the contents go pretty far down or not even enough content to go all the way to the bottom of the Read more

Jan 25

How to change an HTML5 input’s placeholder text color with CSS?

Neil FinLeave a commentCSS How-to, HTML How-to

Problem: You have a form that contains input fields with the placeholder. The default color of the placeholder is light gray. You need to change the color of the placeholder. Solution: If you want to change the color to pink, Read more

Jan 24

What is the recommended way to embed PDF in HTML?

Neil FinLeave a commentCSS How-to, HTML How-to

Problem: You want to embed a PDF file on your html page. And you’re looking for the best way to do that. Solution: The best way of embedding a PDF file is to use the <object> tag. The code: Explanation: Read more

Jan 24

How to give text or an image a transparent background using CSS?

Neil FinLeave a commentCSS How-to, HTML How-to

Problem: You want to put a background on the contents (texts or image) and make it transparent using opacity. But you don’t want to change opacity of your contents. HTML: CSS: By doing this, both background and text become in Read more

Jan 24

How to remove the space between inline-block elements?

Neil FinLeave a commentCSS How-to, HTML How-to

Problem: There are two inline-block elements in your page. Suppose HTML: And, the CSS: Here, you used “display:inline-block” to control margin and padding on inline elements. But, this “inline-block” creates a problem making whitespaces between inline-block elements. You need to Read more

Jan 24

How to apply CSS to iframe?

Neil FinLeave a commentCSS How-to, HTML How-to

Problem: You have a “iframe” section in your page that holds another page. Now you need to add some CSS to style the <iframe> tag.

Posts pagination

Previous 1 2

Courses

  • PHP for Beginners
  • CSS for Beginners
  • HTML for Beginners

How-to Tutorials

  • PHP How-to
  • HTML How-to

About this site

Schools of Web is run by web developer and designer to help others learn it easily.
  • Home
  • About Us
  • Contact Us
  • Privacy Policy
  • Earnings Disclaimer
Copyright © All rights reserved.
Education Soul by WEN Themes