|
Kimmie
|
 |
« on: May 22, 2007, 04:27:28 pm » |
|
If I wanted to change the margins of my forum so that everything (such as when you are viewing a list of topics) fits on one page (instead of some of it being off the page on the right side), is this the section I need to change? /* The main body of the entire forum. */ body { background-color: #EDECEA; margin: 0px; padding: 12px 30px 4px 30px; background-image: url(http://www.smfboards.com/Themes2/userstyles/LightBrown/pgback.jpg); }
and is it the "margin part" that determines that width or is it the padding?
|
|
|
|
|
Logged
|
|
|
|
|
|
simply sibyl
Female Type
Global Moderator
Offline
Posts: 9429
Please do not PM for Support
|
 |
« Reply #1 on: May 22, 2007, 04:30:32 pm » |
|
If I wanted to change the margins of my forum so that everything (such as when you are viewing a list of topics) fits on one page (instead of some of it being off the page on the right side), is this the section I need to change? /* The main body of the entire forum. */ body { background-color: #EDECEA; margin: 0px; padding: 12px 30px 4px 30px; background-image: url(http://www.smfboards.com/Themes2/userstyles/LightBrown/pgback.jpg); }
and is it the "margin part" that determines that width or is it the padding? change the padding.. Right now its 12px from the top, 4 from the bottom, 30px from the right and left side
|
|
|
|
|
Logged
|
|
|
|
|
Kimmie
|
 |
« Reply #2 on: May 22, 2007, 04:33:00 pm » |
|
k thats what I thought. Thanks 
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Kimmie
|
 |
« Reply #4 on: May 22, 2007, 08:34:11 pm » |
|
I tried using the code from the other topic but all it does it make the overall forum margins change and nothing else. Those margins can be changed by simply increasing the 2nd and 4th parts of the padding code instead of using the 80% code. The 80% code basically shoves everything to the left - but it doesnt change the topic listings. Those still overflow past the right hand side. From what it looks like on your test site for color guides, that area would be considered WindowBG2. I have messed with that area using different codes - till my eyes are crossed..lol. I tried adding that 80% code to that area - and it made the topic area expand even farther to the right - not sure if that is indicating I am on the right track or not because those areas on the Red Fire stylesheet are just like all the other ones with no special code in them. I know it can be done though because its been done on the Red Fire stylesheet. I just cant figure out how the HECK they did it..  .
|
|
|
|
|
Logged
|
|
|
|
|
Kimmie
|
 |
« Reply #5 on: May 22, 2007, 08:39:36 pm » |
|
Here is a visual of what I mean - incase anyone else can figure it out..lol Normal css code makes topics expand past the margin (click to enlarge): 
The Red Fire Stylesheet showing topics within the margin (click to enlarge): 
|
|
|
|
|
Logged
|
|
|
|
|
Kimmie
|
 |
« Reply #6 on: May 22, 2007, 08:42:48 pm » |
|
I just realized Crasy is the author of that stylesheet  Crasy, can you show me how you did it? pleeeeeeeeeeeeeease? 
|
|
|
|
|
Logged
|
|
|
|
simply sibyl
Female Type
Global Moderator
Offline
Posts: 9429
Please do not PM for Support
|
 |
« Reply #7 on: May 22, 2007, 08:43:36 pm » |
|
Ive not yet had a moment to take a look at both stylesheets and see what is going on. I did look at the site (the link you pmed me) and like I said.. its centered for me.  Ill take a look in abit.. dinner first..
|
|
|
|
|
Logged
|
|
|
|
simply sibyl
Female Type
Global Moderator
Offline
Posts: 9429
Please do not PM for Support
|
 |
« Reply #8 on: May 22, 2007, 08:50:12 pm » |
|
I just checked your test site again. It is totally centered for me .. that same area..all areas are.
I dunno why you are seeing it differently
|
|
|
|
|
Logged
|
|
|
|
|
Kimmie
|
 |
« Reply #9 on: May 22, 2007, 10:09:53 pm » |
|
hmmmmm...It has to be in the code. Every other stylesheet I have looked at (I installed them all just to see - using the same res ..lol) show the topics way over to the right like that, but crasy's red fire one doesnt. All the topic information is within the margins and I dont have to scroll to the right to see it all. You would think that changing the overall margins would cause those to move over but it doesnt - they stay in the original position..lol I am stumped.. 
|
|
|
|
« Last Edit: May 22, 2007, 10:12:24 pm by Kimmie »
|
Logged
|
|
|
|
simply sibyl
Female Type
Global Moderator
Offline
Posts: 9429
Please do not PM for Support
|
 |
« Reply #10 on: May 22, 2007, 10:48:14 pm » |
|
humm.. wellll they are all centered for me, including red fire. I just tried it on another system in the house with a different browser, resolution.. Odd
I have the css for your test site, and the css for red fire and Im comparing them. But er.. if you are seeing them ALL that way that tells me something could be amiss with redfire.. Ill get back with ya.
in the meantime: whack your monitor
|
|
|
|
|
Logged
|
|
|
|
simply sibyl
Female Type
Global Moderator
Offline
Posts: 9429
Please do not PM for Support
|
 |
« Reply #11 on: May 22, 2007, 10:53:24 pm » |
|
Kimmie.. question for you. Have you edited the css for redfire at all or is it the code exactly as crasy posted it? OR was it installed from Manage Styles as a user style? I am seeing something odd in it and will have to ask crasy about it if you didnt touch it.
|
|
|
|
|
Logged
|
|
|
|
|
Kimmie
|
 |
« Reply #12 on: May 23, 2007, 02:17:10 am » |
|
Kimmie.. question for you. Have you edited the css for redfire at all or is it the code exactly as crasy posted it? OR was it installed from Manage Styles as a user style? I am seeing something odd in it and will have to ask crasy about it if you didnt touch it.
I havent done anything with the red fire css as far as the one I am currently using (that I can remember..lol). I cant remember if I installed it from the one crasy posted or if I installed it from the user created styles section.  . I think it was from the one crasy posted. I just installed the red fire one on my test site from the user created section and the topics are way to far to the right like the rest  . They are also both named differently - one is RedFire and the other is redfire. Ive got my current css up and ive got the red fire one installed (from the user created styles) on my test site. I am gonna go thru that code piece by piece and see whats different. I am also gonna create a new stylesheet and use the one crasy posted and see what happens 
|
|
|
|
|
Logged
|
|
|
|
|
Kimmie
|
 |
« Reply #13 on: May 23, 2007, 02:36:02 am » |
|
ok I have a general idea of what it is, but I dont know how to change it, or where I even changed it at...lmao. The part where the time/date is - on my current forum wraps to the second line. On the test site it doesnt - making it farther to the right. look at the differences: My Current forum stylesheet: 
My test site: 
|
|
|
|
|
Logged
|
|
|
|
simply sibyl
Female Type
Global Moderator
Offline
Posts: 9429
Please do not PM for Support
|
 |
« Reply #14 on: May 23, 2007, 10:59:23 am » |
|
I checked the css for:
1. your forum 2. the code posted here in the styles area 3. from the manage styles install
The code is indentical for all three of them.
I then installed it on my test forum on server 3. The borders are fine in all areas, and I am seeing no problems with it.
so... abit confused and not sure why you are seeing it differently.
|
|
|
|
|
Logged
|
|
|
|
|
|
|