473,411 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

Why does link to another page not workin Firefox?

KeredDrahcir
426 256MB
I have an HTML link and for some reason I can't click on it in Firefox. When I mouse over, the pointer stays an arrow. If I tab to the link it works but that is the only way to use it or to get it the focus.

Can anyone see what's wrong?
Expand|Select|Wrap|Line Numbers
  1. <a href="http://www.mysite.com/" target="_blank">http://www.mysite.com</a>
Nov 5 '10 #1
21 2547
Death Slaught
1,137 1GB
Are you using z-indez, floating, or positioning elements? We can't tell you much without the complete markup or a link to the page.


Thanks, Death
Nov 5 '10 #2
KeredDrahcir
426 256MB
It's in a table but there no positioning of styles for it.
Nov 5 '10 #3
Death Slaught
1,137 1GB
Like I said, we can't tell you much without the complete markup or a link to the page.


Regards, Death
Nov 5 '10 #4
KeredDrahcir
426 256MB
Here is a larger piece of the code.

Expand|Select|Wrap|Line Numbers
  1. <table width="100%" cellpadding="0" cellspacing="0" border="0" id="main">
  2.   <tr valign="top">
  3.     <td width='100%'>
  4.       <table width="100%" cellpadding="0" cellspacing="0" border="0">
  5.         <tr valign='top'>
  6.           <td width="100%" align="left">
  7.             <h1>Site Name</h1>
  8.           </td>
  9.         </tr>
  10.         <tr valign='top'>
  11.           <td width="100%" align="center">
  12.             <a href="http://www.mysite.com/" target="_blank">http://www.mysite.com</a>
  13.             <br />
  14.             <br />
  15.           </td>
  16.         </tr>
  17.         <tr valign='top'>
  18.           <td width="100%" align="Center"> 
  19.             <div class="img_embed" style="width:330px;">   
  20.               <img border='0' alt='' src="/images/myimage.jpg"   hspace='10' vspace='0' />        
  21.             </div> 
  22.           </td>
  23.         </tr>
  24.         <tr valign='top'>
  25.           <td width="100%" align="left">
  26.             About my site.<br />
  27.             <br />
  28.             More about my site.
  29.           </td>
  30.         </tr>
  31.         <tr valign='top'>
  32.           <td width="100%" align="left">
  33.             <br/>
  34.           </td>
  35.         </tr>
  36.       </table>
  37.     </td>
  38.   </tr>
  39. </table>
Nov 5 '10 #5
Death Slaught
1,137 1GB
You should never use tables for layout. Also, your code is deprecated.

I'm not having the problem in Firefox, Safari, Chrome, or Opera, and I have no idea why you are.
  1. Emty your cache.
  2. Enter safe mode to see if an extension is causing the problem.
  3. Update Firefox


Thanks, Death
Nov 5 '10 #6
KeredDrahcir
426 256MB
I know that I should never use tables for layout but I spent many days trying to get absolulty positioned DIVs that would expand for the content and never could manage it so I had to reluctantly use tables.

If you can tell me how to make my DIVs expand if the content requires it then I would rather use them.
Nov 5 '10 #7
KeredDrahcir
426 256MB
I'm also aware of the depricated code. I created this website a long time ago and it's something that recently stopped working. I'm working on bringing out an update where the code is more up to date.
Nov 5 '10 #8
Death Slaught
1,137 1GB
Ah, what kind of data will the divisions be holding? By default they should expand to hold the data. Were you using a doctype? As I said before I have no idea why you're experience this, but I would be more than happy to help with the division issue. this will be my last reply for a few hours (my MacBook has 3% charge left and my new charger hasn't come in yet).


Thanks, Death
Nov 5 '10 #9
KeredDrahcir
426 256MB
The division we be holding normal HTML data. I allow clients to enter the data and store it in a table and then retrieve it from the table so most of the time it's only HTML content that is put into the page using php.

The DOCTYPE is for XHTML 1.0 Tranistional. I look forward to your reply but I don't suppose I'll be able to see it until Monday anyway.
Nov 5 '10 #10
Death Slaught
1,137 1GB
If the user is entering the code into a textarea then you would only need the textarea to accommodate its size for the amount of code. HTML and CSS can't do this alone, but add a little jQuery and it can.

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2.  
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.     <head>
  5.         <title></title>
  6.         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7.  
  8.         <!-- jQuery library -->
  9.         <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.3.min.js"></script>
  10.  
  11.         <!-- jQuery for autogrow textarea -->
  12.         <script type="text/javascript" src="http://onehackoranother.com/projects/jquery/jquery-grab-bag/javascripts/jquery.autogrow-textarea.js"></script>
  13.         <style type="text/css">
  14.             textarea {
  15.                 line-height: 1;
  16.                 font-size: 100%;
  17.                 width: 100%;
  18.             }
  19.         </style>
  20.     </head>
  21.     <body>
  22.  
  23.     <div id="container">
  24.     <textarea cols="" rows="6"></textarea> 
  25.     </div>
  26.  
  27.  
  28.     <!-- javascript snippet to make it work -->
  29.     <script type='text/javascript'> 
  30.           $(function() {
  31.             $('textarea').autogrow();
  32.           });
  33.     </script>
  34.  
  35.     </body>
  36. </html>
