Can div have bgcolor?

Results 1 to 3 of 3

Thread: Can div have bgcolor?

  1. #1
    Join Date
    Dec 1969

    Default Can div have bgcolor?

    Hello,<BR>Please help.....I have a page which a graphic artist designed. I am an asp programmer. The graphic artist used &#060;div&#062; in the page which is annoying me. Question...How can I make a bgcolor=white with the &#060;div&#062; tag? I have tried, but deemed unsuccessful. I am more used to &#060;table&#062;. Thanks in advance.

  2. #2
    Join Date
    Dec 1969

    Default RE: Can div have bgcolor?

    stylesheets<BR><BR>bgclor is deprecated. if you don&#039t know stylesheets, you should learn -<BR><BR>tip : Netscape 4.x will not support background in CSS unless you specifiy a border color too. (it&#039s a bug)<BR><BR>j

  3. #3
    Join Date
    Dec 1969

    Default Use background-color style attribute

    Use the following:<BR><BR>&#060;DIV style="background-color: yourcolor;"&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts