Problem to adjust background color

I want to correct the background color of the highlighted area below. How?
34d.pngto this page

It is not affecting but I've put
.well {
    background-color: rgb(22, 105, 173);

Open in new window

to the css file.
LVL 12
HuaMin ChenProblem resolverAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Julian HansenCommented:
That will colour the entire background - not the bit in red on the right.

You do not appear to have an element on the right that makes up that block?
HuaMin ChenProblem resolverAuthor Commented:
OK to fill the whole block with color, while the block is actually defined by this

        <div class="container">
            <div class="well well-lg">

Open in new window

What to adjust?
Julian HansenCommented:
When you say "whole block" do you mean the red bit (Can't do - as there is no markup for that area) or the entire .well INCLUDING the table?
HuaMin ChenProblem resolverAuthor Commented:
Yes, entire block (div), including the table.
Julian HansenCommented:
The reason your style is not working is that it is in the CSS file StyleSheet1.css

The style for the table is being overridden by the bootstrap file which is included AFTER the above - so it's version takes precdence.

Move StyleSheet1.css after Bootstrap - would be the ideal solution.

If that is problematic then declare your style !important i.e.

background-color: rgb(22,105,173)!important;

Open in new window

I try to avoid !important unless I have no choice as it can have unwanted side-effects.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.