----- Original Message ----- 
From: [EMAIL PROTECTED]
To: Mailing list for developers and everyone helping AMSN
Sent: Sunday, December 03, 2006 12:18 AM
Subject: Re: [Amsn-devel] Chameleon, text widgets, BLT,htext and our 
ultimate goal





On 12/2/06, NoWhereMan <[EMAIL PROTECTED]> wrote:

----- Original Message -----
From: [EMAIL PROTECTED]

> You're going to put the new contact list in officially? Sounds scary :P

It looked soooo much cooler!

> control how elements are resized better than CSS can (CSS can only define
> width/height of things by
> EITHER percentage or pixel/em/inches whatever (ie absolute measurements),
> not both -
> so to you cant say to the html okay the message box in the chatwindow
> needs to take up
> all the horizontal space EXCEPT 100 pixels on the right hand side which
> must be
> left for the display pictures.... BUT we CAN using TCL - we would modify
> the width attribute
> of the message box element every time the window is resized
> so that it's 100 pixels less wide than the window!)

Well actually with css and a good (x)html DOM you can do that...

<div class="container">
     <div class="stuff">
          MY STUFF
     </div>
</div>

IIRC:

div.container { margin-left: 100px }

> I think you mean margin-right (to leave space on the right)
> It works for the width, but now you cant place anything to the right of it 
> because of the margin...
> unless maybe you position it absolutely...lemme see... aah yes, you can
> 'float: right' it, and that has the added bonus that it'll shrink-wrap it 
> to the right size.... so, like this:

[...]

yes, maybe without the hard breaks <br /> but using margin-bottom :D
or just using a floater element, without the need for a margin-right

bye


Yeah 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to