The following warnings occurred:
Warning [2] Cannot modify header information - headers already sent by (output started at /home/likebdco/forums.likebd.com/inc/config.php:1) - Line: 5138 - File: inc/functions.php PHP 8.2.35 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
[PHP] errorHandler->error_callback
/inc/functions.php 5138 header
/global.php 37 send_page_headers
/showthread.php 28 require_once
Warning [2] Cannot modify header information - headers already sent by (output started at /home/likebdco/forums.likebd.com/inc/config.php:1) - Line: 2327 - File: inc/functions.php PHP 8.2.35 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
[PHP] errorHandler->error_callback
/inc/functions.php 2327 header
/inc/class_session.php 395 my_setcookie
/inc/class_session.php 116 session->load_guest
/global.php 49 session->init
/showthread.php 28 require_once
Warning [2] Cannot modify header information - headers already sent by (output started at /home/likebdco/forums.likebd.com/inc/config.php:1) - Line: 2327 - File: inc/functions.php PHP 8.2.35 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
[PHP] errorHandler->error_callback
/inc/functions.php 2327 header
/inc/class_session.php 400 my_setcookie
/inc/class_session.php 116 session->load_guest
/global.php 49 session->init
/showthread.php 28 require_once
Warning [2] Cannot modify header information - headers already sent by (output started at /home/likebdco/forums.likebd.com/inc/config.php:1) - Line: 2327 - File: inc/functions.php PHP 8.2.35 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
[PHP] errorHandler->error_callback
/inc/functions.php 2327 header
/inc/class_session.php 123 my_setcookie
/global.php 49 session->init
/showthread.php 28 require_once
Warning [2] Cannot modify header information - headers already sent by (output started at /home/likebdco/forums.likebd.com/inc/config.php:1) - Line: 2327 - File: inc/functions.php PHP 8.2.35 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
[PHP] errorHandler->error_callback
/inc/functions.php 2327 header
/inc/functions.php 2396 my_setcookie
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 682 mark_thread_read
Warning [2] Cannot modify header information - headers already sent by (output started at /home/likebdco/forums.likebd.com/inc/config.php:1) - Line: 2327 - File: inc/functions.php PHP 8.2.35 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
[PHP] errorHandler->error_callback
/inc/functions.php 2327 header
/inc/functions.php 2396 my_setcookie
/inc/functions_indicators.php 255 my_set_array_cookie
/inc/functions_indicators.php 47 mark_forum_read
/showthread.php 682 mark_thread_read




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

Setting Backgrounds using CSS

Googleplus Pint
#1
This tutorial will teach you how to set backgrounds of various HTML elements. You can set following background properties of an element:

The background-color property is used to set the background color of an element.

The background-image property is used to set the background image of an element.

The background-repeat property is used to control the repetition of an image in the background.

The background-position property is used to control the position of an image in the background.

The background-attachment property is used to control the scrolling of an image in the background.

The background property is used as shorthand to specify a number of other background properties.
Hasan
Reply
#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


Possibly Related Threads…
Thread Author Replies Views Last Post
  CSS white-space Property Hasan 0 2,808 07-04-2018, 03:29 AM
Last Post: Hasan
  CSS - Tables Hasan 2 3,673 06-28-2018, 09:55 AM
Last Post: Hasan
  CSS - Links Hasan 1 3,845 06-28-2018, 09:47 AM
Last Post: Hasan
  CSS - Images Hasan 3 4,504 06-28-2018, 09:37 AM
Last Post: Hasan
  css text effect Hasan 9 6,331 06-28-2018, 09:34 AM
Last Post: Hasan
  Setting Fonts using CSS Hasan 7 5,829 06-28-2018, 09:30 AM
Last Post: Hasan
  CSS - Colors Hasan 0 2,787 06-28-2018, 03:23 AM
Last Post: Hasan
  CSS Syntax - Selectors Hasan 0 2,583 06-28-2018, 03:20 AM
Last Post: Hasan
  CSS Introduction Hasan 0 2,588 06-28-2018, 03:19 AM
Last Post: Hasan

Forum Jump:


Users browsing this thread: 2 Guest(s)