aeroswat Posted February 1, 2010 Share Posted February 1, 2010 This doesn't seem to be working for me... I thought that if you put absolute divs inside of a relative div that you could have the positioning of the absolute divs based on where the relative div falls in the flow of the page... I tested that assumption and it worked. So I wrapped it around my divs like so... <div style="position:relative"> <DIV id="errDiv" style="z-index:300;display:none;position:absolute;top:425;left:500;width:300px;background-color:#000000;color:#FF0000"> </DIV> </center> <form name="form1"> <DIV id="SDisplay" style="width:450px;height:35px;background-color:#EAE9E4;color:#FF0000;font-size:30px;position:absolute;top:5;left:26;"> <nobr><span> Student Information </span></nobr> </DIV> </div> <input type="hidden" id="ctrstudentnumber" value="<?php echo $res['StudentNumber']; ?>"> <DIV id="SFName" class="ft0" style="position:absolute;top:45;left:26"> First Name: </DIV> <div id="inSFName" style="position:absolute;top:45;left:140"> <input type="text" id="ctrsfname" size="20" value="<?php echo splitname($res['StudentName'],1); ?>" onFocus="setFocus(this);" onBlur="changeName('first',this);"> </div> <DIV id="SLName" class="ft0" style="position:absolute;top:70;left:26"> Last Name: </DIV> <div id="inSLName" style="position:absolute;top:70;left:140"> <input type="text" id="ctrslname" size="20" value="<?php echo splitname($res['StudentName'],2); ?>" onFocus="setFocus(this);" onBlur="changeName('last',this);"> </div> <DIV id="SGrade" class="ft0" style="position:absolute;top:95;left:26"> Grade: </DIV> <div id="inSGrade" style="position:absolute;top:95;left:140"> <select name="ctrsgrade" id="ctrsgrade" onFocus="setFocus(this);" onBlur="changeDrop('GradeLevel',this);"> <option value="IP" <?php echo ($res['GradeLevel'] == 'IP' ? 'selected=\"selected\"' : ''); ?>>Infant Program</option> <option value="PS" <?php echo ($res['GradeLevel'] == 'PS' ? 'selected=\"selected\"' : ''); ?>>Pre-School Program</option> <option value="KG" <?php echo ($res['GradeLevel'] == 'KG' ? 'selected=\"selected\"' : ''); ?>>K</option> <option value="01" <?php echo ($res['GradeLevel'] == '01' ? 'selected=\"selected\"' : ''); ?>>1</option> <option value="02" <?php echo ($res['GradeLevel'] == '02' ? 'selected=\"selected\"' : ''); ?>>2</option> <option value="03" <?php echo ($res['GradeLevel'] == '03' ? 'selected=\"selected\"' : ''); ?>>3</option> <option value="04" <?php echo ($res['GradeLevel'] == '04' ? 'selected=\"selected\"' : ''); ?>>4</option> <option value="05" <?php echo ($res['GradeLevel'] == '05' ? 'selected=\"selected\"' : ''); ?>>5</option> <option value="06" <?php echo ($res['GradeLevel'] == '06' ? 'selected=\"selected\"' : ''); ?>>6</option> <option value="07" <?php echo ($res['GradeLevel'] == '07' ? 'selected=\"selected\"' : ''); ?>>7</option> <option value="08" <?php echo ($res['GradeLevel'] == '08' ? 'selected=\"selected\"' : ''); ?>>8</option> <option value="09" <?php echo ($res['GradeLevel'] == '09' ? 'selected=\"selected\"' : ''); ?>>9</option> <option value="10" <?php echo ($res['GradeLevel'] == '10' ? 'selected=\"selected\"' : ''); ?>>10</option> <option value="11" <?php echo ($res['GradeLevel'] == '11' ? 'selected=\"selected\"' : ''); ?>>11</option> <option value="12" <?php echo ($res['GradeLevel'] == '12' ? 'selected=\"selected\"' : ''); ?>>12</option> <option value="PG" <?php echo ($res['GradeLevel'] == 'PG' ? 'selected=\"selected\"' : ''); ?>>College</option> <option value="V" <?php echo ($res['GradeLevel'] == 'V' ? 'selected=\"selected\"' : ''); ?>>Vocational</option> <option value="AD" <?php echo ($res['GradeLevel'] == 'AD' ? 'selected=\"selected\"' : ''); ?>>Adult Rehabilitation</option> <option value="OR" <?php echo ($res['GradeLevel'] == 'OR' ? 'selected=\"selected\"' : ''); ?>>Other</option> </select> </div> <DIV id="SBDate" class="ft0" style="position:absolute;top:120;left:26"> Date of Birth: </DIV> <div id="inSBDate" style="position:absolute;top:120;left:140"> <input type="text" id="ctrsbdate" size="9" value="<?php echo $res['FdateBirth']; ?>" onFocus="setFocus(this);" onBlur="changeText('birthDate',this);"> </div> <DIV id="SAddress1" class="ft0" style="position:absolute;top:145;left:26"> Address 1: </DIV> <div id="inSAddress1" style="position:absolute;top:145;left:140"> <input type="text" id="ctrsadd1" size="40" value="<?php echo $res['addressOne']; ?>" onFocus="setFocus(this);" onBlur="changeText('addressOne',this);"> </div> <DIV id="SAddress2" class="ft0" style="position:absolute;top:170;left:26"> Address 2: </DIV> <div id="inSAddress2" style="position:absolute;top:170;left:140"> <input type="text" id="ctrsadd2" size="40" value="<?php echo $res['addressTwo']; ?>" onFocus="setFocus(this);" onBlur="changeText('addressTwo',this);"> </div> <DIV id="SCityZip" class="ft0" style="position:absolute;top:195;left:26"> City/State/Zip: </DIV> <div id="inSCityZip" style="position:absolute;top:195;left:140"> <input type="text" id="ctrscity" size="25" value="<?php echo $res['stuCity']; ?>" onFocus="setFocus(this);" onBlur="changeText('stuCity',this);"> <select name="ctrsstate" id="ctrsstate" style="width:90px" onFocus="setFocus(this);" onBlur="changeDrop('stuState',this);"> <option value="AL" <?php echo ($res['stuState']=='AL' ? 'selected="selected"' : ''); ?>>Alabama</option> <option value="AK" <?php echo ($res['stuState']=='AK' ? 'selected="selected"' : ''); ?>>Alaska</option> <option value="AZ" <?php echo ($res['stuState']=='AZ' ? 'selected="selected"' : ''); ?>>Arizona</option> <option value="AR" <?php echo ($res['stuState']=='AR' ? 'selected="selected"' : ''); ?>>Arkansas</option> <option value="CA" <?php echo ($res['stuState']=='CA' ? 'selected="selected"' : ''); ?>>California</option> <option value="CO" <?php echo ($res['stuState']=='CO' ? 'selected="selected"' : ''); ?>>Colorado</option> <option value="CT" <?php echo ($res['stuState']=='CT' ? 'selected="selected"' : ''); ?>>Connecticut</option> <option value="DE" <?php echo ($res['stuState']=='DE' ? 'selected="selected"' : ''); ?>>Delaware</option> <option value="DC" <?php echo ($res['stuState']=='DC' ? 'selected="selected"' : ''); ?>>District Of Columbia</option> <option value="FL" <?php echo ($res['stuState']=='FL' ? 'selected="selected"' : ''); ?>>Florida</option> <option value="GA" <?php echo ($res['stuState']=='GA' ? 'selected="selected"' : ''); ?>>Georgia</option> <option value="HI" <?php echo ($res['stuState']=='HI' ? 'selected="selected"' : ''); ?>>Hawaii</option> <option value="ID" <?php echo ($res['stuState']=='ID' ? 'selected="selected"' : ''); ?>>Idaho</option> <option value="IL" <?php echo ($res['stuState']=='IL' ? 'selected="selected"' : ''); ?>>Illinois</option> <option value="IN" <?php echo ($res['stuState']=='IN' ? 'selected="selected"' : ''); ?>>Indiana</option> <option value="IA" <?php echo ($res['stuState']=='IA' ? 'selected="selected"' : ''); ?>>Iowa</option> <option value="KS" <?php echo ($res['stuState']=='KS' ? 'selected="selected"' : ''); ?>>Kansas</option> <option value="KY" <?php echo ($res['stuState']=='KY' ? 'selected="selected"' : ''); ?>>Kentucky</option> <option value="LA" <?php echo ($res['stuState']=='LA' ? 'selected="selected"' : ''); ?>>Louisiana</option> <option value="ME" <?php echo ($res['stuState']=='ME' ? 'selected="selected"' : ''); ?>>Maine</option> <option value="MD" <?php echo ($res['stuState']=='MD' ? 'selected="selected"' : ''); ?>>Maryland</option> <option value="MA" <?php echo ($res['stuState']=='MA' ? 'selected="selected"' : ''); ?>>Massachusetts</option> <option value="MI" <?php echo ($res['stuState']=='MI' ? 'selected="selected"' : ''); ?>>Michigan</option> <option value="MN" <?php echo ($res['stuState']=='MN' ? 'selected="selected"' : ''); ?>>Minnesota</option> <option value="MS" <?php echo ($res['stuState']=='MS' ? 'selected="selected"' : ''); ?>>Mississippi</option> <option value="MO" <?php echo ($res['stuState']=='MO' ? 'selected="selected"' : ''); ?>>Missouri</option> <option value="MT" <?php echo ($res['stuState']=='MT' ? 'selected="selected"' : ''); ?>>Montana</option> <option value="NE" <?php echo ($res['stuState']=='NE' ? 'selected="selected"' : ''); ?>>Nebraska</option> <option value="NV" <?php echo ($res['stuState']=='NV' ? 'selected="selected"' : ''); ?>>Nevada</option> <option value="NH" <?php echo ($res['stuState']=='NH' ? 'selected="selected"' : ''); ?>>New Hampshire</option> <option value="NJ" <?php echo ($res['stuState']=='NJ' ? 'selected="selected"' : ''); ?>>New Jersey</option> <option value="NM" <?php echo ($res['stuState']=='NM' ? 'selected="selected"' : ''); ?>>New Mexico</option> <option value="NY" <?php echo ($res['stuState']=='NY' ? 'selected="selected"' : ''); ?>>New York</option> <option value="NC" <?php echo ($res['stuState']=='NC' ? 'selected="selected"' : ''); ?>>North Carolina</option> <option value="ND" <?php echo ($res['stuState']=='ND' ? 'selected="selected"' : ''); ?>>North Dakota</option> <option value="OH" <?php echo ($res['stuState']=='OH' ? 'selected="selected"' : ''); ?>>Ohio</option> <option value="OK" <?php echo ($res['stuState']=='OK' ? 'selected="selected"' : ''); ?>>Oklahoma</option> <option value="OR" <?php echo ($res['stuState']=='OR' ? 'selected="selected"' : ''); ?>>Oregon</option> <option value="PA" <?php echo ($res['stuState']=='PA' ? 'selected="selected"' : ''); ?>>Pennsylvania</option> <option value="RI" <?php echo ($res['stuState']=='RI' ? 'selected="selected"' : ''); ?>>Rhode Island</option> <option value="SC" <?php echo ($res['stuState']=='SC' ? 'selected="selected"' : ''); ?>>South Carolina</option> <option value="SD" <?php echo ($res['stuState']=='SD' ? 'selected="selected"' : ''); ?>>South Dakota</option> <option value="TN" <?php echo ($res['stuState']=='TN' ? 'selected="selected"' : ''); ?>>Tennessee</option> <option value="TX" <?php echo ($res['stuState']=='TX' ? 'selected="selected"' : ''); ?>>Texas</option> <option value="UT" <?php echo ($res['stuState']=='UT' ? 'selected="selected"' : ''); ?>>Utah</option> <option value="VT" <?php echo ($res['stuState']=='VT' ? 'selected="selected"' : ''); ?>>Vermont</option> <option value="VA" <?php echo ($res['stuState']=='VA' ? 'selected="selected"' : ''); ?>>Virginia</option> <option value="WA" <?php echo ($res['stuState']=='WA' ? 'selected="selected"' : ''); ?>>Washington</option> <option value="WV" <?php echo ($res['stuState']=='WV' ? 'selected="selected"' : ''); ?>>West Virginia</option> <option value="WI" <?php echo ($res['stuState']=='WI' ? 'selected="selected"' : ''); ?>>Wisconsin</option> <option value="WY" <?php echo ($res['stuState']=='WY' ? 'selected="selected"' : ''); ?>>Wyoming</option> </select> <input type="text" id="ctrszip" size="4" value="<?php echo $res['stuZip']; ?>" onFocus="setFocus(this);" onBlur="changeText('stuZip',this);"> </div> <DIV id="SSystem" class="ft0" style="position:absolute;top:235;left:26"> School System: </DIV> <div id="inSSystem" style="position:absolute;top:235;left:160"> <input type="text" id="ctrssystem" size="40" onkeyup="lookup(this.value);" value="<?php echo $res['SchoolSystem']; ?>" onFocus="setFocus(this);" onBlur="timeouthidediv('schoolSystems',1);"> </div> <div class='suggestionsBox' id='schoolSystems' style='display: none;z-index:200;position:absolute;top:245;left:174'> <img src='upArrow.png' style='position: relative; top: -12px; left: 50px' alt='upArrow' /> <div class='suggestionList' id='schoolSystemsList'>" . </div> </div> <DIV id="STransfer" class="ft0" style="position:absolute;top:260;left:26"> Transfer Student: </DIV> <div id="inSTransfer" style="position:absolute;top:260;left:160"> <select name="ctrstransfer" id="ctrstransfer" onFocus="setFocus(this);" onBlur="changeDrop('stuTransfer',this);"> <option value="1" <?php echo ($res['stuTransfer'] == '1' ? 'selected=\"selected\"' : ''); ?>>Yes</option> <option value="0" <?php echo ($res['stuTransfer'] == '0' ? 'selected=\"selected\"' : ''); ?>>No</option> </select> </div> <DIV id="SPrimary" class="ft0" style="position:absolute;top:285;left:26"> Primary Material: </DIV> <div id="inSPrimary" style="position:absolute;top:285;left:160"> <select name="ctrsprimary" id="ctrsprimary" onFocus="setFocus(this);" onBlur="changeDrop('readMaterial',this);"> <option value="LP" <?php echo ($res['readMaterial'] == 'LP' ? 'selected=\"selected\"' : ''); ?>>Large Print</option> <option value="BR" <?php echo ($res['readMaterial'] == 'BR' ? 'selected=\"selected\"' : ''); ?>>Braille</option> <option value="AU" <?php echo ($res['readMaterial'] == 'AU' ? 'selected=\"selected\"' : ''); ?>>Audio</option> <option value="ET" <?php echo ($res['readMaterial'] == 'ET' ? 'selected=\"selected\"' : ''); ?>>Electronic Text</option> <option value="PR" <?php echo ($res['readMaterial'] == 'PR' ? 'selected=\"selected\"' : ''); ?>>Pre-Reader</option> <option value="NR" <?php echo ($res['readMaterial'] == 'NR' ? 'selected=\"selected\"' : ''); ?>>Non-Reader</option> </select> </div> <DIV id="SIEP" class="ft0" style="position:absolute;top:310;left:26"> IEP or 504: </DIV> <div id="inSIEP" style="position:absolute;top:310;left:160"> <select name="ctrsiep" id="ctrsiep" onFocus="setFocus(this);" onBlur="changeDrop('iep',this);"> <option value="1" <?php echo ($res['iep'] == '1' ? 'selected=\"selected\"' : ''); ?>>Yes</option> <option value="0" <?php echo ($res['iep'] == '0' ? 'selected=\"selected\"' : ''); ?>>No</option> </select> </div> <DIV id="SEDate" class="ft0" style="position:absolute;top:335;left:26"> Date Enrolled: </DIV> <div id="inSEDate" style="position:absolute;top:335;left:160"> <input type="text" id="ctrsedate" size="9" value="<?php echo $res['FdateEnrolled']; ?>" onFocus="setFocus(this);" onBlur="changeText('dateEnrolled',this);"> </div> <DIV id="ADisplay" style="width:450px; height:35px; background-color:#EAE9E4; color:#FF0000; font-size:30px;position:absolute;top:360;left:26"> Authorizing Information </DIV> <DIV id="AName" class="ft0" style="position:absolute;top:405;left:26"> Name: </DIV> <div id="inAName" style="position:absolute;top:405;left:140"> <input type="text" id="ctraname" size="40" value="<?php echo $res['authName']; ?>" onFocus="setFocus(this);" onBlur="changeText('authName',this);"> </div> <DIV id="ATitle" class="ft0" style="position:absolute;top:430;left:26"> Title: </DIV> <div id="inATitle" style="position:absolute;top:430;left:140"> <input type="text" id="ctratitle" size="40" value="<?php echo $res['authTitle']; ?>" onFocus="setFocus(this);" onBlur="changeText('authTitle',this);"> </div> <DIV id="APhone" class="ft0" style="position:absolute;top:455;left:26"> Phone #: </DIV> <div id="inAPhone" style="position:absolute;top:455;left:140"> <input type="text" id="ctraphone" size="10" value="<?php echo $res['authPhone']; ?>" onFocus="setFocus(this);" onBlur="changeText('authPhone',this);"> </div> <DIV id="AEmail" class="ft0" style="position:absolute;top:480;left:26"> E-Mail: </DIV> <div id="inAEmail" style="position:absolute;top:480;left:140"> <input type="text" id="ctraemail" size="40" value="<?php echo $res['authEmail']; ?>" onFocus="setFocus(this);" onBlur="changeText('authEmail',this);"> </div> <DIV id="AAddress" class="ft0" style="position:absolute;top:505;left:26"> Address: </DIV> <div id="inAAddress" style="position:absolute;top:505;left:140"> <input type="text" id="ctraadd" size="40" value="<?php echo $res['authAddress']; ?>" onFocus="setFocus(this);" onBlur="changeText('authAddress',this);"> </div> <DIV id="ACityZip" class="ft0" style="position:absolute;top:530;left:26"> City/State/Zip: </DIV> <div id="inACityZip" style="position:absolute;top:530;left:140"> <input type="text" id="ctracity" size="25" value="<?php echo $res['authCity']; ?>" onFocus="setFocus(this);" onBlur="changeText('authCity',this);"> <select name="ctrastate" id="ctrastate" style="width:90px" onFocus="setFocus(this);" onBlur="changeDrop('authState',this);"> <option value="AL" <?php echo ($res['authState']=='AL' ? 'selected="selected"' : ''); ?>>Alabama</option> <option value="AK" <?php echo ($res['authState']=='AK' ? 'selected="selected"' : ''); ?>>Alaska</option> <option value="AZ" <?php echo ($res['authState']=='AZ' ? 'selected="selected"' : ''); ?>>Arizona</option> <option value="AR" <?php echo ($res['authState']=='AR' ? 'selected="selected"' : ''); ?>>Arkansas</option> <option value="CA" <?php echo ($res['authState']=='CA' ? 'selected="selected"' : ''); ?>>California</option> <option value="CO" <?php echo ($res['authState']=='CO' ? 'selected="selected"' : ''); ?>>Colorado</option> <option value="CT" <?php echo ($res['authState']=='CT' ? 'selected="selected"' : ''); ?>>Connecticut</option> <option value="DE" <?php echo ($res['authState']=='DE' ? 'selected="selected"' : ''); ?>>Delaware</option> <option value="DC" <?php echo ($res['authState']=='DC' ? 'selected="selected"' : ''); ?>>District Of Columbia</option> <option value="FL" <?php echo ($res['authState']=='FL' ? 'selected="selected"' : ''); ?>>Florida</option> <option value="GA" <?php echo ($res['authState']=='GA' ? 'selected="selected"' : ''); ?>>Georgia</option> <option value="HI" <?php echo ($res['authState']=='HI' ? 'selected="selected"' : ''); ?>>Hawaii</option> <option value="ID" <?php echo ($res['authState']=='ID' ? 'selected="selected"' : ''); ?>>Idaho</option> <option value="IL" <?php echo ($res['authState']=='IL' ? 'selected="selected"' : ''); ?>>Illinois</option> <option value="IN" <?php echo ($res['authState']=='IN' ? 'selected="selected"' : ''); ?>>Indiana</option> <option value="IA" <?php echo ($res['authState']=='IA' ? 'selected="selected"' : ''); ?>>Iowa</option> <option value="KS" <?php echo ($res['authState']=='KS' ? 'selected="selected"' : ''); ?>>Kansas</option> <option value="KY" <?php echo ($res['authState']=='KY' ? 'selected="selected"' : ''); ?>>Kentucky</option> <option value="LA" <?php echo ($res['authState']=='LA' ? 'selected="selected"' : ''); ?>>Louisiana</option> <option value="ME" <?php echo ($res['authState']=='ME' ? 'selected="selected"' : ''); ?>>Maine</option> <option value="MD" <?php echo ($res['authState']=='MD' ? 'selected="selected"' : ''); ?>>Maryland</option> <option value="MA" <?php echo ($res['authState']=='MA' ? 'selected="selected"' : ''); ?>>Massachusetts</option> <option value="MI" <?php echo ($res['authState']=='MI' ? 'selected="selected"' : ''); ?>>Michigan</option> <option value="MN" <?php echo ($res['authState']=='MN' ? 'selected="selected"' : ''); ?>>Minnesota</option> <option value="MS" <?php echo ($res['authState']=='MS' ? 'selected="selected"' : ''); ?>>Mississippi</option> <option value="MO" <?php echo ($res['authState']=='MO' ? 'selected="selected"' : ''); ?>>Missouri</option> <option value="MT" <?php echo ($res['authState']=='MT' ? 'selected="selected"' : ''); ?>>Montana</option> <option value="NE" <?php echo ($res['authState']=='NE' ? 'selected="selected"' : ''); ?>>Nebraska</option> <option value="NV" <?php echo ($res['authState']=='NV' ? 'selected="selected"' : ''); ?>>Nevada</option> <option value="NH" <?php echo ($res['authState']=='NH' ? 'selected="selected"' : ''); ?>>New Hampshire</option> <option value="NJ" <?php echo ($res['authState']=='NJ' ? 'selected="selected"' : ''); ?>>New Jersey</option> <option value="NM" <?php echo ($res['authState']=='NM' ? 'selected="selected"' : ''); ?>>New Mexico</option> <option value="NY" <?php echo ($res['authState']=='NY' ? 'selected="selected"' : ''); ?>>New York</option> <option value="NC" <?php echo ($res['authState']=='NC' ? 'selected="selected"' : ''); ?>>North Carolina</option> <option value="ND" <?php echo ($res['authState']=='ND' ? 'selected="selected"' : ''); ?>>North Dakota</option> <option value="OH" <?php echo ($res['authState']=='OH' ? 'selected="selected"' : ''); ?>>Ohio</option> <option value="OK" <?php echo ($res['authState']=='OK' ? 'selected="selected"' : ''); ?>>Oklahoma</option> <option value="OR" <?php echo ($res['authState']=='OR' ? 'selected="selected"' : ''); ?>>Oregon</option> <option value="PA" <?php echo ($res['authState']=='PA' ? 'selected="selected"' : ''); ?>>Pennsylvania</option> <option value="RI" <?php echo ($res['authState']=='RI' ? 'selected="selected"' : ''); ?>>Rhode Island</option> <option value="SC" <?php echo ($res['authState']=='SC' ? 'selected="selected"' : ''); ?>>South Carolina</option> <option value="SD" <?php echo ($res['authState']=='SD' ? 'selected="selected"' : ''); ?>>South Dakota</option> <option value="TN" <?php echo ($res['authState']=='TN' ? 'selected="selected"' : ''); ?>>Tennessee</option> <option value="TX" <?php echo ($res['authState']=='TX' ? 'selected="selected"' : ''); ?>>Texas</option> <option value="UT" <?php echo ($res['authState']=='UT' ? 'selected="selected"' : ''); ?>>Utah</option> <option value="VT" <?php echo ($res['authState']=='VT' ? 'selected="selected"' : ''); ?>>Vermont</option> <option value="VA" <?php echo ($res['authState']=='VA' ? 'selected="selected"' : ''); ?>>Virginia</option> <option value="WA" <?php echo ($res['authState']=='WA' ? 'selected="selected"' : ''); ?>>Washington</option> <option value="WV" <?php echo ($res['authState']=='WV' ? 'selected="selected"' : ''); ?>>West Virginia</option> <option value="WI" <?php echo ($res['authState']=='WI' ? 'selected="selected"' : ''); ?>>Wisconsin</option> <option value="WY" <?php echo ($res['authState']=='WY' ? 'selected="selected"' : ''); ?>>Wyoming</option> </select> <input type="text" id="ctrazip" size="4" value="<?php echo $res['authZip']; ?>" onFocus="setFocus(this);" onBlur="changeText('authZip',this);"> </div> <DIV id="SDis" style="position:absolute;top:5;left:500"> <nobr><span class="ft2"> Disabilities: <br> Visual <input type="checkbox" value="1" onclick="disChange();changeCheck('isVisual',this);" name="ctrdisv" id="ctrdisv" <?php echo ($res['isVisual']=='1' ? 'checked' : ''); ?>/> Reading <input type="checkbox" value="1" onclick="changeCheck('isReading',this);" name="ctrdisr" id="ctrdisr" <?php echo ($res['isReading']=='1' ? 'checked' : ''); ?>/> Physical <input type="checkbox" value="1" onclick="changeCheck('isPhysical',this);" name="ctrdisp" id="ctrdisp" <?php echo ($res['isPhysical']=='1' ? 'checked' : ''); ?>/> </span></nobr> </DIV> <DIV id="hidDiagnostic" style="display:<?php echo ($res['isVisual']=='1' ? block : none); ?>;position:relative;top:5"> <DIV id="DisLeft" style="position:absolute;top:50;left:500"> <nobr><span class="ft2"> Left Eye: 20 / <input type="text" name="ctrdisleft" id="ctrdisleft" value="<?php echo (preg_match("/[^a-z]/i",$res['eyeLeft']) ? substr($res['eyeLeft'],3) : ''); ?>" onFocus="setFocus(this);" onBlur="changeEyes('eyeLeft',this);"/><br /> <input type="radio" onClick="changeRadio('eyeLeft',this);" name="ctrdisleftr" id="ctrdisleftr" value="FDB" <?php echo ($res['eyeLeft']=="FDB" ? checked : ''); ?>> Functions at Definition of Blindness<br /> <input type="radio" onClick="changeRadio('eyeLeft',this);" name="ctrdisleftr" id="ctrdisleftr" value="HM" <?php echo ($res['eyeLeft']=="HM" ? checked : ''); ?>> Identify Hand Movements<br /> <input type="radio" onClick="changeRadio('eyeLeft',this);" name="ctrdisleftr" id="ctrdisleftr" value="CF" <?php echo ($res['eyeLeft']=="CF" ? checked : ''); ?>>Counts Fingers<br /> <input type="radio" onClick="changeRadio('eyeLeft',this);" name="ctrdisleftr" id="ctrdisleftr" value="OP" <?php echo ($res['eyeLeft']=="OP" ? checked : ''); ?>>Object Perception<br /> <input type="radio" onClick="changeRadio('eyeLeft',this);" name="ctrdisleftr" id="ctrdisleftr" value="LP" <?php echo ($res['eyeLeft']=="LP" ? checked : ''); ?>>Light Perception<br /> <input type="radio" onClick="changeRadio('eyeLeft',this);" name="ctrdisleftr" id="ctrdisleftr" value="VF" <?php echo ($res['eyeLeft']=="VF" ? checked : ''); ?>>Visual Field 20 Degrees or Less<br /> <input type="radio" onClick="changeRadio('eyeLeft',this);" name="ctrdisleftr" id="ctrdisleftr" value="NIL" <?php echo ($res['eyeLeft']=="NIL" ? checked : ''); ?>>Totally Blind<br /> </span></nobr> </DIV> <DIV id="DisRight" style="position:absolute;top:220;left:500"> <nobr><span class="ft2"> Right Eye: 20 / <input type="text" name="ctrdisright" id="ctrdisright" value="<?php echo (preg_match("/[^a-z]/i",$res['eyeRight']) ? substr($res['eyeRight'],3) : ''); ?>" onFocus="setFocus(this);" onBlur="changeEyes('eyeRight',this);"/><br /> <input type="radio" onclick="changeRadio('eyeRight',this);" name="ctrdisrightr" id="ctrdisrightr" value="FDB" <?php echo ($res['eyeRight']=="FDB" ? checked : ''); ?>> Functions at Definition of Blindness<br /> <input type="radio" onclick="changeRadio('eyeRight',this);" name="ctrdisrightr" id="ctrdisrightr" value="HM" <?php echo ($res['eyeRight']=="HM" ? checked : ''); ?>> Identify Hand Movements<br /> <input type="radio" onclick="changeRadio('eyeRight',this);" name="ctrdisrightr" id="ctrdisrightr" value="CF" <?php echo ($res['eyeRight']=="CF" ? checked : ''); ?>>Counts Fingers<br /> <input type="radio" onclick="changeRadio('eyeRight',this);" name="ctrdisrightr" id="ctrdisrightr" value="OP" <?php echo ($res['eyeRight']=="OP" ? checked : ''); ?>>Object Perception<br /> <input type="radio" onclick="changeRadio('eyeRight',this);" name="ctrdisrightr" id="ctrdisrightr" value="LP" <?php echo ($res['eyeRight']=="LP" ? checked : ''); ?>>Light Perception<br /> <input type="radio" onclick="changeRadio('eyeRight',this);" name="ctrdisrightr" id="ctrdisrightr" value="VF" <?php echo ($res['eyeRight']=="VF" ? checked : ''); ?>>Visual Field 20 Degrees or Less<br /> <input type="radio" onclick="changeRadio('eyeRight',this);" name="ctrdisrightr" id="ctrdisrightr" value="NIL" <?php echo ($res['eyeRight']=="NIL" ? checked : ''); ?>>Totally Blind<br /> </span></nobr> </DIV> </form> </div> And it no longer works. The absolute divs don't even recognize that they are in the relative div and start at the very top of the page instead. What am I missing? Link to comment https://forums.phpfreaks.com/topic/190577-css-problem-cause-none-of-the-other-forums-get-attention/ Share on other sites More sharing options...
Anti-Moronic Posted February 1, 2010 Share Posted February 1, 2010 lol hardly any of the forums get attention. 1 reply here, few replies there. Link to comment https://forums.phpfreaks.com/topic/190577-css-problem-cause-none-of-the-other-forums-get-attention/#findComment-1005145 Share on other sites More sharing options...
aeroswat Posted February 1, 2010 Author Share Posted February 1, 2010 lol hardly any of the forums get attention. 1 reply here, few replies there. I always get attention here. Unfortunately everywhere else I don't get a reply for a day or longer Link to comment https://forums.phpfreaks.com/topic/190577-css-problem-cause-none-of-the-other-forums-get-attention/#findComment-1005149 Share on other sites More sharing options...
aeroswat Posted February 1, 2010 Author Share Posted February 1, 2010 Just realized I had half of that center tag sitting outside of the enclosing div. Stupid mistakes always >< Link to comment https://forums.phpfreaks.com/topic/190577-css-problem-cause-none-of-the-other-forums-get-attention/#findComment-1005153 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.