Click to See Complete Forum and Search --> : fit to all brower sizes
sisira
02-23-2008, 12:51 PM
hi,
i am building a web site using php. Developing using Dreamweaver.
i view my pages in internetexplorer. Then the pages fit perfectly. But in some others computer my pages does not fit to the whole page.
i want a way to fit the pages to all browsers and Monitor sizes. how can i do this.
i know this is very simple and a very silly question. but i am helpless. please help me
thanks
sisira
coldwerturkey
02-23-2008, 02:01 PM
all depends on how your writing it, care to post some of the code your using
dagon
02-23-2008, 04:36 PM
make all sizes uses relative, percentages not pixels
dagon
02-23-2008, 04:38 PM
and it really has nothing to do with php.
NogDog
02-23-2008, 06:44 PM
One approach for your basic 3-column layout with "fluid" center (http://alistapart.com/articles/holygrail)
sisira
02-23-2008, 09:50 PM
hi,
thanks for he replies guys. This are the coding at the start of my page. please see and ell me what to do
<?php
session_start();
if(isset($_GET['ID']))
{$_SESSION['referrer'] = intval($_GET['ID']);}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>http://www.directorylanka.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<style type="text/css">
<!--
.style5 {
font-size: 14px;
font-weight: bold;
}
.style6 {font-size: 12px}
.style7 {font-size: 14px}
.style21 {color: #FF0000}
.style25 {color: #0000FF}
.style26 {color: #FF00FF}
.style29 {
font-size: 12px;
font-weight: bold;
}
.style59 {color: #000033}
.style67 {color: #CCFFFF}
.style68 {font-size: 14px; color: #FF00FF; }
.style69 {font-size: 14}
.style70 {font-size: 16px}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: none;
}
.style11 {font-size: 14px; color: #FFFFFF; font-weight: bold; }
.style71 {color: #CCFFFF; font-size: 14px; }
.style73 {font-size: 15px}
-->
</style>
</head>
<body>
<div id="Layer38" style="position:absolute; width:332px; height:91px; z-index:66; left: 9px; top: 1297px; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000;">
<table width="332" height="91" border="1" bordercolor="#000066">
<tr>
<td width="322" height="85" align="center" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<p> <a href="Advertisng%20packages/Banner%20Advertise.php?ID=<?php echo $_SESSION['referrer']; ?>"><font color="#FFFFFF"><strong><font color="#000033">PUBLISH
YOUR BANNER </font></strong></font><font color="#000033"><br>
In This Space<br>
dagon
02-23-2008, 10:59 PM
your using fixed width div and table thats the problem
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.