CSS/HTML code not working in FireFox..., but working in Internet Explorer |
CSS/HTML code not working in FireFox..., but working in Internet Explorer |
echris1015 |
Jul 3 2008, 12:09 AM
Post
#1
|
Newbie Group: Members Posts: 16 Joined: 3-July 08 Member No.: 6,052 |
Here is a sample with what I'm working with...
http://www.angelfire.com/oh5/rwb/DVD/ECW.html The top table row is meant to show up with a blue background, the second with a gray background, and the third with a blue background. If you look at the page in IE, it shows up fine. Firefox, not so much. It worked in Firefox for a few days, then went all white where I had the colors previously. If I need to copy/paste/clip anything, please let me know if that would be easier. Also, I barely know CSS code as it is, and I used the majority of this code from another site (with permission), tweaking it to my needs. |
Darin McGrew |
Jul 3 2008, 12:59 AM
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 reported by our online validator. There are a lot of structural problems.
|
echris1015 |
Jul 3 2008, 09:25 AM
Post
#3
|
Newbie Group: Members Posts: 16 Joined: 3-July 08 Member No.: 6,052 |
I recommend that you start by fixing the markup errors reported by our online validator. There are a lot of structural problems. I have no idea where to even begin. Like I said in the original post, I borrowed the code and made minor tweaks. I'm not asking for someone to critique the entire thing and tell me how horrible the code is, just asking for someone to fix the minor problem I'm having. I mean, if someone wants to fix it, fine by me, but there's no way I'd even know what to do to fix the errors. This post has been edited by echris1015: Jul 3 2008, 10:25 AM |
Darin McGrew |
Jul 3 2008, 10:44 AM
Post
#4
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Please see the FAQ entries Where can I learn about HTML? and Where can I learn about CSS?
|
echris1015 |
Jul 3 2008, 10:48 AM
Post
#5
|
Newbie Group: Members Posts: 16 Joined: 3-July 08 Member No.: 6,052 |
Can anyone actually fix the small problem I'm having? I'm not going to learn entire HTML/CSS when I just need one minor problem fixed. If you can't help, that's fine, but please stop telling me to do this and that when what I'm looking for is clearly worded in the first post. Thanks. |
Brian Chandler |
Jul 3 2008, 11:11 AM
Post
#6
|
Jocular coder Group: Members Posts: 2,460 Joined: 31-August 06 Member No.: 43 |
Can anyone actually fix the small problem I'm having? I'm not going to learn entire HTML/CSS when I just need one minor problem fixed. If you can't help, that's fine, but please stop telling me to do this and that when what I'm looking for is clearly worded in the first post. Thanks. Are you prepared to pay? How much? |
echris1015 |
Jul 3 2008, 11:14 AM
Post
#7
|
Newbie Group: Members Posts: 16 Joined: 3-July 08 Member No.: 6,052 |
Can anyone actually fix the small problem I'm having? I'm not going to learn entire HTML/CSS when I just need one minor problem fixed. If you can't help, that's fine, but please stop telling me to do this and that when what I'm looking for is clearly worded in the first post. Thanks. Are you prepared to pay? How much? If you can fix it and clean up the code at the same time, offer an estimate for your services. |
Darin McGrew |
Jul 3 2008, 11:33 AM
Post
#8
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Since echris1015 wants someone else to do the job, rather than learning how to do it, I have moved this thread to "Jobs Seeking Programmers".
|
echris1015 |
Jul 3 2008, 11:54 AM
Post
#9
|
Newbie Group: Members Posts: 16 Joined: 3-July 08 Member No.: 6,052 |
Since echris1015 wants someone else to do the job, rather than learning how to do it, I have moved this thread to "Jobs Seeking Programmers". Yep, because its a smart move telling me to spend days learning complete CSS when I need about five minutes of help from a member here. Last time I checked, it was called HTMLHELP forums - guess they need to change the title. The only help I've gotten was someone saying "Your code has a ton of errors" and a link to learning CSS. Instead of helping, I get the "Go learn yourself" response. If that isn't help, I don't know what is. Also, why was this moved when someone OFFERED to fix the code for a fee, when I didn't request that in the first place at all. If anything, this board does the OPPOSITE of helping. |
Darin McGrew |
Jul 3 2008, 01:14 PM
Post
#10
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
You are not the first person to think that the purpose of the forums is to "provide a code" that does something, or to fix someone's broken web page for them.
However, most of the regulars are more interested in "teaching you to fish" rather than "giving you a fish". If you want to learn about HTML, CSS, etc., or if you want help using the tools, then just ask. But don't be surprised if no one else is interested in helping when you've demonstrated little effort yourself. |
Frederiek |
Jul 3 2008, 01:36 PM
Post
#11
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
I'm sorry you feel like this, echris1015.
Fixing the HTML errors reported by the online validation tools WILL fix you problems, as far as I can see. If you know the basic structure of an HTML page, you don't have to "learn" as much as that. (see http://htmlhelp.com/reference/html40/structure.html#doc, adding that <style> and/or <script> tags go in the HEAD) Darin's absolutely right, I too rather teach you how to fish than give you the fish. |
echris1015 |
Jul 3 2008, 01:47 PM
Post
#12
|
Newbie Group: Members Posts: 16 Joined: 3-July 08 Member No.: 6,052 |
You are not the first person to think that the purpose of the forums is to "provide a code" that does something, or to fix someone's broken web page for them. However, most of the regulars are more interested in "teaching you to fish" rather than "giving you a fish". If you want to learn about HTML, CSS, etc., or if you want help using the tools, then just ask. But don't be surprised if no one else is interested in helping when you've demonstrated little effort yourself. I'm not asking for someone to provide, I'm asking for someone to HELP. I'm not asking for anyone to provide or create anything, I'm asking for someone to look over the code and tell me where I made an error with the ONE problem I was having, explained in the first post. I'm not asking for someone to make code from scratch because I'm too lazy or anything like that. I'm not interesting in learning how to fish, I'm already fishing, but ran into a problem, and need a few minutes of advice. But, that is too much for you, or anyone else to do, apparently, because you're too nice (sarcasm) of a person to take two minutes from your day and offer HELP - that would be fine, but instead of simply not offering help, you've basically told me to screw asking for help and learn yourself. I mean, its pretty easy to sit back, point out my errors, then tell me to go fix those problems without offering a bit of advice other than "learn the code," now isn't it? Must be nice sitting on that high throne. Thanks. Here's hoping next time you need help on something, someone points out your mistakes, but doesn't offer any help. If you asked someone to help in a car repair you did not know how to do, would they request you learn all about the inner workings of the vehicle before they help you? If you wanted to learn how to throw a spiral football instead of a wobbly pass, would they insist you know the entire mechanics of football? No, you wouldn't. You'd try yourself, and when you made a mistake, you'd ask for help it doing it correctly, which is no different then what I'm doing here. |
echris1015 |
Jul 3 2008, 01:51 PM
Post
#13
|
Newbie Group: Members Posts: 16 Joined: 3-July 08 Member No.: 6,052 |
I'm sorry you feel like this, echris1015. Fixing the HTML errors reported by the online validation tools WILL fix you problems, as far as I can see. If you know the basic structure of an HTML page, you don't have to "learn" as much as that. (see http://htmlhelp.com/reference/html40/structure.html#doc, adding that <style> and/or <script> tags go in the HEAD) Darin's absolutely right, I too rather teach you how to fish than give you the fish. I went through the validation tool, printed out what needed to be fixed, and then was entirely confused by the error reports given on most of the lines. I mean, for example, it simply says "element not allowed here" - okay, that's fine, but I have no idea where to put it so it would be correct. Etc. For example, I move the all of the style and script tags in the HEAD section, and it completely screws with the format of the page. This post has been edited by echris1015: Jul 3 2008, 01:54 PM |
Darin McGrew |
Jul 3 2008, 02:28 PM
Post
#14
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Here's an explanation of your current markup errors:
CODE Error: missing document type declaration; assuming HTML 4.01 Transitional It's missing. See the FAQ entry What is a DOCTYPE? Which one do I use?CODE Warning: net-enabling start-tag; possibly missing required quotes around an attribute value You're using XHTML syntax in an HTML document. If you aren't using XHTML, then don't use the <tag/> format. Just use the <tag> format.CODE Error: element ... not allowed here; check which elements this element may be contained within The META, LINK, and STYLE elements belong in the HEAD, not in the BODY.CODE Error: required attribute TYPE not specified Use <style type="text/css"> rather than just <style>.CODE Error: element BODY not allowed here; check which elements this element may be contained within You can have only one <body> tag, not two.CODE Error: end tag for element STYLE which is not open; try removing the end tag or check for improper nesting of elements You've got an extra </style> tag.CODE Error: end tag for element HEAD which is not open; try removing the end tag or check for improper nesting of elements The HEAD element is closed automatically when the BODY starts. You've got a </head> tag after the second <body> tag.CODE Warning: net-enabling start-tag; possibly missing required quotes around an attribute value It looks like you're using <b/> as a synonym for <b></b>, which works (but is meaningless) in XHTML, but which is broken in HTML. Just delete it.Error: end tag for B omitted; possible causes include a missing end tag, improper nesting of elements, or use of an element where it is not allowed Error: end tag for B omitted; possible causes include a missing end tag, improper nesting of elements, or use of an element where it is not allowed CODE Error: end tag for ... omitted; possible causes include a missing end tag, improper nesting of elements, or use of an element where it is not allowed You are missing </table> and </div> tags. |
echris1015 |
Jul 3 2008, 03:15 PM
Post
#15
|
Newbie Group: Members Posts: 16 Joined: 3-July 08 Member No.: 6,052 |
Thanks for helping. I fixed the errors so that no errors appear on the validator when I run it through. I was unsure if I used the right DOC TYPE so I used the one the validator assumed I was using.
But, the color error I'm having explained in the first thread still isn't corrected and I can't figure it out. |
echris1015 |
Jul 3 2008, 03:38 PM
Post
#16
|
Newbie Group: Members Posts: 16 Joined: 3-July 08 Member No.: 6,052 |
And now the problem is both in IE and FireFox. Ugh.
|
pandy |
Jul 3 2008, 03:53 PM
Post
#17
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,733 Joined: 9-August 06 Member No.: 6 |
What is supposed to make those colors happen? I didn't look at your CSS, but (the TDs in) the three first rows have the same classes attached to them, so I don't see how they could have different background colors.
HTML <tr><td class=hd><p style='height:16px;'>.</td> <td class='g s5'>Battle of the Belts (1/23/93) <td class='g s6'>1 <td class='g s6'>Handheld <td class='g s6'>VG <td class='g s6'> <tr><td class=hd><p style='height:16px;'>.</td><td class='g s5'>Summer Sizzler (6/19/93) <td class='g s6'>1 <td class='g s6'>ECW Home Video <td class='g s6'>VG <td class='g s6'> <tr><td class=hd><p style='height:16px;'>.</td><td class='g s5'>Ultra Clash (9/18/93) <td class='g s6'>1 <td class='g s6'>ECW Home Video <td class='g s6'>VG/EX <td class='g s6'> |
echris1015 |
Jul 3 2008, 03:57 PM
Post
#18
|
Newbie Group: Members Posts: 16 Joined: 3-July 08 Member No.: 6,052 |
What is supposed to make those colors happen? I didn't look at your CSS, but (the TDs in) the three first rows have the same classes attached to them, so I don't see how they could have different background colors. HTML <tr><td class=hd><p style='height:16px;'>.</td> <td class='g s5'>Battle of the Belts (1/23/93) <td class='g s6'>1 <td class='g s6'>Handheld <td class='g s6'>VG <td class='g s6'> <tr><td class=hd><p style='height:16px;'>.</td><td class='g s5'>Summer Sizzler (6/19/93) <td class='g s6'>1 <td class='g s6'>ECW Home Video <td class='g s6'>VG <td class='g s6'> <tr><td class=hd><p style='height:16px;'>.</td><td class='g s5'>Ultra Clash (9/18/93) <td class='g s6'>1 <td class='g s6'>ECW Home Video <td class='g s6'>VG/EX <td class='g s6'> The code right before you started the copy/paste has a td that spans the five rows and it class g s4, which includes a blue background and white lettering. There are also some others before that have background colors as well. Those TDs you posted are actually like the fourth ones down on the page and in the code - there are no colors in those that you posted - there aren't supposed to be. This post has been edited by echris1015: Jul 3 2008, 03:58 PM |
pandy |
Jul 3 2008, 04:03 PM
Post
#19
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,733 Joined: 9-August 06 Member No.: 6 |
I'm confused now. So which rows are supposed to have diferent colors? You first said the first, second and third.
|
echris1015 |
Jul 3 2008, 04:15 PM
Post
#20
|
Newbie Group: Members Posts: 16 Joined: 3-July 08 Member No.: 6,052 |
I'm confused now. So which rows are supposed to have diferent colors? You first said the first, second and third. Yeah, that hasn't changed. The first, second, and third are supposed to have colors. You started copy/pasting with fourth row on the page, which is white. |
Lo-Fi Version | Time is now: 28th April 2024 - 10:13 AM |