473,799 Members | 3,081 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Elyse Summers
16 New Member
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.ghjohnsontr ading.com/new-site/furnishings.htm l

Relevant style sheets are outline.css and stylesheet01.cs s 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 1558
JKing
1,206 Recognized Expert Top Contributor
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
Elyse Summers
16 New Member
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
27776
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 different border color for a mouse hover effect over the image. With Mozilla, I can simply specify img:hover {...}, but IE allows hover only for <a>. So now I'm looking for a way to set the border for my <a> element rather than the <img>, but...
0
1843
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 1px on 3 sides. It looks the same in firefox and ie. Then the same box is wrapped in yet another box with a red border on the bottom. In Firefox the 'middle' box still has padding on only 3 sides, and the red border is showing on the bottom. In...
7
41736
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
3993
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 nothing in IE. I'd be greatful for any assistance. Also, if I will have problems the code on Opera or Safari, I'd appreciate any pointers--I don't have a Mac to test Safari. THanks very much, Michael
0
2954
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> <STYLE type="text/css">
3
4318
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" ItemStyle-BorderColor="Black" ItemStyle-BorderStyle="Solid" ItemStyle-BorderWidth="1px"
1
2375
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 php scripts, and the login screen shows up. so far so good. But now, even if i enter invalid information in the login screen, or cancel out of it, my php script seems to be running, and my information is showing up in the browser. what:s up...
1
1775
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 Explorer Developer Toolbar utility, it showed me the id, type, and name attributes, but not the value attribute. Even if I select the "Show Read-Only Properties" option, it does not show me the value attribute. I know it is in the generated code,...
2
2157
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 it is possible
0
10250
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10026
tracyyun
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...
1
7564
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6805
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();...
0
5463
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5585
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4139
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
2
3757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2938
bsmnconsultancy
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...

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.