Inline css

  • Thread starter biferi
  • Start date
  • #1
191
0
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;">
 

Answers and Replies

  • #2
18,490
8,351
<body style="background:black;">

use background-color:#000;
 

Related Threads on Inline css

  • Last Post
Replies
17
Views
780
  • Last Post
Replies
3
Views
59K
  • Last Post
Replies
11
Views
3K
  • Last Post
Replies
8
Views
744
  • Last Post
Replies
19
Views
1K
  • Last Post
Replies
9
Views
825
Replies
4
Views
1K
  • Last Post
Replies
0
Views
3K
Replies
6
Views
5K
Replies
3
Views
951
Top