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:
<html>
<head>
   <style type="text/css">
       .left
       {
           margin-right: 100px;
           background: grey;
       }
       .stuff
       {
           width: 100%;
           background: blue;
       }
       .right
       {
           float: right;
       }
   </style>

</head>

<body>
   <div class="right">
       RIGHTTTTT
   </div>
   <div class="left">
       <div class="stuff">
           LEFT<br><br><br><br><br><br><br><br><br><br><br><br>
       </div>
   </div>
</body>


div.stuff {width: 100%}




-------------------------------------------------------------------------
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

-------------------------------------------------------------------------
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