I need a code that forces all people's firefox browsers to give them a horizontal scroll bar regardless of what their tool bars and other factors tell the browser to do. I have a crossword puzzle game that does not show up on my friends browser correctly, but shows up correctly in mine and on my sisters. My sister and he has the same screen size. He says he was using FF like me. I put the game up on IE and it showed up correctly. It only doesn't show up correctly on his computer.
Currently, I use an image thats longer than necessary to get the horizontal bar on my page.
the page can be found here: crossword puzzle
The puzzle is in a form. The snippets of code is below. Thanks in advance!
(I did google search this, but they all say the same thing and then give me a code to hide the silly bar I can't force to show up in the first place). The below contains both html and JS. - <TABLE BORDER WIDTH="100%" >
-
-
<tr>
-
<td>
-
<img src="http://www.tpgames.net/gaming/2/word/xw/img/z.gif" width="1206" height="2" alt="">
-
<TR BGCOLOR="#000000">
-
<TD>
-
<script>
-
-
function crossWord(){
-
if (document.form.c1.value=="S"
-
&& document.form.c2.value=="O"
-
&& document.form.c3.value=="L"
-
&& document.form.c4.value=="D"
-
-
SNIPPED CODE HERE
-
-
&& document.form.c413.value=="N")
-
alert("GREAT!! You solved the puzzle correctly!")
-
else {alert("Not quite right, check your answers.")}
-
}
-
</script>
-
-
<form name="form">
-
-
<img src="http://www.tpgames.net/gaming/2/word/xw/img/z.gif"
-
width="1200" height="8"><br>
-
<img src="http://www.tpgames.net/gaming/2/word/xw/img/1AD.gif">
-
-
<!-- SOLD -->
-
<input type="text" name="c1" size="1">
-
<input type="text" name="c2" size="1">
-
<input type="text" name="c3" size="1">
-
<input type="text" name="c4" size="1">
-
<img src="http://www.tpgames.net/gaming/2/word/xw/img/3D.gif">
-
<img src="http://www.tpgames.net/gaming/2/word/xw/img/x.gif">
-
<img src="http://www.tpgames.net/gaming/2/word/xw/img/x.gif">
-
SNIPPED CODE HERE
-
-
<img src="http://www.tpgames.net/gaming/2/word/xw/img/x.gif">
-
<img src="http://www.tpgames.net/gaming/2/word/xw/img/x.gif">
-
<img src="http://www.tpgames.net/gaming/2/word/xw/img/z.gif">
-
<br>
-
<center>
-
<input type="button" value="Check Puzzle" onClick="crossWord()">............................................<input type="reset" value="Reset Puzzle">
-
</center>
-
-
</form></TD>
-
</TABLE>
-
4 2496
If I were to use min-width in the CSS in the body tag part, would it solve the problem? I'm using only the bare minimum of CSS, as the game doesn't need the td tags and text to be any different from the main body. Thanks! -
BODY {
-
background-color: #ffffff;
-
background-image: url(/gaming/2/20squares/marble30.jpg);
-
background-repeat: repeat;
-
background-position: top center;
-
border: 2px;
-
min-width:1220px;
-
margin: 1% 1% 10% 0%;
-
font-family: Arial, Helvetica, Verdana, sans-serif;
-
font-size: 16px;
-
line-height: 18px;
-
vertical-align: text-top;
-
color: #000000;
-
}
In your css, under body, you are missing the semicolon behind width. Does this fix the problem?
In your css, under body, you are missing the semicolon behind width. Does this fix the problem?
I can't believe I did that. LOL I knew it had to be some silly error somewheres. Thanks! I did email my friend, so I'll find out if his pc shows it correctly. I'm sure it will though.
This is what validation is for. You would have caught it just like I did.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Nishant |
last post by:
I have a combo box with a horizontal scroll bar.
(Used SetHorizontalExtent)
The dropdown with horizontal scroll bar works fine when I have more
items in the dropdown list. However when the number of items is less,
the horizontal scroll bar comes over the last item.
If there is only one item, I am not able to see that item because of
Horizontal scroll.
|
by: robert |
last post by:
I've made a gallery site for an artist and it works well -- the gallery
page has a central large image which is swapped when thumbnail images
are clicked. I'm using Dreamweaver's "SwapImage" behavior. The problem
is that this fails under certain versions of IE and possibly NN on PCs
and Macs -- I haven't gotten my client to send me details of what
version he's using (sorry) or any of my 'beta testers' -- but I'm really
getting frustrated....
|
by: Jeremy Chapman |
last post by:
I've got a grid inside a div so that it's got scroll bars around it.
What I want to do is have the header row fixed at the top, so that the
vertical scroll bars scroll just the data rows of the grid while the
horizontal scroll bar scrolls both the data and the header row.
The only way I can think of doing it is putting the data portion as a
seperate grid in a div and the header in a seperate div. I would force the
header div not to have...
|
by: Tina |
last post by:
Am I missing something or does the listbox web control not have a horizontal
scroll capability?
Thanks,
T
|
by: RJN |
last post by:
Hi
I'm using an iFrame to enclose another document. The iFrame width is
sufficient to hold the enclosed document. When the enclosed document has
more data and exceeds the height set for iFrame, both the scroll bars ,
horizontal and vertical appear. I want to avoid the horizontal scroll
bar. If I set the scrolling property to "no", then both the scroll bars
don't appear. I tried placing the iFrame tag inside div and setting the
scrolling...
| |
by: Eduard |
last post by:
I have a ASP.Net datagrid wrap in the following div:
<DIV id="divPart2" style="OVERFLOW: hidden">.
Another div controls the horizontal scrolling:
<DIV id="scroll1" style="OVERFLOW: scroll; WIDTH: 800px; LINE-HEIGHT: 0px;
HEIGHT: 17px" onscroll="javascript:
document.getElementById('divPart2').scrollLeft = this.scrollLeft;"> scrolls
the datagrid horizontally.
When the horizontal scroll box is dragged or any of the scrollbar arrows is
|
by: dotcom |
last post by:
hello,
i am sending whole javascript code(it is for freezing html header)
it works fine eith IE but not firefox scroll bar does not come
var divContent = null;
var divHeaderRow = null;
var divHeaderColumn = null;
var divHeaderRowColumn = null;
var headerRowFirstColumn = null;
var x;
|
by: pbd22 |
last post by:
Hi.
I am trying to make a horizontal list that counts (downward) and
a horizontal list that illustrates the time. Both list should be
formatted the same (except for the nomenclature). I seem to
be successful with the y axis but, in my horizontal list (time),
I can't seem to get it to scroll successfully.
Below is the link, thanks:
|
by: amuven |
last post by:
Hi All,
I need to put a horizontal scroll bar for 4 cells alone where my first cell in table should not contain any horizontal scroll bar .
In clear, let us say there are 5 columns in my table i want to put horizontal scroll bar only for 2nd,3rd,4th and 5th column alone where my 1st column should not horizontal scroll bar . so that I can scroll only last 4 columns .
Please some one provide me sample code as early as possible in doing...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |