The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Text centering and background

4 posters

Go down

Solved Text centering and background

Post by angel_of_night October 27th 2013, 6:05 pm

Hello.
I am trying to make a background on my Forum Description, but it doesn't justify like the description is.
Right now it looks like this:
Text centering and background CpOaTm3

But I want it to be like this:
Text centering and background LowIguU

Thanks in advance.


Last edited by angel_of_night on October 31st 2013, 5:06 pm; edited 2 times in total
angel_of_night
angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

View user profile

Back to top Go down

Solved Re: Text centering and background

Post by Ikerepc October 27th 2013, 9:48 pm

Hello.

Why you using two codes for same thing? Can you give me just part of html code where you are write that 2 codes in html page?
Ikerepc
Ikerepc
Active Poster

Male Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed

View user profile http://admins.forumotion.com

Back to top Go down

Solved Re: Text centering and background

Post by SLGray October 27th 2013, 9:49 pm

Please post your forum's link.

So you just want the description to be all centered?  Is that a forum on your forum?


Text centering and background Slgray10

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

Male Posts : 50262
Reputation : 3466
Language : English
Location : United States

View user profile https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Text centering and background

Post by Ikerepc October 27th 2013, 9:52 pm

I think she want just last part, with background to be centered.
Ikerepc
Ikerepc
Active Poster

Male Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed

View user profile http://admins.forumotion.com

Back to top Go down

Solved Re: Text centering and background

Post by angel_of_night October 29th 2013, 3:48 pm

http://www.namelesscraft.org/

HTML of the description:


As you can see it's already centered, but I can't figure out how to make the links with background centered according the description.


Last edited by angel_of_night on October 31st 2013, 5:03 pm; edited 1 time in total
angel_of_night
angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

View user profile

Back to top Go down

Solved Re: Text centering and background

Post by Ikerepc October 29th 2013, 5:38 pm

1. You need to use div class tag class for center background

try to add this code for that what you want center (for CSS)
Code:
left-margin: auto;
right-margin: auto;
Ikerepc
Ikerepc
Active Poster

Male Posts : 1186
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed

View user profile http://admins.forumotion.com

Back to top Go down

Solved Re: Text centering and background

Post by angel_of_night October 29th 2013, 5:45 pm

I don't understand what you meant by "You need to use div class tag class for center background".

That code didn't work.
angel_of_night
angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

View user profile

Back to top Go down

Solved Re: Text centering and background

Post by Sir Chivas™ October 29th 2013, 5:45 pm

Hi,

Replace this part of the code:
Code:
 <span class="namelessbackground10"><a
href="http://www.namelesscraft.org/f23-namelesscraft" class="postlink"><span
class="nameless10">NAMELESSCRAFT</span></a> - <a href="http://www.namelesscraft.org/f24-minecraft-discussion" class="postlink"><span
class="nameless10">MINECRAFT DISCUSSION</span></a>
</span>
With this code:
Code:
 <div class="links"><span class="namelessbackground10"><a
href="http://www.namelesscraft.org/f23-namelesscraft" class="postlink"><span
class="nameless10">NAMELESSCRAFT</span></a> - <a href="http://www.namelesscraft.org/f24-minecraft-discussion" class="postlink"><span
class="nameless10">MINECRAFT DISCUSSION</span></a>
</span></div>
Add this now into your css:
Code:
.links {
text-align: center !important;
}
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6825
Reputation : 434
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

View user profile

Back to top Go down

Solved Re: Text centering and background

Post by angel_of_night October 29th 2013, 6:22 pm

Didn't work.
It's like this now:
Text centering and background EjiYwnv
angel_of_night
angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

View user profile

Back to top Go down

Solved Re: Text centering and background

Post by Sir Chivas™ October 29th 2013, 6:47 pm

Okay, I'm on my mobile, once i get home from school and if you are still having this issue, Ill try to figure it out.
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6825
Reputation : 434
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

View user profile

Back to top Go down

Solved Re: Text centering and background

Post by angel_of_night October 29th 2013, 8:27 pm

Thank you very much for trying to help me! Much appreciated Smile
angel_of_night
angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

View user profile

Back to top Go down

Solved Re: Text centering and background

Post by Sir Chivas™ October 30th 2013, 3:06 am

Hi,

Where can I view this itself on the forum? You said it was a description, but it seems that I cannot see it anywhere in the forum.


I need to create an account in order to access and view this part. Next time please either change the permission or give us an account that we can use to access the part that you're having difficulty with. Also, I believe that you got it the way you wanted, seems to be centered..?
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6825
Reputation : 434
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

View user profile

Back to top Go down

Solved Re: Text centering and background

Post by angel_of_night October 31st 2013, 5:05 pm

Well, I fixed it with some padding, but for some reason it doesn't work until the borders of the description.
I guess I can survive like this lol.
Thanks for your time. Smile
angel_of_night
angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

View user profile

Back to top Go down

Solved Re: Text centering and background

Post by SLGray October 31st 2013, 6:16 pm

Topic Solved & Locked


Text centering and background Slgray10

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

Male Posts : 50262
Reputation : 3466
Language : English
Location : United States

View user profile https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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