Welcome to Geeklog, Anonymous Tuesday, September 10 2024 @ 02:23 pm 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
.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.
Include a border like this
<div class"yellow border">something here</div>
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>
3
2
Quote
All times are EDT. The time is now 02:23 pm.
- 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