Small interactive section within Firefox

When using Firefox, I noticed that the clickable area of the links in my footer is very small. The clickable area seems to be limited in both width and height, unlike in IE where it works fine. Any suggestions on how to fix this?

This is the code for my footer:

<div id="footer">
<ul>
<li>RKM Research and Communications, Inc.&nbsp;&nbsp;|</li>
<li>1039 Islington St&nbsp;&nbsp;|</li>
<li>Portsmouth, NH  03801&nbsp;&nbsp;|</li>
<li>603.433.3982&nbsp;&nbsp;|</li>
<li><a href="mailto:<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="70191e161f30021b1d5d02150315110213185e131f1d">[email protected]</a>">email us</a></li>
</ul>
<ul class="copyright">
<li>&copy; 2012 RKM Research and Communications, Inc.   </li>
<li><a href="privacy.html">Privacy policy</a> </li>
<li><a href="terms.html">Terms of use</a></li>
</ul>

And here is the corresponding CSS:

div#footer ul li{
color : #036;
background-color : transparent;
display: inline
}

div#footer ul li a{
color : #115EAC;
text-decoration : none;
display:inline-block;
paddding:10px 20px;
}

.footer ul li a:hover{color:#F6901E;
text-decoration : underline;
}

I have also attempted to use a block style with a class, but it did not resolve the issue:

<li class="flink"><a href="mailto:<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="aec7c0c8c1eedcc5c383dccbddcbcfdccdc680cdc1c3">[email protected]</a>">email us</a></li>
</ul>

Here is the additional css:

.flink ul li a{
color : #115EAC;
text-decoration : none;
display:block;
paddding:10px 20px;
float:left;
}

Answer №1

It's a small world, I happen to live in Portsmouth as well.

Your provided code shows the clickable area functioning correctly. You can check for yourself here: http://jsfiddle.net/cCDaL/1/

I've highlighted the background of each a element in yellow to clearly show the clickable area, and it seems to be working as expected.

My suggestion is that there might be another CSS rule affecting the clickable area size, such as line-height or padding (remember that padding isn't clickable in links). Chrome or Firefox inspectors can help you identify any issues.

Additional note: When viewing your website in Firefox Aurora 14.0a2, the clickable area appears normal for me as well. Here's a screenshot using the Firefox inspector:

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

What is the best way to remedy the bottom scroll issue?

I am currently working on a Messaging system and I need the scrollbar to stay fixed at the bottom so that when new data arrives, it automatically scrolls down. How can this be achieved using HTML/CSS? Please ignore any unprofessional formatting in the code ...

Enhance the spacing between the UL-LI navigation menu and the currently selected item

I'm struggling with adjusting the spacing between items in my navigation menu, specifically the li elements that are currently too close together. I've attempted to increase the margin-left within the .main_menu li CSS rule, but it doesn't s ...

How to set textboxes as read-only depending on the drop-down choice?

After developing some scripts to automatically populate the data-length and data-width in textboxes based on a dropdown selection, I now face the challenge of making the .width and .length textboxes readonly depending on the selected dropdown option. Is t ...

What is the method to adjust the image width in jCarousel?

I've been using the jCarousel carousel application from Sorgalla's projects. However, I'm having trouble changing the default image width setting. Currently, the images are set at around 80px width, but I need them to be 170px as my pictures ...

Attempting to automatically change the selected input radio button every 3 seconds using HTML

Hey there, I'm just starting out with coding and StackOverflow. I'm attempting to create a basic slider but for some reason, the images are not changing. My goal is to cycle through checked input radio buttons every 3 seconds, but something seems ...

Can Bootstrap be used to create distinct spacing between table rows in a DataTable?

How can I achieve the look of separate table rows as shown in the image provided? I am currently using DataTables and bootstrap 5. I am looking to create visually distinct rows where the background is visible in between each row. Click here to view the i ...

Include brand logo to the Bootstrap navigation bar

Following the method provided in Bootstrap documentation, I included the following code: <div class="container"> <a class="navbar-brand" href="#"> <img src="/img/hangers.jpg" alt= ...

How can I make the hover effect only apply to the text and not the entire box?

I'm wondering how I can make the :hover property only affect individual letters in my navigation bar, instead of hovering over the entire box. * { margin: 0px; padding: 0px; } .navigation-bar { height: 3.2em; background: gray; text-align: ...

Try placing the div class above the navbar in Bootstrap

I've created these fork me ribbons in CSS with the intention of placing them on top of the navbar, similar to the Github images. Here is how they currently appear: http://jsbin.com/womib/1 .ribbon { background-color: #F38419; overflow: h ...

Issues with the alignment of spans

What is the reason behind the *asdf being aligned to the bottom of its parent div in the following HTML code? <html> <style> .tag_editor { float: none; width: 400px; height: 33px; border-style: solid; border-color: #B2B2B2; border-width: thin; ...

Inserting HTML code directly after a full-screen height responsive div while utilizing Bootstrap 4

So, I have three main components in my design: a navbar, a content div with sections, and a footer. I've managed to make the design responsive for the navbar and content div, but not for the footer yet. The issue lies with the content container, whi ...

Eliminating the boundaries of Bootstrap accordion

I'm currently working on creating Bootstrap accordion menus and I'm attempting to remove the border that appears when it's collapsed and expanded. Below is the code I've been working on: <div class="accordion"> <div ...

Choose a specific portion of text following an element in HTML using CSS

I would like to style the text following the span tag using CSS without affecting the span tag itself. Specifically, I want to apply styling only to the text that reads "Text to be selected", leaving the span tag unaffected. The style I desire i ...

There has been an unexpected transformation in the website design when using Chrome on large widescreen monitors

Last week, I updated the design of my website and tested it across various browsers and devices. It's a portfolio site built with Bootstrap, and everything looked good. However, this morning when I viewed my website on my widescreen monitor using Chro ...

Replacing default hover behavior from an external library

Currently, I am utilizing a JS library that comes with a specific widget. Basically, I have the following list (I removed unnecessary DOM code): <li class="disabled"> When I hover over this list item, it turns into: <li class="disabled state-a ...

Centering content vertically in CSS

I am facing an issue with aligning buttons vertically inside a div. The number of buttons may vary, but I want them to be aligned vertically in a single column. Using "vertical-align: middle" does not seem to work. How can I achieve this? The height of th ...

Bug in Angular: CSS encapsulation issue causing sibling grid components to inherit :hover styling from one another

Can anyone help me find the bug in my code? I am struggling to identify it. I have a grid container component that contains child grid item components generated by *ngFor. Each child component has two inputs: An object named rfpDoc featured: Boolean (I&a ...

Optimal Usage of URLs in WordPress Style Sheets

I've been doing extensive research on the pros and cons of using relative versus absolute paths for images in my CSS. After perusing this online discussion, I am leaning towards utilizing absolute paths. My primary concern is not so much about cross-d ...

Having trouble adjusting the appearance of the dropdown menu in Angular Material's Select component

I've been attempting to adjust the style of the overlay panel within an Angular Material's MdSelect component in order to change the default max-width property of 280px. I have tried various methods, such as using '!important' to overr ...

Unable to access and control HTML elements using JavaScript

let button = document.getElementsByTagName('button'); button.value = 8; //button.textCont = 'X'; --- DOESN'T WORK. //button.innerHTML = 'X'; --- DOESN'T WORK. body { ...