Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: DIV Tag -- positioning


Message #1 by KATHLEEN.M.WHALEN@c... on Thu, 30 Aug 2001 09:02:18 -0400
Unfortunately, this did not work.  I have a style setup that looks like 
this

<style>
        .imPos{
                position:absolute;
                top:75px;
                left:325px;
                visibility:hidden
}
</style>

My DIV tag look like this:
      <DIV CLASS="imPos" id="Domestic" align="center"><img 
src="Domestic.gif" align="center" alt="Domestic Operations"></div>

I tried adding your suggestion to my DIV tag and it did not have any 
affect at all :-(.

=====================
have you tried

style="text-align:center" ?

At 8/30/2001 09:02 AM, you wrote:
>I have an image placed within a DIV tag that is set to be visible/hidden
>based on selections chosen within my page.  This is working great. Except
>I need the image/DIV Tag to be centered within the cell  of my table.
>Right now it's displaying flush left.  I tried setting "align=center" but
>this had no affect on the contents within the DIV tag at all.
>
>How do I move it to the center of the cell????
>
>I know people hate to see this next statement, but I'm in a bind and need
>the answer quickly.
>
>Kathleen M. Whalen
>U.S. Customs Service
>(703) 921-7410
>kathleen.m.whalen@c...
>

  Return to Index