Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem displaying in Firefox...

Status
Not open for further replies.

misscookie

Technical User
Joined
Jan 21, 2005
Messages
4
Location
US
I'm not using external style sheets or anything, they're all written into the page, so that's not the problem... my journal is here:
It works perfectly in IE, but the main image doesn't show up in Firefox. I don't have a clue what I did wrong, since the same coding in other journals displays fine. :/
 
I can't stress enough how important a complete doctype is. I suggest you add one, then use a css validator (here). There are many quirks in your CSS that are most likely causing the browsers to display things differently.

*cLFlaVA
----------------------------
[tt]tastes great, less filling.[/tt]
 
Well, I'm nowhere near an expert, so all that is a little over my head. I'll read up on it though.
 
I completely understand. However, it's very possible that the quirks are leading to your image not displaying in Firefox. The only reason it would seem "correct" in IE is because IE wreaks havoc on standards.

*cLFlaVA
----------------------------
[tt]tastes great, less filling.[/tt]
 
Haha, very true. I was anticipating that my coding was going to be the problem, I was just hoping it wasn't too difficult to fix within say... a few days. The validators are helping a bit, but then again, I don't have the slightest clue how to fix some of them. It's probably time for me to take a real programming class. :/
 
well, add a complete doctype, then re-post. it's easier for us to help you when we know what's wrong. it won't take more than an hour or two to fix.

*cLFlaVA
----------------------------
[tt]tastes great, less filling.[/tt]
 
I have limited control over what code I get to put in the document, since this is just a journal service. I wouldn't be able to put a doctype in the first line because I don't get permission to edit the actual file. But I looked at the source code of the normal page, and it has
Code:
<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
in the first line... is that what I'm looking for?

Also, in the HTML validator, I found what I thought might be the problem... I just don't have a clue how to fix it. It's talking about the image that isn't displaying in Firefox:

Line 230, column 100: document type does not allow element "IMG" here; assuming missing "CAPTION" start-tag

Code:
<img src="[URL unfurl="true"]http://www.geocities.com/xxvisualchaosxx/other/ljlayout-ss-main.jpg"[/URL] class="x">
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top