Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Inline css

  1. Aug 18, 2013 #1
    When I use HTML I set my Page Tag like this

    <BODY BGCOLOR="#000000" BACKGROUND="food.jpg" text="#FFFFFF" link="#FFFF00" vlink="#FFFF00" alink="#FFFF00">

    But now I am using Inline CSS so can I do this to set my page background?

    <body style="background:black;">
  2. jcsd
  3. Aug 18, 2013 #2
    use background-color:#000;
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook