Quote:
Originally Posted by angele803
Put everything into a "container" div, then specify "margin:0 auto" for that div.
|
Can you tell me if this is right?
<div class="container" margin:0 auto>
<div style ="position: absolute; top: 4px; left: 228px; width: 267px; height: 48px;"><img src="http://www.atriskstoriesofhope.com/newsite/images/logo.jpg" width="720" height="72"></div>
<div style ="position: absolute; top: 306px; left: 2px; width: 267px; height: 260px;"><img src="http://www.atriskstoriesofhope.com/newsite/hectornew.jpg" width="299" height="268"></div>
<div style ="position: absolute; top: 83px; left: 273px; width: 621px; height: 80px;">
<script language="JavaScript1.2">mmLoadMenus();</script>
<img name="menubar" src="images/menubar.gif" width="750" height="50" border="0" usemap="#m_menubar" alt="">
<map name="m_menubar">
<area shape="rect" coords="429,17,474,35" href="http://www.google.com" alt="" >
<area shape="rect" coords="321,17,398,35" href="#" alt="" onMouseOut="MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_1003011241 _0,70,-50,null,'menubar');" >
<area shape="rect" coords="249,17,286,35" href="#" alt="" onMouseOut="MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_1003011006 _1,-30,-50,null,'menubar');" >
<area shape="rect" coords="177,17,227,35" href="#" alt="" onMouseOut="MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_1003010459 _0,-120,-50,null,'menubar');" >
<area shape="rect" coords="105,17,140,35" href="#" alt="" onMouseOut="MM_startTimeout();" onMouseOver="MM_showMenu(window.mm_menu_1003010420 _1,-150,-50,null,'menubar');" >
<area shape="rect" coords="33,17,68,35" href="#" alt="" >
</map>
</div>
<div style ="position: absolute; top: 294px; left: 334px; width: 588px; height: 290px;">
<TABLE width="100%" border=0 cellPadding=2 cellSpacing=2>
<!--DWLayoutTable-->
<TBODY>
<TR>
<TD width="677" height="274" valign="top"><font color="#000000"> <IMG src="http://www.atriskstoriesofhope.com/newsite/images/HectorWithKids.jpg" align = left alt="Hector Perez - Earhart School in Southwest Detroit" width=215 height=134 hspace=10 vspace="0" border=1 style="WIDTH: 194px; HEIGHT: 139px">A
sculptor and muralist whose bold work is on several Metro Detroit buildings,
Perez teaches through the art he creates. Students who work with
him learn as much about history and culture as they do about paper-mâché
and painting. <EM>"If art doesn't serve a purpose for society, it is
not reaching its full potential," </EM>says the 45-year-old who teaches
art, bilingual and special education. A mural painted this year
inside Logan Elementary traced the Detroit school's history from a largely
Polish to mostly Hispanic student body. Principal Maria Elena
Vasquez said "mini-artists" vied to help Perez decorate the wall. <EM>"He
touched a lot of kids,"</EM> she says, <EM>"and he uncovered a lot of
natural talent, abilities." </EM>Today Perez and his wife reside in
Corktown. The oldest of their five children-including two college
art students-help their father work with neighborhood youth. <EM>"I'm
trying to give my kids a sense of community," </EM>Perez says. <EM>"It's
not all about making money." </EM></font></TD>
</TR>
</TBODY>
</TABLE>
</div>
</div>