The jquery.autogrow-textarea.js can be found here.



Regards, Death
Nov 5 '10 #11
drhowarddrfine
7,435 Expert 4TB
The problem will be that the link is covered up by something; I'd bet the image is doing it but it could be anything.
Nov 5 '10 #12
Death Slaught
1,137 1GB
@drhowarddrfine
I tried replicating it with at least 7 different images with dimensions up to 3888 x 2592, and couldn't get it to replicate the problem in any browser (couldn't try IE because I don't have it, but the problem is in FF). I've never used tables for layout, but I'm still puzzled as to why it's behaving that way.
Nov 5 '10 #13
KeredDrahcir
426 256MB
It's not the height of the text area that is the issue. The textarea is on the backend. What I need to be able to do is output the data on the front end and I couldn't get the DIV to grow if there was a lot of information. I need to nest DIVs.
I'm not making any sense either but I'll try and come up with something that explains it better.
Nov 8 '10 #14
Death Slaught
1,137 1GB
No, that makes sense. By default the divisions should adjust to the content. Of course this all depends on styling. Could you try and create a sample of what you want it to do with divisions, so we will have something to work with.


Thanks, Death
Nov 8 '10 #15
KeredDrahcir
426 256MB
I'll have a go. It make take a little while. I'll post back when I have something.
Nov 8 '10 #16
KeredDrahcir
426 256MB
I'm getting a problem similar to this with a form. I can't seem to get any of the boxes or button to focus. I have to tab through to get to them.

Is there something up with Firefox?
Nov 16 '10 #17
In response to your problems with your div not expanding i can tell you that if you have made a e.g "height: 200px" in your stylesheet it will not expand automatically. You will need to put a "overflow: auto;" on the very same div which your content is within, this will make a scrollbar. If you want to avoid the scrollbar then delete the height attribute.

Take care, Mathias.
Nov 16 '10 #18
KeredDrahcir
426 256MB
I think there's an image on top. I get the same problem in IE, Sarari and Google Chrome although not on Opera. Is there anyway to sort this out possible by changing the z-index. I tried changeing the z-index of the table that held the image to 7 and the table that held the form to 1 but didn't seem to make any difference.
Nov 16 '10 #19
Death Slaught
1,137 1GB
I really couldn't tell you without the code or a link to a test page.


Regards, Death
Nov 16 '10 #20
KeredDrahcir
426 256MB
In terms of divisions, what I really want to do is have a divsion at the top the contain the header and main meny for example. Then I want two side by side which could contain the sub menu and main content. I've got not problems with that.
What I really need to know how to put the footer at the bottom when the main content (and the sub menu) can be different sizes.
Dec 9 '10 #21
Death Slaught
1,137 1GB
Start another thread for that and post what code you have now or a link to your test page.

Regards, Death
Dec 9 '10 #22

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Carl Gilbert | last post by:
Hi How can I use a link to both run a peice of script and link to another page? So far I have the following: ----------------------------------------------------------------------- <A...
10
by: | last post by:
Can I link to another page with a <input type=button> without javascript??? Thanks
1
by: GTDriver | last post by:
I'm trying to determine how to create a page with data from the database and I want to use the link button to have the user click on. Once the user clicks on the link button I want to transfer...
2
by: Stu | last post by:
Hi, When I try and use Javascript to post page form data from one aspx page to another I get the error 'Unable to validate data. '. I am not trying to read the data using web controls I am...
17
by: Rabbit | last post by:
Hi, On my 1st page, i have a function which gets a new ID value and need to transfer to another immediately. which I want to get in 2nd page using Request.form("txtID"), but doesn't work, the...
1
by: czi02 | last post by:
Hi there;;; Does anybody out there knows how to create another page or link with?? First, I had a page name image.htm and saved it on my shared files My html goes like this ...
2
by: Astrix | last post by:
I have been working on session timeout for an application and I got a lot of help from this discussion Board. My Thanks to all of you. For e.g If i have a website which has multiple pages, I...
3
by: mathewgk80 | last post by:
Hello, I would like to know how to pass values of a gridview to another page when clicking on the link field in a gridview. Please help me. regards, Mathew
1
LeoTD
by: LeoTD | last post by:
Dear all, I'm a newbiew in Curl functions. I want to transfer Session data from this page to another in difference server. It means: page1 have a link to page 2. When i click to link in page 1,...
4
by: skeerthi | last post by:
Hi While writing python script using pamie tool i got this problem. In a webpage if we have more than one link(with the same name) to another page than how we can identify the link we wanted to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.