Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Help Trying to style the <hr> tag

Posted on 2013-06-04
2
Medium Priority
?
288 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 53

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

As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
Suggested Courses

670 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