Customizing SMF > Now Available
Limiting signature size
Anguz:
--- Quote from: Elijah Bliss on November 17, 2004, 09:34:39 PM ---I still can't get the CSS signature resize to work.
--- End quote ---
My mistake. It's because the width and height are missing the px after the values. Also, the hidden doesn't work cause the inline auto for overflow weights more. Remove the style attribute from the signature div and in style.css add this:
--- Code: ---.signature
{
width: 468px;
height: 60px;
overflow: hidden;
padding: 3px;
}
--- End code ---
Elijah Bliss:
--- Quote from: Anguz on December 19, 2004, 12:54:54 PM ---
--- Quote from: Elijah Bliss on November 17, 2004, 09:34:39 PM ---I still can't get the CSS signature resize to work.
--- End quote ---
My mistake. It's because the width and height are missing the px after the values. Also, the hidden doesn't work cause the inline auto for overflow weigths more. Remove the style attribute from the signature div and in style.css add this:
--- Code: ---.signature
{
width: 468px;
height: 60px;
overflow: hidden;
padding: 3px;
}
--- End code ---
--- End quote ---
Thanks, works like a charm!
inthe80s:
agrreed... I've used CSS before, and didn't even notice the missing px on each one (boy am I embarassed). thanks for the help.
Anguz:
NP. I'm glad you got it working. :)
Elijah Bliss:
--- Quote from: inthe80s on December 20, 2004, 09:13:39 AM ---agrreed... I've used CSS before, and didn't even notice the missing px on each one (boy am I embarassed). thanks for the help.
--- End quote ---
on a side note, is you append img to .signature:
--- Code: ---.signature img
{
width: 468px;
height: 60px;
overflow: hidden;
padding: 3px;
}
--- End code ---
it wll only resize the images in the signature, which I find super cool.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version