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 Wed Sep 04, 2013 3:21 am

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?
avatar
-MiSHmaSH-
Forumember

Male Posts : 267
Reputation : 12
Language : Latvian

Back to top Go down

In progress Re: Text in box

Post by levy on Wed Sep 04, 2013 3:24 am

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

Male Posts : 2587
Reputation : 346
Language : Romanian, English
Location : criticize artwork, not people!

http://help.forumotion.com/

Back to top Go down

In progress Re: Text in box

Post by -MiSHmaSH- on Wed Sep 04, 2013 3:35 am

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 Wed Sep 04, 2013 3:39 am; edited 1 time in total
avatar
-MiSHmaSH-
Forumember

Male Posts : 267
Reputation : 12
Language : Latvian

Back to top Go down

In progress Re: Text in box

Post by levy on Wed Sep 04, 2013 3:36 am

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

Male Posts : 2587
Reputation : 346
Language : Romanian, English
Location : criticize artwork, not people!

http://help.forumotion.com/

Back to top Go down

In progress Re: Text in box

Post by SLGray on Wed Sep 04, 2013 3:38 am



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

avatar
SLGray
Administrator
Administrator

Male Posts : 40857
Reputation : 2773
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

In progress Re: Text in box

Post by -MiSHmaSH- on Wed Sep 04, 2013 3:41 am

If I want 2 tables with difrent background?
avatar
-MiSHmaSH-
Forumember

Male Posts : 267
Reputation : 12
Language : Latvian

Back to top Go down

In progress Re: Text in box

Post by Ikerepc on Wed Sep 04, 2013 3:46 am

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 : 153
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 Wed Sep 04, 2013 3:50 am

How to set size of box?
avatar
-MiSHmaSH-
Forumember

Male Posts : 267
Reputation : 12
Language : Latvian

Back to top Go down

In progress Re: Text in box

Post by -MiSHmaSH- on Wed Sep 04, 2013 7:45 pm

Solved! Wink
avatar
-MiSHmaSH-
Forumember

Male Posts : 267
Reputation : 12
Language : Latvian

Back to top Go down

In progress Re: Text in box

Post by Ikerepc on Wed Sep 04, 2013 8:06 pm

Size is same like first box...

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 153
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 Wed Sep 04, 2013 8: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
avatar
Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6801
Reputation : 433
Language : EN, FR, ES
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