ixing table borders in MSIE and Firefox |
ixing table borders in MSIE and Firefox |
galewis |
Jul 10 2008, 02:02 PM
Post
#1
|
Group: Members Posts: 6 Joined: 10-July 08 Member No.: 6,129 |
I posted this on another board and haven't gotten any nibbles... hope someone here can help.
To begin with a confession, I'm in the process of atoning for past sins. I developed a website in FrontPage. (Yes, I know... hanging head in shame.) It was there, it was easy, and I didn't know any better. Blame me, blame the universe, blame Microsoft... whatever. Now I know better. Anyway, the site displays fine in Internet Explorer, and I'd like to display the same way in Firefox. For the life of me, I can't figure out what's causing two vertical ruled lines to appear on the site in Firefox. I'm sure they're table or cell borders, but nothing I seem to do will turn them off. Here is a screen shot of how I want the site to appear in Firefox: Here is a screen shot of how the site presently appears in Firefox: The page in question is at http://www.ncnats.org/template.htm I understand that the page's code is probably far from standards-compliant. I can live with that for the time being. Right now I'm just looking for a way to make the site look the same in both browsers. Any assistance will be very much appreciated. Thanks! This post has been edited by galewis: Jul 10 2008, 02:03 PM |
Darin McGrew |
Jul 10 2008, 02:06 PM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
I recommend that you start by fixing the markup errors and CSS errors reported by the online tools.
|
galewis |
Jul 12 2008, 08:07 PM
Post
#3
|
Group: Members Posts: 6 Joined: 10-July 08 Member No.: 6,129 |
I appreciate that advice, and you're right that that's the most complete fix. But my goal right now is to remedy just this one problem first. I don't have the time to fix problems that admittedly might otherwise exist but that aren't causing me any difficulty.
If you'd be so kind to indicate exactly what's causing the rules lines to appear in the Firefox example only, I'd really appreciate it. I really am stumped. |
Darin McGrew |
Jul 12 2008, 08:21 PM
Post
#4
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Taking a quick look, it seems that your layout table specifies borders. Maybe your CSS eliminates the borders in MSIE, but standards-oriented browsers ignore your CSS.
|
galewis |
Jul 13 2008, 03:34 PM
Post
#5
|
Group: Members Posts: 6 Joined: 10-July 08 Member No.: 6,129 |
I'm sorry... I must be a bonehead. Can you make a more specific recommendation?
This post has been edited by galewis: Jul 13 2008, 03:35 PM |
pandy |
Jul 13 2008, 04:36 PM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,732 Joined: 9-August 06 Member No.: 6 |
He's saying fix the CSS errors and remove the border you've put on the nested table.
<body bgcolor="#D8ECBC" topmargin="30" style="color: #000000"> <!--msnavigation--><table dir="ltr" border="0" cellpadding="0" cellspacing="0" width="100%"><tr><!--msnavigation--><td valign="top"> <div align="center"> <center> <table border="2" cellspacing="0" width="85%" id="AutoNumber1" bordercolor="#000000" cellpadding="0" height="100%" style="border-collapse: collapse; border-style: solid; border-width: 1"> |
galewis |
Jul 15 2008, 06:40 AM
Post
#7
|
Group: Members Posts: 6 Joined: 10-July 08 Member No.: 6,129 |
AH!!! Thank you so much! That was the fix I was looking for.
|
pandy |
Jul 15 2008, 01:10 PM
Post
#8
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,732 Joined: 9-August 06 Member No.: 6 |
We were hoping you would do something about the errors too.
|
galewis |
Jul 26 2008, 09:22 PM
Post
#9
|
Group: Members Posts: 6 Joined: 10-July 08 Member No.: 6,129 |
When the stars align...
|
galewis |
Jul 26 2008, 09:32 PM
Post
#10
|
Group: Members Posts: 6 Joined: 10-July 08 Member No.: 6,129 |
A quick question... though in asking it I'm stepping outside the topic of the original post.
I have a folder off the root of the site called 'includes.' In there I've put (what else?) the repetitive code that I'm pulling into other pages with #include virtual. One of those includes is an image map: CODE <map name="FPMap0"> <area href="/" shape="rect" coords="0, 33, 162, 76"> <area href="upcoming_events.asp" shape="rect" coords="0, 128, 158, 170"> <area href="links.asp" shape="rect" coords="0, 404, 162, 449"> <area href="auditions.asp" shape="rect" coords="0, 174, 159, 221"> <area href="officers.asp" shape="rect" coords="0, 79, 162, 122"> <area href="teacher_directory.asp" shape="rect" coords="0, 222, 162, 268"> <area href="membership.asp" shape="rect" coords="0, 313, 162, 357"> <area href="auditions_results/index.asp" shape="rect" coords="0, 269, 162, 310"> <area href="membership/login.asp" shape="rect" coords="2, 359, 162, 402"> </map> <img border="0" src="images/new_menu.jpg" usemap="#FPMap0" width="163" height="481"> My question is this: when a virtual include is referenced in a page that's 2 or 3 levels deep (say /membership/directory/file.asp), are the include's links relative to the the location of the /includes/ folder, or are they relative to the folder of the page with the virtual include? (Hope that makes sense...) |
Darin McGrew |
Jul 26 2008, 09:48 PM
Post
#11
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
The browser doesn't know or care about the include directory. All the links are relative to the document the browser requested.
Please see the FAQ entry How can I avoid using the whole URL? |
Lo-Fi Version | Time is now: 27th April 2024 - 12:02 AM |