Click to See Complete Forum and Search --> : How to turn off scrollbars or force text on one page?
SugarGirl
06-01-2003, 01:44 AM
I want my entire webpage to fit within the window when the resolution is set to 800*600, how can I turn off the scrollbars or what is wrong with my page that it has overflow??
http://members.cox.net/businessmarketers/
putting style="overflow:hidden" in the opening BODY tag will hide the scrollbar
khaki
06-01-2003, 12:17 PM
hi SugarGirl...
i viewed your page in :
IE 5.0
Netscape 7.0
Mozilla 1.4
Opera 6.02
and it looks different in every one of them.
one of the problems appears to be your use of 100% for the image.
Mozilla makes it HUGE.
other than that...
there isn't much that i can tell you, because you have the scrollbars disabled (i can't view the whole page on any of the browsers because it is too big for 800x600)
I didn't add-up all of your percentages (of your tables)...
but i'm sure that the culprit lies somewhere within the math.
and if you are going to use (and nest) tables for layout (which I will not comment on ;) )...
then maybe you should use a table that is 100x100 (%) and then nest everything else inside of that table.
hopefully some of that was helpful to you (and if ANYONE attacks me about the "table" suggestion... well... just don't... okay? ;) )
;) k
(i know that Charles is lurking about :eek:
i am sooo dead :rolleyes: )
<HTML><HEAD><TITLE>Business Marketers</TITLE>
<LINK href="Business Marketers_files/sitestyles.css" type=text/css rel=stylesheet>
<SCRIPT language=JavaScript1.1>
<!--
var slidespeed=3000
var slideimages=new Array("pic1.jpg","pic2.jpg","pic3.jpg","pic4.jpg")
//specify corresponding links to images
var slidelinks=new Array("http://members.cox.net/businessmarketers/projects.htm","http://members.cox.net/businessmarketers/projects.htm","http://members.cox.net/businessmarketers/projects.htm","http://members.cox.net/businessmarketers/projects.htm")
//open links in new window? 1=yes, 0=no
var newwindow=1
var imageholder=new Array()
var ie=document.all
for (i=0;i<slideimages.length;i++){
imageholder[i]=new Image()
imageholder[i].src=slideimages[i]
}
function gotoshow(){
if (newwindow)
window.open(slidelinks[whichlink])
else
window.location=slidelinks[whichlink]
}
//-->
</SCRIPT>
</HEAD>
<BODY topmargin="0" leftmargin="0">
<!--TOP BAR -->
<TABLE cellSpacing=0 cellPadding=0 bgColor=#6699cc border=0 width="100%" height="100%">
<TBODY>
<TR>
<TD colspan="4"> </TD><TD align=middle><DIV class=topbar>EMAIL US</DIV></TD>
</TR>
<!--COMPANY NAME -->
<TR>
<TD colspan="5" align="center" valign="top" height="60"><IMG src="Business Marketers_files/2.jpg" width="760"></TD>
</TR>
<!--CONTACT BAR -->
<TR bgcolor="#00238a">
<TD align=middle><DIV class=contactBar>
<A href="http://members.cox.net/businessmarketers/about.htm">ABOUT US</A></DIV></TD>
<TD align=middle><DIV class=contactBar>
<A href="http://members.cox.net/businessmarketers/customers.htm">CUSTOMERS</A></DIV></TD>
<TD align=middle><DIV class=contactBar>
<A href="http://members.cox.net/businessmarketers/projects.htm">PROJECTS</A></DIV></TD>
<TD align=middle><DIV class=contactBar>
<A href="http://members.cox.net/businessmarketers/contact.htm">CONTACT US</A></DIV></TD>
<TD align=middle><DIV class=contactBar>
<A href="http://members.cox.net/businessmarketers/contact.htm"> </A></DIV></TD>
</TR>
<TR>
<TD align=middle colSpan=1><DIV class=servicesTitle>OUR SERVICES</DIV></TD>
<TD vAlign=center align=left colSpan="4" rowspan="5" height="100%"><A href="javascript:gotoshow()">
<IMG style="FILTER: blendTrans(duration=3)" height="100%" src="pic1.jpg" width="100%" border=1 name=slide></A>
<SCRIPT language=JavaScript1.1>
<!--
var whichlink=0
var whichimage=0
var blenddelay=(ie)? document.images.slide.filters[0].duration*1000 : 0
function slideit(){
if (!document.images) return
if (ie) document.images.slide.filters[0].apply()
document.images.slide.src=imageholder[whichimage].src
if (ie) document.images.slide.filters[0].play()
whichlink=whichimage
whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0
setTimeout("slideit()",slidespeed+blenddelay)
}
slideit()
//-->
</SCRIPT>
</TD>
</TR>
<TR>
<TD><DIV class=services> <IMG src="Business Marketers_files/blueCheck.gif">
<A href="http://members.cox.net/businessmarketers/sales.htm">Sales</A></DIV></TD>
</TR>
<TR>
<TD><DIV class=services> <IMG src="Business Marketers_files/blueCheck.gif">
<A href="http://members.cox.net/businessmarketers/marketing.htm">Marketing</A></DIV></TD>
</TR>
<TR>
<TD><DIV class=services> <IMG src="Business Marketers_files/blueCheck.gif">
<A href="http://members.cox.net/businessmarketers/productintro.htm">Product Introduction</A></DIV></TD>
</TR>
<TR>
<TD><DIV class=services> <IMG src="Business Marketers_files/blueCheck.gif">
<A href="http://members.cox.net/businessmarketers/distribution.htm">Distribution Development</A></DIV></TD>
</TR>
<TR>
<TD colspan="5" bgColor=#00238a> </TD>
</TR>
</TBODY></TABLE>
</BODY></HTML>