Login | Register


All times are UTC - 8 hours


It is currently Sun Nov 22, 2009 11:10 pm




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Text Alignment
PostPosted: Sat Nov 07, 2009 12:08 am 

Joined: Tue Nov 03, 2009 5:42 pm
Posts: 11
Last time I post on these forums I swear... I hope anyways.

I'm not exactly sure what I did but now my text on both my website and forums is aligning in the center when it used to align left. Can anyone tell me how to change this? Nothing lines up anymore and it looks terrible... especially on the forums. Just to clear things up, I have my overall page alignment centered, but the font used to be aligned to the left in my modules and on my forum, but now its centering itself.

Any help would be very much apreciated! Thank you for your time.

Shinobu


Top
 Offline Profile  
 
 Post subject: Re: Text Alignment
PostPosted: Sun Nov 08, 2009 6:47 pm 

Joined: Tue Nov 03, 2009 5:42 pm
Posts: 11
Anyone there?


Top
 Offline Profile  
 
 Post subject: Re: Text Alignment
PostPosted: Mon Nov 09, 2009 2:27 am 
User avatar

Joined: Sun Jun 14, 2009 7:51 am
Posts: 103
The only thing I can think of is that some site themes align text differently. Did you recently change the overall Theme of your site? That might have done it if things were aligning to the left before. If that's the case you will have to mess with the site CSS to make things align to the left.

_________________
Image


Top
 Offline Profile  
 
 Post subject: Re: Text Alignment
PostPosted: Mon Nov 09, 2009 5:41 am 

Joined: Tue Nov 03, 2009 5:42 pm
Posts: 11
I thought of that, but when I switched the themes around to see if it was the case it didn't go back to the left. Does anyone know where I can modify the entire theme's CSS? Maybe I can put in a command that forces the entire page's text to align left rather then center. Does such a command exist?

Thank you for the response btw. :D


Top
 Offline Profile  
 
 Post subject: Re: Text Alignment
PostPosted: Mon Nov 09, 2009 8:11 am 

Joined: Thu Feb 19, 2009 3:50 pm
Posts: 25
I looked at your CSS. This is what can be causing it:


Code:
div#root table#root_table {
  margin-left: auto;
  margin-right: auto;
}


Try getting rid of it and see if that changes it. The default is left align, so the only place I can think of that somebody could change it is CSS. I could be wrong though lol.

If you want to just center some things, I would just stick them between DIV tags if html, or Align tags if BBCode.

Code:
<DIV align="center"> whatever you want centered in here</DIV>


or

Code:
[align=center]whatever you want centered in here[align]


I would suggest to keep css clean because there are some things you don't really need in there that can be easily controlled through the console that they have just to keep it manageable for yourself. For example I used the Theme Configuration to size my columns. You can also change the alignment of your site (not the text hehe) here as well. It's there...less coding for us!

If you feel adventurous and want to really mould your site into something different, then check out this post viewtopic.php?f=5&t=4359 on some CSS tags.

Otherwise, if you aren't deviating too far from the original template, then keep it simple. I'm not the biggest fan of coding, so I use what I can of the console, then use CSS :P, which I only have about 4 or 5 selectors manipulated.

_________________
-Pekoe/Capricia
Webmaster of Killer Bunnies on Khaz Modan


Top
 Offline Profile  
 
 Post subject: Re: Text Alignment
PostPosted: Mon Nov 09, 2009 10:27 am 

Joined: Tue Nov 03, 2009 5:42 pm
Posts: 11
http://hoc.guildomatic.com/

That is my site. At the moment I'm not using a custom CSS. So I'm not sure how I can change the CSS of the theme itself.


Top
 Offline Profile  
 
 Post subject: Re: Text Alignment
PostPosted: Mon Nov 09, 2009 11:03 am 

Joined: Thu Feb 19, 2009 3:50 pm
Posts: 25
Oh whoops, sorry...was looking at another CSS att. Hmmm if you don't have a custom CSS....I'm not sure where else the problem is. Can you remember at what point this happened? Like what were you working on before it happened?

_________________
-Pekoe/Capricia
Webmaster of Killer Bunnies on Khaz Modan


Top
 Offline Profile  
 
 Post subject: Re: Text Alignment
PostPosted: Mon Nov 09, 2009 5:45 pm 

Joined: Tue Nov 03, 2009 5:42 pm
Posts: 11
The only thing that I've really tweaked with is my banner and I made some buttons to go underneath. However, none of the code messes with my text.


Top
 Offline Profile  
 
 Post subject: Re: Text Alignment
PostPosted: Tue Nov 10, 2009 9:38 am 

Joined: Thu Feb 19, 2009 3:50 pm
Posts: 25
Hmmm, hopefully an admin can answer you because I can't find it.

Don't know if you want to do this or not, but you can pull Notepad out and copy and paste your codes onto that and try to find and isolate the problem that way. Like copy everything you've written and coded onto Notepad and stick them one by one back into your site.

>.<

_________________
-Pekoe/Capricia
Webmaster of Killer Bunnies on Khaz Modan


Top
 Offline Profile  
 
 Post subject: Re: Text Alignment
PostPosted: Wed Nov 11, 2009 6:23 pm 

Joined: Tue Nov 03, 2009 5:42 pm
Posts: 11
I followed your brilliant advice and it worked! Turns out I was missing a </table> and a </tbody> at the end of my banner/button code. Thank you for all your help on both of the issues I was having. I really appreciate the time and effort you put into helping me.


Top
 Offline Profile  
 
 Post subject: Re: Text Alignment
PostPosted: Fri Nov 13, 2009 2:01 am 

Joined: Thu Feb 19, 2009 3:50 pm
Posts: 25
Glad everything worked out!

_________________
-Pekoe/Capricia
Webmaster of Killer Bunnies on Khaz Modan


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron