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 Sun Oct 27, 2013 12: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 Thu Oct 31, 2013 11:06 am; edited 2 times in total
angel_of_night
angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: Text centering and background

Post by Ikerepc Sun Oct 27, 2013 3: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 : 1187
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

Solved Re: Text centering and background

Post by SLGray Sun Oct 27, 2013 3: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 : 51574
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Text centering and background

Post by Ikerepc Sun Oct 27, 2013 3:52 pm

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

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

http://admins.forumotion.com

Back to top Go down

Solved Re: Text centering and background

Post by angel_of_night Tue Oct 29, 2013 9:48 am

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 Thu Oct 31, 2013 11:03 am; edited 1 time in total
angel_of_night
angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: Text centering and background

Post by Ikerepc Tue Oct 29, 2013 11:38 am

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 : 1187
Reputation : 167
Language : Who cares...
Location : Where web help & support is needed

http://admins.forumotion.com

Back to top Go down

Solved Re: Text centering and background

Post by angel_of_night Tue Oct 29, 2013 11:45 am

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

Back to top Go down

Solved Re: Text centering and background

Post by Sir Chivas™ Tue Oct 29, 2013 11:45 am

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 : 6980
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

https://aforums.org

Back to top Go down

Solved Re: Text centering and background

Post by angel_of_night Tue Oct 29, 2013 12: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

Back to top Go down

Solved Re: Text centering and background

Post by Sir Chivas™ Tue Oct 29, 2013 12: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 : 6980
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

https://aforums.org

Back to top Go down

Solved Re: Text centering and background

Post by angel_of_night Tue Oct 29, 2013 2: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

Back to top Go down

Solved Re: Text centering and background

Post by Sir Chivas™ Tue Oct 29, 2013 9:06 pm

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 : 6980
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

https://aforums.org

Back to top Go down

Solved Re: Text centering and background

Post by angel_of_night Thu Oct 31, 2013 11:05 am

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

Back to top Go down

Solved Re: Text centering and background

Post by SLGray Thu Oct 31, 2013 12: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 : 51574
Reputation : 3525
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top


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