473,387 Members | 1,536 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,387 software developers and data experts.

a img showing top and bottom border despite border value being set to 0px

Elyse Summers
I have one last, irritating bug in my company's new website that I can't fix and I'm hoping you may be able to help with. It may be related to my java menu, but it is a stylistic issue so I'm trying here first.

Here is the site link: http://www.ghjohnsontrading.com/new-site/furnishings.html

Relevant style sheets are outline.css and stylesheet01.css in the /new-site directory.

The issue I'm having is this: in Firefox my left navigation collapsible menu is displaying just fine, but in Safari, IE and Chrome I'm getting a grey top and bottom border on my plus/minus .png image buttons handled by the onClick event. I've tried messing around with the line height values, and obviously all my border values are set to 0px (I think...) It's driving me up the wall and I can't figure out why it's happening - can anyone help? My CSS and HTML are both validating and I've got it displaying as I'd like, this is the last issue holding me back from adding content.

Thanks so much.
Oct 4 '10 #1
2 1548
JKing
1,206 Expert 1GB
You are setting a background-color to the anchor tag around your plus/minus.

Expand|Select|Wrap|Line Numbers
  1. <a href="#" style="background-color: rgb(158, 158, 158); " onclick="outlineItemClickByOffset(0); return false" class="olink"><img class="oimg" style="background-color: #9e9e9e" alt="Open" src="oopen.png" border="0" id="oimg"></a>
  2.  
Oct 4 '10 #2
Oh my god. I forgot to change it back from when I was messing around with that div's background colour last week. Well, I feel like an idiot, but I'm very relieved it's fixed - thank you so much! It sucks being the only one in my department so there's no one to check over my work - I appreciate it so much, thanks again.
Oct 4 '10 #3

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

Similar topics

33
by: Thomas Mlynarczyk | last post by:
Hi, I'm looking for a way to put a 1px solid border around the image in this link: <a href="some.html"><img src="some.gif"></a> Well, that, by itself, is simple. However, I would like to have a...
0
by: Red | last post by:
This is apparently an ie display bug, I can't seem to figure out which ie bug this is. a 3 sided border is created by wrapping the 'inner' box in the 'middle' box and padding the 'middle' box...
7
by: Bob Bedford | last post by:
I've an image in a cell of a table. I've this CSS: ..dbtable{ width: 600px; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; border-collapse: collapse; border: 1px solid #000000;
21
by: Michael Bierman | last post by:
Please forgive the simplicy of this question. I have the following code which attempts to determine the color of some text and set other text to match that color. It works fine in Firefox, but does...
0
by: | last post by:
New to HTML here. I am trying to put a border after the headings. I got it to work but was wondering if there was an easier more intuitive way of doing this. Code is below. <html> <body> ...
3
by: Alex Maghen | last post by:
I'd like there to be a border around each row of my data-grid but NOT between the columns. I've tried setting BorderColor="Black" BorderStyle="Solid" BorderWidth="1px"...
1
by: asllearner | last post by:
I have an htaccess file protected folder. In that folder I have several php files that generate some simple html. When I am logged out, cache cleared, sessions info cleared, I navigate to one of the...
1
by: Nathan Sokalski | last post by:
I have a page that I created with ASP.NET which contains a RadioButtonList. This obviously shows up as input tags in the generated page. When I was looking at the page with the free Internet...
2
by: ismailc | last post by:
Good day, I need help I have row with background black & border black, i would like a thin white border just before the border. so the outcome would be black white black i don't know if...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
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
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...

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.