473,508 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cant see bordercolor on firefox

12 New Member
I´m having problems setting table bordercolor. Vewing the page on IE 6.0 color is ok. Vewing same page on firefox 1.5 only a hint of set color is visible, on the outer most border. The inner borders are allmost dark. I´ve checked the code can´t see the reason. Any help?
Aug 29 '06 #1
5 10659
Banfa
9,065 Recognized Expert Moderator Expert
The table border colour will only apply to the table border. If you want the cell borders to have the same colour then you will have to apply the colour as a cell border as well (using CSS).
Aug 29 '06 #2
thavaht
12 New Member
Hi Banfa! Thanks for replying. I’ve been trying your suggestion. In fact the CSS “border-color” property applies to the outer most border of the table. I can’t find such a property like cell border colour. Will you help? On the other hand the table’s “bordercolor” attribute applies both to the table and cell borders.
Here is what I found on O`Reilly HTML Reference:
Bordercolor=”colorTripletOrName”
The colors used to render some of the pixels that create the illusion of borders around cells and the entire table…

My point is that I’m used to make corrections for the pages to be correctly displayed on IE but in this situation I’m getting the desired effect on IE but not in Firefox.
Aug 30 '06 #3
Banfa
9,065 Recognized Expert Moderator Expert
The is no cell-corde property, you apply the styles to the td tag

[html]
<style>
table {
border: 10px solid #ff66ff;
}

td, th {
border: 2px solid blue;
}
</style>
[/html]

Will apply a hideous 10 pixel border to your table and a think blue border to all the cells of the table.

That is because the interpret the table BorderColor attribute differently but if you use CSS then it should appear the same in both.
Aug 31 '06 #4
jitu78
30 New Member
Try this,

CSS code here,
<style>
table.bdr {border:1px solid #999}
</style>

Here is html,
<table width="60%" border="0" align="center" cellpadding="10" cellspacing="0" class="bdr">
<tr>
<td height="50"><a href="http://globtier.com">gobtier</a></td>
<td>Jitendra</td>
</tr>
</table>
Aug 31 '06 #5
smsimonk
1 New Member
Thanks Boss it works........Great
Simon
http://www.gospeljunction.net

Try this,

CSS code here,
<style>
table.bdr {border:1px solid #999}
</style>

Here is html,
<table width="60%" border="0" align="center" cellpadding="10" cellspacing="0" class="bdr">
<tr>
<td height="50"><a href="http://globtier.com">gobtier</a></td>
<td>Jitendra</td>
</tr>
</table>
Oct 12 '06 #6

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

Similar topics

2
3157
by: kmunderwood | last post by:
I am having trouble changing the font size when extracting xml into an html web page. I think it can be done so many ways, that my searches bring up examples that I am not familiar with. I am a...
0
1158
by: Torbjørn Pettersen | last post by:
I have two tables, and I want one of them to use bordercolor. How can I do this with CSS. The W3.com's validator tells me that bordercolor isn't valid any more, so I have to push it into the...
2
4421
by: Eirik Eldorsen | last post by:
Is it possible to make the mouseover event of a ImageButton to change the border color? I use this code to change the src: ImageButton.Attributes.Add("onmouseover", "this.src='someImage.jpg'");...
7
1766
by: Luis Esteban Valencia | last post by:
Hello I have this code and It runs FINE but vs.net 2003 doesnt let me switch to design mode <asp:DataList id="datalistpartidos" runat="server" GridLines="Vertical" CellPadding="3"...
2
12563
by: Jeff S | last post by:
Hello I am having an issue with changing the bordercolor of the panel control I have got to a point where I have created my own control and inherited the Panel control, then in the Overrides Sub...
22
12944
by: Alan Silver | last post by:
Hello, I am updating some old web pages, and have come across a problem. I have some tables where the opening tag looks like... <table border="1" bordercolor="#ffffff"> which gives a nice...
4
2017
by: ehime | last post by:
...for noncompliant browsers (Opera/Mozilla). I have been trying to get a little hack together for class, and am simply overwhelmed by lack of browser support. Here's what I started with. ...
3
5172
by: rn5a | last post by:
How do I change the BorderColor of the rows under the 2nd column in a DetailsView? I could change the BorderColor of the 1st column using the FieldHeaderStyle-BorderColor property but using...
1
3819
by: xtremebass | last post by:
Hello Bytes, i have a calender program which is created by using Javascript. when i execute that program using Internet Explorer,it works properly but when i tried in Mozilla firefox it didnt...
0
7385
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...
0
7498
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...
0
5629
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,...
1
5053
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...
0
4707
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...
0
3195
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...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1558
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 ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.