![]() Preserved Topic: find the center  | 
  |
|---|---|
| Author | Thread | 
| 
       Paranoid (IV) Inmate From: oslo, Norway  | 
    
       
  posted 08-09-2001 20:38
      
      i have a picture that i want to be on the center of the page, how do i do this without tabels?  | 
  
| 
       Maniac (V) Mad Scientist From: Belgrade, Serbia  | 
    
       
  posted 08-09-2001 20:46
      
      
     | 
  
| 
       Paranoid (IV) Inmate From: oslo, Norway  | 
    
       
  posted 08-09-2001 21:05
      
      in this case it want work, it's a litel hard to explain, but how do you code the center script?  | 
  
| 
       Bipolar (III) Inmate From: Berlin, Germany  | 
    
       
  posted 08-09-2001 21:16
      
      <div style="font: 11px #000 arial; width: 100%; height: 100%; text-align: center;">blabla</div>  | 
  
| 
       Bipolar (III) Inmate From:   | 
    
       
  posted 08-10-2001 16:05
      
      'align' for horizontal alignment  | 
  
| 
       Lunatic (VI) Mad Scientist From: Massachusetts, USA  | 
    
       
  posted 08-10-2001 16:15
      
      document.body.clientWidth is a simpler way to do it in IE than giving the body an ID.  | 
  
| 
       Paranoid (IV) Inmate From: oslo, Norway  | 
    
       
  posted 08-10-2001 19:57
      
      well now i got the screen size height and width right?   | 
  
| 
       Lunatic (VI) Mad Scientist From: Massachusetts, USA  | 
    
       
  posted 08-10-2001 21:48
      
      Putting a value into a variable is always a simple matter of saying  | 
  
| 
       Maniac (V) Mad Scientist From: the west wing  | 
    
       
  posted 08-10-2001 22:02
      
      you can set it in the body background using css... code: body { | 
  
| 
       Paranoid (IV) Inmate From: oslo, Norway  | 
    
       
  posted 08-11-2001 02:02
      
      Thanks. it works  | 
  
| 
       Neurotic (0) Inmate Newly admitted  | 
    
       
  posted 08-11-2001 04:28
      
      Osaires your question wasn't silly, that's what we are here for    |