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.

Problem with centering groups

View previous topic View next topic Go down

Solved Problem with centering groups

Post by Diamanto on August 21st 2013, 9:21 pm

Hello,
I have a problem with centering groups forumpolish phpbb3. The font of the words in square brackets legend and I managed to hide, but I put a margin inscription legend (the invisible) and the first group appear as margin, however, was the second ruler of there without him.
It looks like this:

http://img819.imageshack.us/img819/147/f96j.jpg

This is the code:

Code:
p em {
color: #1b140e;
font-style: normal;
font-size: 10px;
font-family: Trebuchet MS;
text-transform: uppercase;
margin-left: 100px;
margin-top: 20px;
letter-spacing: 0.4px; text-align:center;}
I hope I explained that well and thanks for any help.


Last edited by Diamanto on August 21st 2013, 10:44 pm; edited 1 time in total

Diamanto
New Member

Female Posts : 22
Reputation : 1
Language : polish, english
Location : Poland

Back to top Go down

Solved Re: Problem with centering groups

Post by Ikerepc on August 21st 2013, 9:40 pm

Hello. Can you please post screenshot of that whant you want have a look of that?

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

Solved Re: Problem with centering groups

Post by Sir Chivas™ on August 21st 2013, 10:14 pm

Hi,

Please provide your forum URL as well, thank you.

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

Solved Re: Problem with centering groups

Post by Ange Tuteur on August 21st 2013, 10:24 pm

Try this in your CSS:
Code:
p em{
margin-left:50%;
margin-right:50%;
float:none;
}
You could apply text-align to p however, that will apply it to all p elements. Unless you try this:
Code:
#main-content > p{
text-align:center;
}
That unfortunately centers more than you wanted though.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Problem with centering groups

Post by Diamanto on August 21st 2013, 10:41 pm


Diamanto
New Member

Female Posts : 22
Reputation : 1
Language : polish, english
Location : Poland

Back to top Go down

Solved Re: Problem with centering groups

Post by Ange Tuteur on August 21st 2013, 10:49 pm

After checking your forum I believe I've found a setup.

Try this in your CSS:
Code:
p em{
margin-left:auto;
margin-right:auto;
float:right;
}
Example: If its what you want?
http://i74.servimg.com/u/f74/18/21/41/30/captur10.jpg

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Problem with centering groups

Post by Diamanto on August 22nd 2013, 5:04 pm

Thank you very much SethC1995. Code works. Subject to closing.

Diamanto
New Member

Female Posts : 22
Reputation : 1
Language : polish, english
Location : Poland

Back to top Go down

Solved Re: Problem with centering groups

Post by Sir Chivas™ on August 23rd 2013, 7:58 am

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