allida77
04-17-2003, 10:15 PM
<html>
<head>
<style type='text/css'>
<!--
body{
font-size:1em;
background-color:#3A6EA5;
}
.MainWindow{
width:75%;
height:100%;
position:absolute;
}
.RightWindow{
background-color:#999999;
width:25%;
height:100%;
position:absolute;
margin-left:75%;
border-left:inset black 1px;
}
.Links{
padding:2%;
margin-left:7%;
}
a.Links{
color: #4682B4;
font-size:1.2em;
}
a.Links:link {
color: #4682B4;
font-size:1.2em;
}
a.Links:visited {
color:#4682B4;
font-size:1.2em;
}
a.Links:hover{
text-decoration : none;
color: #ADD8e6;
}
-->
</style>
</head>
<body leftmargin=0 topmargin=0>
<form name="_ctl0" method="post" action="Default.aspx" id="_ctl0">
<input type="hidden" name="__VIEWSTATE" value="dDwxNjg2NjYxNjA4Ozs+Uh+NyOAhFlTf9YGvZFb+54v4SX8=" />
<div class="MainWindow">
</div>
<div class="RightWindow">
<div class="Links">
<a href=http://infonet class='links'>Infonet</a><BR/>
<a href=http://127.0.0.1 class='links'>Myself</a><BR/>
<a href=http://my.yahoo.com/ class='links'>My Yahoo</a><BR/>
<a href=http://testnet class='links'>Testnet</a><BR/>
<a href=http://www.codingforums.com/ class='links'>Codingforums.com</a><BR/>
<a href=http://www.drudgereport.com/ class='links'>Drudge Report</a><BR/>
<a href=http://www.di.fm/ class='links'>Digitally Imported</a><BR/>
<a href=javascript:void(location.href="view-source:"%20+%20location.href) class='links'>View Source</a><BR/>
</div>
</div>
</form>
</body>
</html>
The above code is just a sample. Because I set a border to 1px then the horizontal scroll bar will appear in moz. I am guessing because my width is defined as 100% plus the 1 px border. I always code for ie 5.5 and 6(intra) so when it comes to other browsers I am a complete noob. So how do you work around this for moz?
<head>
<style type='text/css'>
<!--
body{
font-size:1em;
background-color:#3A6EA5;
}
.MainWindow{
width:75%;
height:100%;
position:absolute;
}
.RightWindow{
background-color:#999999;
width:25%;
height:100%;
position:absolute;
margin-left:75%;
border-left:inset black 1px;
}
.Links{
padding:2%;
margin-left:7%;
}
a.Links{
color: #4682B4;
font-size:1.2em;
}
a.Links:link {
color: #4682B4;
font-size:1.2em;
}
a.Links:visited {
color:#4682B4;
font-size:1.2em;
}
a.Links:hover{
text-decoration : none;
color: #ADD8e6;
}
-->
</style>
</head>
<body leftmargin=0 topmargin=0>
<form name="_ctl0" method="post" action="Default.aspx" id="_ctl0">
<input type="hidden" name="__VIEWSTATE" value="dDwxNjg2NjYxNjA4Ozs+Uh+NyOAhFlTf9YGvZFb+54v4SX8=" />
<div class="MainWindow">
</div>
<div class="RightWindow">
<div class="Links">
<a href=http://infonet class='links'>Infonet</a><BR/>
<a href=http://127.0.0.1 class='links'>Myself</a><BR/>
<a href=http://my.yahoo.com/ class='links'>My Yahoo</a><BR/>
<a href=http://testnet class='links'>Testnet</a><BR/>
<a href=http://www.codingforums.com/ class='links'>Codingforums.com</a><BR/>
<a href=http://www.drudgereport.com/ class='links'>Drudge Report</a><BR/>
<a href=http://www.di.fm/ class='links'>Digitally Imported</a><BR/>
<a href=javascript:void(location.href="view-source:"%20+%20location.href) class='links'>View Source</a><BR/>
</div>
</div>
</form>
</body>
</html>
The above code is just a sample. Because I set a border to 1px then the horizontal scroll bar will appear in moz. I am guessing because my width is defined as 100% plus the 1 px border. I always code for ie 5.5 and 6(intra) so when it comes to other browsers I am a complete noob. So how do you work around this for moz?