Notice using css and table
Page 1 of 1 • Share •
Notice using css and table
Hello FM users,
Today I am going to show you how to compose a notice in your post using css and table. First, please take a look at this demo:
Ok then, let's start.
Step 1: Copy and paste this code into your css style sheet (ACP>>Display>>Colors>>CSS)
Step 2:
Use this bbcode when you want to post a notice inside your posting:
That's it!
For advanced user:
You can change the border thickness (border: 1px solid;), color of text (color: #00529B;), background color of box (background-color: #BDE5F8;) and the image as well (background-image: url('http://i.imgur.com/BZ17N.png')
.
Written by Eagle8x
Today I am going to show you how to compose a notice in your post using css and table. First, please take a look at this demo:
| Line 1 : Your message goes here! Your message goes here! Line 2: Your message goes here! Your message goes here! |
Ok then, let's start.
Step 1: Copy and paste this code into your css style sheet (ACP>>Display>>Colors>>CSS)
- Code:
.cpinfo {
border: 1px solid;
margin: 10px 0px;
padding:15px 10px 15px 50px;
background-repeat: no-repeat;
background-position: 10px center;
}
.cpinfo {
color: #00529B;
background-color: #BDE5F8;
background-image: url('http://i.imgur.com/BZ17N.png');
}
Step 2:
Use this bbcode when you want to post a notice inside your posting:
- Code:
[table class="cpinfo"][tr][td]Your text goes here! Your text goes here!
Your text goes here! Your text goes here!
Your text goes here! Your text goes here!
[/td][/tr][/table]
That's it!
For advanced user:
You can change the border thickness (border: 1px solid;), color of text (color: #00529B;), background color of box (background-color: #BDE5F8;) and the image as well (background-image: url('http://i.imgur.com/BZ17N.png')
Written by Eagle8x

Luky- Forumotion Member
-

Posts: 6114
Age: 23
Language: Romanian, English
Location: Bucharest, Romania
Points: 2697
Join date: 2007-07-25
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum




by Luky on March 26th 2011, 10:41 am




