473,412 Members | 4,957 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

css divs overlapping in IE8 and if logged in with tablet / netbook /diff size screans

1
hi,
I am trying to develop a web site. its looking fine in crome in my lappy only... but when i change the desktop or browser the divs are overlapping...

.header_box
{
position:absolute;
top:0%;
left:10%;
right:10%;
width:80%;
height:20%;
}
.header_left_box{

float:left;
width:20%;
height:28%;
top:29%;
bottom:10%;
border:thin #000000;
background-image:url(images/MGurujeeLogo.gif);
left:2%;
}
.header_2_right{

float:right;
padding:0px;
height:15%;
width:20%;
border:thin #000000;
right:2%;
top:-10%;
}
.search
{
position:absolute;
width:45%;
left:33%;
border:thin #000000;
top:2px;

}
.header_go{
position:relative;
background-image:url(images/go.jpg);
left:151px;
height:16px;
top: 4px;
width:20px;
}

.header_1{
position:absolute;
top:22%;
width:15%;
height:90%;
border:thin #000000;
left:10%;
}
.header_2{
position:relative;
width:100%;
height:4%;
border:thin #000000;
top:8%;
}
.ccenter_box{
position:absolute;
width:50%;
height:90%;
border:thin #FF0066;
left:25%;
top:22%;
}




----------------------php code---------------

<div class="header_box" style="border:1px solid #000000">
<div class="header_top_marquee">
<marquee direction="right" scrollamount="10" scrolldelay="1" width="30%" height="5%">A FLASH WILL BE INSERTED AT THIS PORTION</marquee>
</div>
<div class="header_left_box"></div>
<?php if($_SESSION['loggedin']===true){?>
<div class="header_2_right"><br /> <br />
<div>Hello <?php echo $_SESSION['username'];?> | <a href="index.php"> Logout</a></div>
<?php session_destroy(); ?>
</div>
<?php }else{ ?>
<div class="header_2_right">
<form name="loginform" action="index.php" method="post">
<h5>Username<input type="text" name="login_username" value='<?php $_POST[login_username]?>' size="15"/>
<br/>
Password
<input type="password" name="login_password" value='<?php $_POST[login_password]?>' size="15"/>
<br />
<center><input type="submit" name="login" value="sign in" />
<br />
<a href="javascript:void(0);" onclick="PopupCenter('forgotpassword.php', 'myPop1',400,160,200,400);">forgot password?</a><br />
<a href="javascript:void(0);" onclick="PopupCenter('new_user.php', 'myPop1',500,500);">new user?</a></center>
</h5>
</form>
</div>
<?php } ?>

</div>
<div class="orange"></div>
<div class="header_1" style="border:1px solid #000000">
<div class="find_us_on">
<br />
&nbsp;<a href="http://www.facebook.com/pages/Mospay-Infotech-I-Pvt-Ltd/195798610477302" target="_blank"><img src="images/facebook.png" alt="facebook" width="25" height="25" /></a>
<a href="https://twitter.com/#!/mospayinfotech" target="_blank">
<img src="images/twitter.png" alt="tweet us at" width="25" height="25" /></a>
<a href="" target="_blank"><img src="images/email us at.jpg" alt="Email us at" width="25" height="25" /></a>
<a href="http://www.linkedin.com/company/657686?goback=%2Efcs_GLHD_MosPay+_false_*2_*2_*2_* 2_*2_*2_*2_*2_*2_*2_*2_*2&trk=ncsrch_hits" target="_blank">
<img src="images/linkedin.png" alt="linkedin" width="25" height="25" /></a>

<img src="images/faq.jpg" alt="linkedin" width="25" height="25"></p>
</div>

<div class="home_cat_fav">
<table width="99%" height="65" id="tableid">
<tr width="99%" align="center" bgcolor="#003399"> <td height="20" ><a href="index.php"><font color="#ffffff">
HOME</font></a></td> </tr>
<tr width="99%" align="center" bgcolor="#003399"> <td height="20"><a href="categories.php"><font color="#ffffff">
CATEGORIES</font></a></td> </tr>
<tr width="99%" align="center" bgcolor="#003399"> <td height="20"><font color="#ffffff">
FAVORITE APPS</font></td> </tr></font>
</table>
</div>
<div class="div_feedbackform" style="background-color:#003366">
<form name="feedback" action="index.php" method="post">
<table width="100%" border="0" align="left" cellpadding="1" cellspacing="1">
<tr>
<td align="left" width="30%"><font color="#FFFFFF" size="-1">User Name:</font></td>
<td>
<input type="text" size="11" value="" name="user_name" /></td>
</tr>

