Topic: Centering Opening Logo (Page 1 of 1)  | 
  |
|---|---|
| 
       Bipolar (III) Inmate From: Williamsburg, VA  | 
    
       
  posted 10-06-2002 21:12
      
      alrighty.. was looking for a possible way to vertically align my opening logo  | 
  
| 
       Bipolar (III) Inmate From: Berlin (almost)  | 
    
       
  posted 10-06-2002 21:45
      
      The easiest way of doing that is putting everything you want to center into a table cell and then set its align and valign attributes to center/middle: code: <table width="100%" height="100%"> Or, if you don't want to use table hacks for your layout, you could also center that box by putting it into a <div> and use some JavaScript positioning. Bugimus has a script on his homepage which does that job - http://www.bugimus.com/gurus/center_div.html.  | 
  
| 
       Paranoid (IV) Inmate From: 127.0.0.1  | 
    
       
  posted 10-06-2002 22:58
      
      Here's how I do it. Put your image inside a div called "content". Using a div that we need to be 751x425, we use:  | 
  
| 
       Bipolar (III) Inmate From: Williamsburg, VA  | 
    
       
  posted 10-07-2002 02:52
      
      umm call me a noob cuz i am where in that script does the mainlogo.jpg part go... it makes sense and im confident it will work... maybe i just need a full page script to comprehend completely  | 
  
| 
       Paranoid (IV) Inmate From: 127.0.0.1  | 
    
       
  posted 10-07-2002 04:23
      
      In your doc, make   | 
  
| 
       Bipolar (III) Inmate From: Williamsburg, VA  | 
    
       
  posted 10-07-2002 22:02
      
      oo oo , smacks myself.. anxious when i saw the post didnt interpret the first line on the first post correctly, i understand now tyvm  | 
  
| 
       Paranoid (IV) Inmate From: Santa Clara, CA, USA  | 
    
       
  posted 10-09-2002 20:32
      
      Why couldn't you just use <img src="image here" id="content"> instead of putting it in the div?  |