Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2009-04-03 11:30:25

alct
Member
From: Belgium
Registered: 2009-04-01
Posts: 15
Website

New way in managing signatures

Hello,

I've just written this http://labs.andreloconte.com/fluxbb/#ne … signatures

Let me know what you think about it wink

Last edited by alct (2009-04-07 10:32:23)

Offline

#2 2009-04-03 12:01:14

FSX
Developer
From: NL
Registered: 2008-05-09
Posts: 805
Website

Re: New way in managing signatures

Looks like a good idea to me. Those huge signatures always annoy me.

But why use:

  width: max-width-value;
  height: max-height-value;

The signature will always have the same height. max-height/width could be used but those aren't supported in IE6.

Last edited by FSX (2009-04-03 12:03:25)

Offline

#3 2009-04-03 12:42:40

alct
Member
From: Belgium
Registered: 2009-04-01
Posts: 15
Website

Re: New way in managing signatures

"max-width-value" is just a variable not the css propriety wink
(I just edited my page and change this to /* maximum width allowed */)

Fixing dimensions is exactly the point.

Instead of fixing certain values by default and not allow to change it, that will allow administrators to determine themselves what are the maximum values of height and width.

Even if you don't use the css property "max-width", in this case, using "width" will have exactly the same effect.

Last edited by alct (2009-04-03 13:11:55)

Offline

#4 2009-04-03 12:58:25

FSX
Developer
From: NL
Registered: 2008-05-09
Posts: 805
Website

Re: New way in managing signatures

And if the height is is 100px and user have only one line of text in their signatures, like you and me, there would be 86px wasted space.

And the only way to parse those variables in the CSS if parsing the CSS files as PHP files. Or an <style> in the header (not very clean).

Offline

#5 2009-04-03 13:08:45

alct
Member
From: Belgium
Registered: 2009-04-01
Posts: 15
Website

Re: New way in managing signatures

Ok, just didn't understand what you mean, now I do smile

Of course that could be a problem for people using a too great height value.

Offline

#6 2009-04-03 13:22:23

FSX
Developer
From: NL
Registered: 2008-05-09
Posts: 805
Website

Re: New way in managing signatures

To make it cross-browser you'll need some Javascript. If IE6 didn't exist - 2 lines of CSS would be enough, but we can pretend IE6 does not exist. big_smile

Offline

#7 2009-04-03 14:57:15

Ledo
Member
Registered: 2008-05-10
Posts: 215

Re: New way in managing signatures

FSX wrote:

To make it cross-browser you'll need some Javascript. If IE6 didn't exist - 2 lines of CSS would be enough, but we can pretend IE6 does not exist. big_smile

There will come the time that we should start pretending just that.

Offline

#8 2009-04-04 02:25:37

Smartys
Former Developer
Registered: 2008-04-27
Posts: 3,135
Website

Re: New way in managing signatures

max-height anyone? With some hacks for IE, of course.

Online

#9 2009-04-04 14:40:40

MattF
Member
From: South Yorkshire, England
Registered: 2008-05-06
Posts: 1,230
Website

Re: New way in managing signatures

Personally, I think locking the position at the bottom and giving it fixed height is preferable. I always detested that floating sig block. big_smile


Screw the chavs and God save the Queen!

Offline

#10 2009-04-09 16:10:24

alct
Member
From: Belgium
Registered: 2009-04-01
Posts: 15
Website

Re: New way in managing signatures

Hi ! :-)

Few updates using CSS Hacks for IE6 : http://labs.andreloconte.com/fluxbb/#ne … signatures

Offline

#11 2009-04-09 16:55:33

FSX
Developer
From: NL
Registered: 2008-05-09
Posts: 805
Website

Re: New way in managing signatures

Looks better now. smile

May I ask why you use clip? Isn't height + overflow: hidden enough?

Offline

#12 2009-04-10 12:05:42

alct
Member
From: Belgium
Registered: 2009-04-01
Posts: 15
Website

Re: New way in managing signatures

Cause that's how the "clip" proprety is meant to be according to the holy W3C smile
Beyond that point, not using it could create some problems with text only content for instance wink

Last edited by alct (2009-04-10 12:07:21)

Offline

#13 2009-04-10 13:03:38

MattF
Member
From: South Yorkshire, England
Registered: 2008-05-06
Posts: 1,230
Website

Re: New way in managing signatures

That's useful to know for future reference. smile


Screw the chavs and God save the Queen!

Offline

Board footer

Powered by FluxBB 1.5.0