PDA

View Full Version : How can forums auto adjust?


Terrasoft
05-12-2007, 07:22 PM
I asked about this in the thread which the style was created but didnt get any response. Here is what I wrote:

...some modifications with different forum widths, it doesnt automatically adjust itself so it makes it look off balanced. Heres probably a better example:

http://i79.photobucket.com/albums/j1...Untitled-1.jpg

On another forum I run, it auto adjusts so I was just wondering HOW to do that. It doesnt need to be implemented into the skin, I would just like to know how to do it.

So for all those css inclined...if someone can help me out here. Thatd be helpful.

CyberAlien
05-14-2007, 06:48 AM
That screenshot url doesn't work.

Terrasoft
05-18-2007, 06:00 AM
Oops. Mustve got messed up in the quote.

http://i79.photobucket.com/albums/j131/Crono_TehSilentOne/Untitled-1.jpg

Cyberalien, I notice on your styles that they auto adjust which is perfect. Like say for example in the above screenshot, it would expand to fit. (The forum widths are also the same for both skins.) I hope you can help .^_^

CyberAlien
05-18-2007, 06:06 AM
Use table instead of div for content. If you set fixed width for div, it won't expand when content is larger than its width, but tables do expand. It usually shouldn't be done as tables shouldn't be used for layout, but it works much better for situations like one you have on your forum.

Terrasoft
05-19-2007, 06:07 AM
Use table instead of div for content. If you set fixed width for div, it won't expand when content is larger than its width, but tables do expand. It usually shouldn't be done as tables shouldn't be used for layout, but it works much better for situations like one you have on your forum.

Funny you say that tables shouldnt be used for layouts when you use them apparently on your layouts? :P Anyways, thanks...Ill check that out and say if it does what I need it to do. ^_^

CyberAlien
05-19-2007, 06:20 AM
Yep, I'm using them on my vBulletin styles, because of this very problem, and because I can't figure out how to make threaded view work without tables (tried many times, doesn't work unless I use tables. I must be missing something).

Terrasoft
05-19-2007, 03:35 PM
I see, but I have a question...where would I alter the templates? All of them or are there certain ones?

CyberAlien
05-19-2007, 03:39 PM
Main div that has overall forum width

Terrasoft
05-19-2007, 04:27 PM
Main div that has overall forum width
Now I feel like a bit of a nuisance but I cant find where to change it. I tried comparing both skins to see where the differences are and I found alot and Im not sure if I changed one thing, if it would impact the rest of the skin. T_T

CyberAlien
05-19-2007, 05:01 PM
Probably header/footer templates.