Search results

  1. M

    Placement of CSS Code

    It's not prefered to place the CSS attributes in the header, create a document named like style.css, then place: <link href="style.css" rel="stylesheet" type="text/css" /> In the <head> of the page. In style.css you just use pure CSS. It easier to edit and if you have many HTML/PHP...
  2. M

    Style Attribute

    Try using CSS documents instead, much easier to edit if you want to change something. The style attribute in the tag is just to use CSS code in the tag. Try going for: <div class="div1></div> And in your CSS document: .div1 { width: 300px; background-color: #000000; } Then...
Top