Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Setting Backgrounds using CSS

Googleplus Pint
#2
Set the background color:
Following is the example which demonstrates how to set the background color for an element.

<p style="background-color:yellow;">
This text has a yellow background color.
</p>
Hasan
Reply


Messages In This Thread
Setting Backgrounds using CSS - by Hasan - 06-28-2018, 03:27 AM
RE: Setting Backgrounds using CSS - by Hasan - 06-28-2018, 03:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  CSS white-space Property Hasan 0 1,651 07-04-2018, 03:29 AM
Last Post: Hasan
  CSS - Tables Hasan 2 1,940 06-28-2018, 09:55 AM
Last Post: Hasan
  CSS - Links Hasan 1 2,278 06-28-2018, 09:47 AM
Last Post: Hasan
  CSS - Images Hasan 3 2,439 06-28-2018, 09:37 AM
Last Post: Hasan
  css text effect Hasan 9 2,638 06-28-2018, 09:34 AM
Last Post: Hasan
  Setting Fonts using CSS Hasan 7 2,482 06-28-2018, 09:30 AM
Last Post: Hasan
  CSS - Colors Hasan 0 1,651 06-28-2018, 03:23 AM
Last Post: Hasan
  CSS Syntax - Selectors Hasan 0 1,449 06-28-2018, 03:20 AM
Last Post: Hasan
  CSS Introduction Hasan 0 1,435 06-28-2018, 03:19 AM
Last Post: Hasan

Forum Jump:


Users browsing this thread: 3 Guest(s)