Advertisement

10.06.2008 at 10:30AM PDT, ID: 23791190 | Points: 500
[x]
Attachment Details

Layer Properties; not positioning correctly

Asked by kellygies in Page Layout / Desktop Publishing Software, Cascading Style Sheets (CSS)

Tags: , ,

I have created a table that is fixed.  Then I inserted a layer inside the table.  My problem is that I cannot figure out how to get the layer to auto adjust inside the table depending on the size of the browser.  So what happens is that if I few the page on a smaller browser the layer is outside of the table.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
<!--
#apDiv1 {
	position:absolute;
	left:225px;
	top:58px;
	width:256px;
	height:130px;
	z-index:1;
}
-->
</style>
</head>
 
<body>
<div id="apDiv1">This is a test. As my browers changes the layer does not auto adjust inside the table.</div>
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
  <!--DWLayoutTable-->
  <tr>
    <td width="601" height="584" bgcolor="#00FFFF">&nbsp;</td>
  </tr>
</table>
</body>
</html>
 
Loading Advertisement...
 
[+][-]10.06.2008 at 07:29PM PDT, ID: 22656230

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-44 - Hierarchy / EE_QW_2_20070628