The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Text in box

View previous topic View next topic Go down

In progress Text in box

Post by -MiSHmaSH- on September 3rd 2013, 9:21 pm

Hi!
Another problem from me.
How to create text in box. (need for my forum) Like moderators post: ''solved and locked'' And how to set box background?

-MiSHmaSH-
Forumember

Male Posts : 267
Reputation : 11
Language : Latvian

Back to top Go down

In progress Re: Text in box

Post by levy on September 3rd 2013, 9:24 pm

When you make a moderation post , add that

Code:
[table class="cpinfo"][tr][td]TEEEXT
[/td][/tr][/table]
And now , go in Administration Panel -> Display -> Colors -> CSS Stylesheet and add that:

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');
}

levy
Hyperactive

Male Posts : 2566
Reputation : 344
Language : Romanian, English
Location : Romania | Feel free to tag me into your topic if you have a problem

http://help.forumotion.com/

Back to top Go down

In progress Re: Text in box

Post by -MiSHmaSH- on September 3rd 2013, 9:35 pm

And how about picture in table? My name is robert too Smile

what to do if I want many background colors in difrent posts?


Last edited by -MiSHmaSH- on September 3rd 2013, 9:39 pm; edited 1 time in total

-MiSHmaSH-
Forumember

Male Posts : 267
Reputation : 11
Language : Latvian

Back to top Go down

In progress Re: Text in box

Post by levy on September 3rd 2013, 9:36 pm

You need to replace http://i.imgur.com/BZ17N.png from the CSS

levy
Hyperactive

Male Posts : 2566
Reputation : 344
Language : Romanian, English
Location : Romania | Feel free to tag me into your topic if you have a problem

http://help.forumotion.com/

Back to top Go down

In progress Re: Text in box

Post by SLGray on September 3rd 2013, 9:38 pm



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35622
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Text in box

Post by -MiSHmaSH- on September 3rd 2013, 9:41 pm

If I want 2 tables with difrent background?

-MiSHmaSH-
Forumember

Male Posts : 267
Reputation : 11
Language : Latvian

Back to top Go down

In progress Re: Text in box

Post by Ikerepc on September 3rd 2013, 9:46 pm

Use same code, but change from .cpinfo fo other what you want, in table use that in place of class="cpinfo"

Example in css you use .solved
than in table use class="solved"

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

In progress Re: Text in box

Post by -MiSHmaSH- on September 3rd 2013, 9:50 pm

How to set size of box?

-MiSHmaSH-
Forumember

Male Posts : 267
Reputation : 11
Language : Latvian

Back to top Go down

In progress Re: Text in box

Post by -MiSHmaSH- on September 4th 2013, 1:45 pm

Solved! Wink

-MiSHmaSH-
Forumember

Male Posts : 267
Reputation : 11
Language : Latvian

Back to top Go down

In progress Re: Text in box

Post by Ikerepc on September 4th 2013, 2:06 pm

Size is same like first box...

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

In progress Re: Text in box

Post by Sir Chivas™ on September 4th 2013, 2:24 pm

@-MiSHmaSH- wrote:How to set size of box?
@-MiSHmaSH- wrote:Solved! Wink


Please don't double post or triple post. Your post needs to be separated within 24 hours. Please use the edit button.

TOPIC SOLVED & LOCKED

Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6756
Reputation : 428
Language : English, Spanish, and French
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum