Click here to Skip to main content
15,881,381 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Quote:
XML
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
body {
    background: url("../images/theserverside/bodyBackground.png") repeat-x scroll 0% 0% rgb(45, 70, 101);
    height: 100%;
}



#containerOuter {
    border-left: 4px solid rgb(21, 46, 72);
    border-right: 4px solid rgb(21, 46, 72);
}

#containerOuter {
    margin: 0px auto;
    width: 560px;
}
#containerOuter {
    height: auto !important;
    min-height: 100%;
    word-wrap: break-word;
    background-color: red;
}

#containerInner {
    background-color: rgb(255, 255, 255);
    padding-bottom: 1px;
    padding-top: 1px;
    background-color: orange;
    background: url("wood1.jpg");
    color: whitesmoke;
}

</style>

</head>
<body class="discussionsLanding">




<div id="containerOuter">






<div id="containerInner">


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce a ligula dolor. Fusce congue elementum nulla at tempor. Nulla elit ligula, consequat sed convallis id, condimentum ac tellus. Proin volutpat, dolor id porttitor consequat, metus nulla elementum purus, ut lacinia dui turpis vel nibh.



</div>


</div>


</body>
</html>



when i run this page,the page content and font size and layouts are not same in mozila and chrome.
how to fix?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900