Text centering and background
4 posters
Page 1 of 1
Text centering and background
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:
But I want it to be like this:
Thanks in advance.
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:
But I want it to be like this:
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- Forumember
- Posts : 565
Reputation : 10
Language : portuguese
Re: Text centering and background
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?
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?
Re: Text centering and background
Please post your forum's link.
So you just want the description to be all centered? Is that a forum on your forum?
So you just want the description to be all centered? Is that a forum on your forum?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Text centering and background
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.
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- Forumember
- Posts : 565
Reputation : 10
Language : portuguese
Re: Text centering and background
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)
try to add this code for that what you want center (for CSS)
- Code:
left-margin: auto;
right-margin: auto;
Re: Text centering and background
I don't understand what you meant by "You need to use div class tag class for center background".
That code didn't work.
That code didn't work.
angel_of_night- Forumember
- Posts : 565
Reputation : 10
Language : portuguese
Re: Text centering and background
Hi,
Replace this part of the code:
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>
- 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>
- Code:
.links {
text-align: center !important;
}
Re: Text centering and background
Didn't work.
It's like this now:
It's like this now:
angel_of_night- Forumember
- Posts : 565
Reputation : 10
Language : portuguese
Re: Text centering and background
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.
Re: Text centering and background
Thank you very much for trying to help me! Much appreciated
angel_of_night- Forumember
- Posts : 565
Reputation : 10
Language : portuguese
Re: Text centering and background
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..?
Re: Text centering and background
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.
I guess I can survive like this lol.
Thanks for your time.
angel_of_night- Forumember
- Posts : 565
Reputation : 10
Language : portuguese
Re: Text centering and background
Topic Solved & Locked
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum