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.
The forum of the forums
4 posters

    Text centering and background

    angel_of_night
    angel_of_night
    Forumember


    Female Posts : 565
    Reputation : 10
    Language : portuguese

    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
    Ikerepc
    Ikerepc
    Active Poster


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

    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?
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    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.
    Ikerepc
    Ikerepc
    Active Poster


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

    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.
    angel_of_night
    angel_of_night
    Forumember


    Female Posts : 565
    Reputation : 10
    Language : portuguese

    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
    Ikerepc
    Ikerepc
    Active Poster


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

    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;
    angel_of_night
    angel_of_night
    Forumember


    Female Posts : 565
    Reputation : 10
    Language : portuguese

    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.
    Sir Chivas™
    Sir Chivas™
    Helper
    Helper


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

    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;
    }
    angel_of_night
    angel_of_night
    Forumember


    Female Posts : 565
    Reputation : 10
    Language : portuguese

    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
    Sir Chivas™
    Sir Chivas™
    Helper
    Helper


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

    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.
    angel_of_night
    angel_of_night
    Forumember


    Female Posts : 565
    Reputation : 10
    Language : portuguese

    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
    Sir Chivas™
    Sir Chivas™
    Helper
    Helper


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

    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..?
    angel_of_night
    angel_of_night
    Forumember


    Female Posts : 565
    Reputation : 10
    Language : portuguese

    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
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    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.

      Current date/time is November 12th 2024, 2:19 am