| 
	
 | 
 Posted by Neredbojias on 08/21/07 11:51 
Well bust mah britches and call me cheeky, on Tue, 21 Aug 2007 08:49:07 GMT  
Gernot Frisch scribed: 
 
>  
> Hi, 
> I want the green piece ("Please be wide") to fill the whole space  
> between the red and the blue thingy. How can I do that? 
>  
> Thank you in advice, 
> -Gernot 
>  
> PS: My code is as minimal as possible, I know I should use strict-html  
> and stuff. 
>  
>  
> <html> 
> <body> 
> <div style="width:50%;"> 
>  <!-- left item --> 
>  <div style="float:left; width:16px; background-color:Red;"></div> 
>  
>  <!-- center text --> 
>  <div style="float:left; background-color:green;">Please be wide</div> 
>  <!-- right item --> 
>  <div style="float:right; width:16px; background-color:blue;"></div> 
> </div> 
> </body> 
> </html> 
 
Put a   after <div style="width:50%;"> 
 
--  
Neredbojias 
Half lies are worth twice as much as whole lies.
 
  
Navigation:
[Reply to this message] 
 |