I need to change the colour of this box so that it stands out since the box right above it is the same exact colour.
Can someone just tell me what to change code wise & what colours or shading you think would look best so it pops. I’m afraid to start changing things as I don’t want anything to break.
Here’s the code & below it, is the page showing the box on the right panel.
<div style=“border: 1px solid #510028; margin: 10px auto; padding: 5px; background-color: #9b1155; text-align: center; width: 260px”>
<h3 style=“color: #ffffff; font-weight: bold; text-shadow: 0px 1px 0px #000000; text-decoration: underline; line-height: 19px; font-size: 17px”><font size=“5”>Free Bonuses</font></h3>
<p>
<font color=“#ffffff”>1. Along with your order you will also receive 2 Free Songs & 1 Guided Imagery you can use for yourself or when you see clients.</font>
</p>
<p>
<font color=“#ffffff”>2. A Discount on Advertising with the most well known Top Escort Industry Directory <br />
</font>
</p>
I don’t know how or what the code is, hence me asking for help. I could have maybe changed the colours in certain areas, but I needed the exact code to do what I wanted.
Oh god, I know I won’t be able to do all of that <sigh> LOL
That’s why I wanted the border to go inside the existing thin border, so it wouldn’t make the box any wider than it is & so it’s inline with all the other boxes.
I guess it can’t be too thick otherwise the text will end up being too narrow & will look stupid. I just wanted it thick & bright enough so it pops the box & I don’t have to change the entire background colour. I don’t want it to blend in with the other box of the same colour. It really needs to stand out.
Ok, but there’s shading in those other white boxes & I know that involves more coding.
Can you tell me how to maybe put a somewhat thick bright white border just inside the box so it makes it really stand out. Maybe we could shade that with grey or something. Like the other shading is done in the white boxes.
you could change your border style on the box from
border: 1px solid #510028;
to something like
border: 5px solid rgb(255,255,255); /* 5px white border */
but this will also add an extra 8 pixels to the overall width of the box.
If that is an issue, then you could put a “gutter” div inside the box. (The gutter div would contain all the current content in the box.) . Then put the 5px border on the gutter div to maintain the original overall width of 260px on the box.