<tr>
<td align="left" width="50%"><font color="#FFFFFF" size="-1">Email:</font> </td>
<td >
<input type="text" size="11" value="" name="email" /></td>
</tr>
<tr>
<td align="left" valign="top"><font color="#FFFFFF" size="-1">Comments:</font> </td>
<td><textarea rows="4" cols="10" name="comments"></textarea></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr> </table>
<input type="submit" name="feed_back" value="submit" />&nbsp;<input type="button" name="close" value="Close Window" onclick="javascript:window.close();" /> </form>
</div>
<p class="feedback">
<font color="#FFFFFF">FEEDBACK</font> </p>
</div>
<div class="right_div" style="border:1px solid #000000">
<img src="surbhi/images/featured_product_03.jpg" width="100%" height="50%" />
<p>ADVERTISMENT GOES HERE</p>
</div>

<div class="ccenter_box" style="border:1px solid #000000">
<div class="search">
<form name="search" method="post" action="index.php">
<input type="text" class="defaultText" title="search apps here" name="search_apps_here"/>
<input type="submit" name="go" value="go" />
</form>
<?php
mysql_select_db("mospay", $conn);
if($_REQUEST['go'] == 'go')
{
$searched_item=$_REQUEST[search_apps_here];
echo $searched_item; //working
echo "<div class='apps'>";
$sql="SELECT application_name FROM applications WHERE application_name LIKE '$searched_item'";
$result=mysql_query($sql,$conn) or die(mysql_error());
$row = mysql_fetch_assoc($result);
do
{
$_SESSION[$i] = mysql_fetch_array($result);

echo "<ul>";
echo "<li>" .$_SESSION[$i][0] . "</li>";
echo "</ul>";

} while(mysql_num_rows($result)>=$i++);


echo "</div>";
}
?>
</div>
<div class="header_2">
<table width="100%" height="36" border="1px" id="tableid">
<tr>
<td bgcolor="#000066" width="100%" height="30" align="center"><font color="#FFFFFF">FEATURED 10</font> </td>
<!-- <td width="189"></td>
<td width="189" align="right"></td>
<td width="189">&nbsp;</td> -->
</tr>
</table>

</div>
<?php
echo "<div class='apps'>";
$sql="SELECT application_name FROM applications WHERE size=10 ";
$result=mysql_query($sql,$conn) or die(mysql_error());
$i=0;
do
{
$_SESSION[$i] = mysql_fetch_array($result);
//echo $_SESSION[$i][0];
echo "<ul>";
echo "<li>" .$_SESSION[$i][0] . "</li>";
echo "</ul>";
$i++;

} while(mysql_num_rows($result)>=$i++);
/*do{
echo "<li>" .$_SESSION[$i][0] . "</li>";
$i++;
}while($_SESSION[$i][0]!=NULL);
echo "</ul>";*/
echo "</div>";
?>
</div>
<div class="orange2"></div>
<div class="footer">

**<a href=""> Home </a> &nbsp; | &nbsp;
<a href="privacy_policy.php" >Privacy policy </a> &nbsp; | &nbsp;
<a href="" > Terms and conditions </a> &nbsp; | &nbsp;
<a href=""> Become a partner </a>
<div id="copyright">Copyright © 2012 <a href=""> MguruJee.com </a></div>
</div>
</body>
</html>
Dec 27 '11 #1
0 1536

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Tim | last post by:
I meet problem on uploading a file with a large file size. Below is my code, how can I modify in order to be able to upload a large file successfully ? Thank for your help. upload.html: <html>...
3
by: Peter Jenkins | last post by:
I have some divs I am using to get a two column layout for a section of a page, like so; <div1> <div2> <div3> blah blah blah blah blah blah blah blah...
1
by: Bjørn T Johansen | last post by:
I have the following select: select to_char((Log_Fortrykk.SistePlate::time - OrdreNew.SistePlate::time)::interval,'HH24:MI') as diff from Log_Fortrykk I need the output to be HH:MM, e.g....
3
by: tedqn | last post by:
I'm using VS 2005. When user selects a image from the FileListBox, the code is PictureBox.ImageLocation = sFullPath PictureBox is set to AutoSize. When the newly loaded image is smaller...
1
by: eolsson | last post by:
I have a .NET application and have added handwriting (via the PenInputPanel class) for users with Tablet PCs. The problem I'm having is that if I call this class it throws a runtime error if the...
0
by: poelski | last post by:
I have three users who are having problems when trying to accept task updates in PWA. All three of the users have new gateway tablet pc's. These three are the only ones having this issue, so I...
4
by: stmfc | last post by:
the code below gives this error: what is the problem here? cxx: Error: str1.cpp, line 8: left operand of the "." operator must have a class type A.size(); ---------^ cxx:...
0
by: sumithrak | last post by:
Hello, I have a problem with changing the paper size for the defaut net work printer in vb 6.0. Need help...... thank you
2
by: fran7 | last post by:
Hi, I wonder if anyone can see whats going wrong here. I have this line of asp and javascript and it works fine <a onmouseover="doTooltip(event,'<img...
1
by: john20 | last post by:
I have master page in that I have header for the child pages, in the child page content populated in the table as row and colum. The problem is when the content in the childpage expand horizotally...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.