O'Reilly logo

PHP Application Development with NetBeans Beginner's Guide by M A Hossain Tonu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — adding CSS support to the document

We shall use index.php as our single page interface for the application, and will add the CSS stylesheet support to the document. To maintain practice, we will try to put style attributes into classes, so that they become reusable and can be utilized as an element's class name whenever a specific class of styles is required. So, let's create the CSS classes first:

  1. Create a folder named styles inside our project source directory for our CSS file.
  2. To create a Cascading Style Sheet where CSS classes reside, right-click on the styles folder inside the project, select New | Cascading Style Sheet from the New Cascading Style Sheet dialog box, name the CSS file as styles.css, and hit Finish. Drop all ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required