Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: RE: DIV Tag -- positioning


Message #1 by Arjan Bosboom <Arjan.Bosboom@d...> on Mon, 3 Sep 2001 11:20:11 +0200
<html>
<head>
<title>layer - test</title>
<style>
.layer {
	position : relative;
	left : 0pt;
	top : 0pt;
	visibility : hidden;
}
</style>
</head>
<body>
<table width="100%">
<tr>
	<td align="center">
		<span class="layer">
			layer
		</span>
	</td>
</tr>
</table>
</body>
</html>

Greetz,

Arjan Bosboom

-----Original Message-----
From: KATHLEEN.M.WHALEN@c...
[mailto:KATHLEEN.M.WHALEN@c...]
Sent: donderdag 30 augustus 2001 15:02
To: HTML Code Clinic
Subject: [html_code_clinic] DIV Tag -- positioning


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
(xxx) xxx-xxxx
kathleen.m.whalen@c...

  Return to Index