Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > div background

Reply
Thread Tools

div background

 
 
Blindsya
Guest
Posts: n/a
 
      07-18-2003
What is the easiest way of setting the background colour for the <div> tag?
Any help would be much appreciated


 
Reply With Quote
 
 
 
 
Jacqui or (maybe) Pete
Guest
Posts: n/a
 
      07-18-2003
In article <bf90j7$7ke$(E-Mail Removed)>, http://www.velocityreviews.com/forums/(E-Mail Removed) says...
> What is the easiest way of setting the background colour for the <div> tag?
> Any help would be much appreciated
>
>

In your css:

div {
background: maroon;
color: fuchsia;
}


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
<div ... /> and <div ...></div> K Viltersten ASP .Net 4 03-31-2009 07:33 PM
DIV background-repeat background-image? For shadow effect jc ASP .Net 3 03-19-2008 04:19 PM
DIV background-repeat background-image for shadowing effect jc HTML 1 03-19-2008 02:16 PM
NS/FF don't change div offsetWidth when div innerHTML is added toand div becomes wider mscir Javascript 3 06-26-2005 04:04 PM
Q: Div A inside Div B is larger than Div B Dwayne Madsen Javascript 1 06-01-2005 03:02 PM



Advertisments