Welcome to Geeklog, Anonymous Sunday, October 06 2024 @ 07:24 am EDT

Geeklog Forums

Add A Little Color


Status: offline

ronack

Forum User
Full Member
Registered: 05/27/03
Posts: 612
Add a little color to Stories, Blocks and Static Pages.

I added this to my style.css

Text Formatted Code

.noborder img    {
    border: 0px;
}

img {border=0;}

.yellow {
        background-color: #FFFF00;
        padding: 5px;
}

.red {
        background-color: #FF0000;
        padding: 5px;
}

.green {
        background-color: #00D900;
        padding: 5px;
}

.gray {
        background-color: #C1C1CA;
        padding: 5px;
}

.blue {
        background-color: #1919F0
        padding: 5px;
}

.border {
        border: 1px #000000;
        border-style: ridge;
}
 

Then I can wrap some text in a a div like this.
Text Formatted Code
 <div class="yellow"> put a bunch of text here.</div>
Include a border like this
<div class"yellow border">something here</div>
 Quote

All times are EDT. The time is now 07:24 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content