Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Help Trying to style the <hr> tag

Posted on 2013-06-04
2
Medium Priority
?
289 Views
Last Modified: 2013-06-04
I have tried to make all the <hr> tags in the center a light gray, but can only get blue
 which i kinda like,but need to know why gray does not work
The rule
  .section_area .middlepanel hr{
    background: #0066ff;  Blue this works, even red works
    border: 0;
    height: 1px;
    width: 90%;
    color: #F2F2F2;
     }                        
  .section_area .middlepanel hr{
    background: #F2F2F2; gray this does not work  
    border: 0;
    height: 1px;
    width: 90%;
    color: #F2F2F2;
     }                        
What am i doing wrong ?
the page
http://roofgenius.com/test.asp
0
Comment
Question by:isnoend2001
2 Comments
 
LVL 54

Accepted Solution

by:
Scott Fell,  EE MVE earned 2000 total points
ID: 39220641
At the very bottom of your css change to

 .section_area .middlepanel hr{
    background: #666;  
    border: 0;
    height: 1px;
    width: 90%;
    color: #666;
     }      

in action http://jsbin.com/evihaw/1/edit
0
 

Author Closing Comment

by:isnoend2001
ID: 39220668
Thanks that fixes me right up
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
Suggested Courses

879 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question