PDA

View Full Version : A few questions, should be simple :) (Forum width & Category Strip)



gluc0se
Wed 9th Mar '05, 8:00pm
Hey guys, doing some work, coding my first template. Trying to learn through exploration, but I have come up with 3 questions so far, left unanswered.

First:

I have set my overall forum width to be 840px but it stays at 100%. It will respond, however, when I change its dimensions to 50%. Any reason this might be happening, and tips on getting to to change to pixel dimensions? :)

Also:

I am changing the category strip a bit and have run into two problems. The first is, I added a td, preceding the first td, to add a nice decoration image before it displays the category. It looks great, but has about 1px of cellspacing in between. I don't want to take away the cellspacing out entirely, but is anyone aware of a way to cover up this spot (I have been trying to slide a <div> with the background over, but that angers the cellpadding :-p) or squeeze it together?

Lastly:

On the same topic, at the other end our .psd has a nice graphic "under" the button to expand and retract the forums. I have been messing around a lot with this, but, again, the cellpadding gets pretty wacked out when I throw an image in there (I am actually surprised it breaks through the CSS attributes), and the unique structure of that file makes it hard for me to just throw a td in at the end, like I did in the front.

Thanks a lot for the help guys, I really appreciate it!

jamesyfx
Wed 9th Mar '05, 8:49pm
Try setting the value to 840 (i.e. DON'T use 'px').

Since this is gonna be used in a <table> tag, it will just replace width="$stylevars[outertablewidth]" with the value. As you may or may now know, the px only applies when you're using css. :p

gluc0se
Wed 9th Mar '05, 9:07pm
Ah, that worked :)

All the default values had the px after, so I figured they needed to be there.

:)

Thanks a lot!

One down, two to go! :rolleyes: