Jump to content


Center tag not working in a skin


  • You cannot start a new topic
  • You cannot reply to this topic
11 replies to this topic

#1 Zhaan

    Member

  • 52 posts
  • Joined: September 16, 2011
  • 15 topics
  • Local time: 11:53 PM
  • Zodiac:Leo
  • OS:Windows 7
  • Country:
Offline
  • Time Online: 14h 56m 7s

Posted 02 October 2011 - 06:01 PM

http://starfleet-terra.com/

I'm not sure if this is something you can help me with or not, but the issue is that when I'm posting a topic and I want to center anything (text, graphic), it doesn't work. This only applies to the Final Frontier skin. When I view the topic in another skin, whatever I've attempted to center shows centered properly, as it should. So, apparently this is something the skin creator left out or messed up somehow. Any idea how to remedy this?

#2 Broni Re: Center tag not working in a skin

    Malware Annihilator

  • 24,883 posts
  • Joined: October 04, 2004
  • 1,860 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 09:53 PM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Offline
  • Time Online: 57d 10h 30m 28s

Posted 02 October 2011 - 07:14 PM

I can't really see anything, or test post without signing in, so I'll need temporary login.

#3 Zhaan Re: Center tag not working in a skin

    Member

  • 52 posts
  • Joined: September 16, 2011
  • 15 topics
  • Local time: 11:53 PM
  • Zodiac:Leo
  • OS:Windows 7
  • Country:
Offline
  • Time Online: 14h 56m 7s

Posted 02 October 2011 - 09:51 PM

Sent you a pm with the info and admin access as well. Thanks.

#4 Broni Re: Center tag not working in a skin

    Malware Annihilator

  • 24,883 posts
  • Joined: October 04, 2004
  • 1,860 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 09:53 PM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Offline
  • Time Online: 57d 10h 30m 28s

Posted 02 October 2011 - 09:58 PM

testing



#5 Broni Re: Center tag not working in a skin

    Malware Annihilator

  • 24,883 posts
  • Joined: October 04, 2004
  • 1,860 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 09:53 PM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Offline
  • Time Online: 57d 10h 30m 28s

Posted 02 October 2011 - 10:01 PM

It looks like you have this CSS setting missing:


Quote

span.bbc_center, div.bbc_center, p.bbc_center {




display: block;
text-align: center;
}

Add it to ipb_common.css

#6 Zhaan Re: Center tag not working in a skin

    Member

  • 52 posts
  • Joined: September 16, 2011
  • 15 topics
  • Local time: 11:53 PM
  • Zodiac:Leo
  • OS:Windows 7
  • Country:
Offline
  • Time Online: 14h 56m 7s

Posted 02 October 2011 - 10:03 PM

edit: here's what i just found in there:


span.bbc_center, div.bbc_center { text-align: center; display: block; }

seems to be formatted differently than the code you gave me. I'm going to replace it and see what happens.

#7 Broni Re: Center tag not working in a skin

    Malware Annihilator

  • 24,883 posts
  • Joined: October 04, 2004
  • 1,860 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 09:53 PM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Offline
  • Time Online: 57d 10h 30m 28s

Posted 02 October 2011 - 10:08 PM

That's fine. It's there then. Same thing.

#8 Zhaan Re: Center tag not working in a skin

    Member

  • 52 posts
  • Joined: September 16, 2011
  • 15 topics
  • Local time: 11:53 PM
  • Zodiac:Leo
  • OS:Windows 7
  • Country:
Offline
  • Time Online: 14h 56m 7s

Posted 02 October 2011 - 10:09 PM

yep, it worked. i saw you post somewhere that you're no code expert...pfft. :1952:

#9 Broni Re: Center tag not working in a skin

    Malware Annihilator

  • 24,883 posts
  • Joined: October 04, 2004
  • 1,860 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 09:53 PM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Offline
  • Time Online: 57d 10h 30m 28s

Posted 02 October 2011 - 10:11 PM

I see what's going on
In that code "p.bbc_center" is missing.

#10 Broni Re: Center tag not working in a skin

    Malware Annihilator

  • 24,883 posts
  • Joined: October 04, 2004
  • 1,860 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 09:53 PM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Offline
  • Time Online: 57d 10h 30m 28s

Posted 02 October 2011 - 10:12 PM

Quote

i saw you post somewhere that you're no code expert...pfft.
I'm not. Taught myself :)

#11 Zhaan Re: Center tag not working in a skin

    Member

  • 52 posts
  • Joined: September 16, 2011
  • 15 topics
  • Local time: 11:53 PM
  • Zodiac:Leo
  • OS:Windows 7
  • Country:
Offline
  • Time Online: 14h 56m 7s

Posted 02 October 2011 - 10:12 PM

yeah, it's all good now. i just replaced the previous with yours and it's great.

#12 Broni Re: Center tag not working in a skin

    Malware Annihilator

  • 24,883 posts
  • Joined: October 04, 2004
  • 1,860 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 09:53 PM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Offline
  • Time Online: 57d 10h 30m 28s

Posted 02 October 2011 - 10:13 PM

Cool :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 5 user(s)