User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the HTML and CSS section within the Web Development category of DaniWeb, a massive community of 397,819 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,622 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 2746 | Replies: 24
Reply
Join Date: Jan 2007
Posts: 2,524
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 105
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Anchoring problem in Firefox, it crops my browser after clicking the link

  #11  
Apr 26th, 2007
This willl tell you where code errors are.

The W3C Markup Validation Service
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Feb 2007
Location: Croatia
Posts: 26
Reputation: poslanik is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
poslanik poslanik is offline Offline
Light Poster

Re: Anchoring problem in Firefox, it crops my browser after clicking the link

  #12  
Apr 27th, 2007
So I've installed this addon called Html validator version 0.8.3.9 and it told me that 3 divs needn't be there. I removed them but the problem hasn't gone away.

This is one of the few bugs which inflict only Firefox... very rare.

I guess nobody else has any ideas on how to fix it?
Reply With Quote  
Join Date: Jan 2007
Posts: 2,524
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 105
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Anchoring problem in Firefox, it crops my browser after clicking the link

  #13  
Apr 27th, 2007
Dumb question, but does this page use a lot of browser cache?
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Jan 2007
Posts: 2,524
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 105
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Anchoring problem in Firefox, it crops my browser after clicking the link

  #14  
Apr 27th, 2007
I found the trouble.

You have the charset declared as utf-8, but the validator says there are characters which are not utf-8.
Last edited by MidiMagic : Apr 27th, 2007 at 9:54 pm.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Feb 2007
Location: Croatia
Posts: 26
Reputation: poslanik is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
poslanik poslanik is offline Offline
Light Poster

Troubleshooting Re: Anchoring problem in Firefox, it crops my browser after clicking the link

  #15  
Apr 28th, 2007
I know, but that's of little help. I used that firefox html validator add-on and look what it said:

http://learn-croatian.com/svasta/skrin.jpg

So I'm guessing that those & in the links are causing the problem to w3c's validator. However, if that was the case I don't know how anyone would be able to validate their sites...

And remember, everything is fine in IE and Opera.

P.S. I've changed all & to & but the problem wasn't fixed. There was also the copyright sign at the beginning of the file because of which you couldn't validate the page. I've removed this and it's now possible to do so. Try to validate it again please, maybe this time you'll find more info.
Reply With Quote  
Join Date: Jan 2007
Posts: 14
Reputation: bosko is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
bosko bosko is offline Offline
Newbie Poster

Re: Anchoring problem in Firefox, it crops my browser after clicking the link

  #16  
Apr 28th, 2007
I copyed your code to my computer and anchors are working! in Firefox. Ofcourse I don't see any images, css or js which means that your problem is in css or js codes. Try to check this, change it untill you don't find solution. It's there.
Reply With Quote  
Join Date: Jan 2007
Posts: 2,524
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 105
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Anchoring problem in Firefox, it crops my browser after clicking the link

  #17  
Apr 28th, 2007
  1. Error Line 90 column 30: there is no attribute "ALIGN".
    You have used the deprecated attribute named above in your document.
  2. Warning Line 110 column 79: cannot generate system identifier for general entity "af_id".
    The most common cause of this error is unencoded ampersands in URLs. Keep in mind that named entity references are case-sensitive; &Aelig; and æ are different characters
  3. Error Line 110 column 79: general entity "af_id" not defined and no default entity.
  4. Error Line 110 column 84: reference to entity "af_id" for which no system identifier could be generated.
  5. Info Line 110 column 78: entity was defined here.
  6. Warning Line 110 column 90: cannot generate system identifier for general entity "action".
  7. Error Line 110 column 90: general entity "action" not defined and no default entity.
  8. Error Line 110 column 96: reference to entity "action" for which no system identifier could be generated.
  9. Info Line 110 column 89: entity was defined here.
  10. Warning Line 110 column 105: cannot generate system identifier for general entity "loc_id".
  11. Error Line 110 column 105: general entity "loc_id" not defined and no default entity.
  12. Error Line 110 column 111: reference to entity "loc_id" for which no system identifier could be generated.
  13. Info Line 110 column 104: entity was defined here.
  14. Error Line 110 column 129: there is no attribute "BORDER".
    You have used the deprecated attribute named above in your document.
  15. Error Line 110 column 146: required attribute "ALT" not specified.The attribute given above is required for an element that you've used, but you have omitted it.
  16. Error Line 114 column 10: there is no attribute "TARGET".
    You have used the deprecated attribute named above in your document.
  17. Warning Line 118 column 64: cannot generate system identifier for general entity "A".
  18. Error Line 118 column 64: general entity "A" not defined and no default entity.
  19. Error Line 118 column 65: reference to entity "A" for which no system identifier could be generated.
  20. Info Line 118 column 63: entity was defined here.
  21. Warning Line 118 column 70: cannot generate system identifier for general entity "Task".
  22. Error Line 118 column 70: general entity "Task" not defined and no default entity.
  23. Error Line 118 column 74: reference to entity "Task" for which no system identifier could be generated.
  24. Info Line 118 column 69: entity was defined here.
  25. Error Line 118 column 175: reference to entity "A" for which no system identifier could be generated.
  26. Info Line 118 column 63: entity was defined here.
  27. Error Line 118 column 184: reference to entity "Task" for which no system identifier could be generated.
  28. Info Line 118 column 69: entity was defined here.
  29. Warning Line 122 column 65: cannot generate system identifier for general entity "u".
  30. Error Line 122 column 65: general entity "u" not defined and no default entity.
  31. Error Line 122 column 66: reference to entity "u" for which no system identifier could be generated.
  32. Info Line 122 column 64: entity was defined here.
  33. Warning Line 122 column 74: cannot generate system identifier for general entity "m".
  34. Error Line 122 column 74: general entity "m" not defined and no default entity.
  35. Error Line 122 column 75: reference to entity "m" for which no system identifier could be generated.
  36. Info Line 122 column 73: entity was defined here.
  37. Warning Line 122 column 82: cannot generate system identifier for general entity "urllink".
  38. Error Line 122 column 82: general entity "urllink" not defined and no default entity.
  39. Error Line 122 column 89: reference to entity "urllink" for which no system identifier could be generated.
  40. Info Line 122 column 81: entity was defined here.
  41. Warning Line 122 column 91: cannot generate system identifier for general entity "afftrack".
  42. Error Line 122 column 91: general entity "afftrack" not defined and no default entity.
  43. Error Line 122 column 99: reference to entity "afftrack" for which no system identifier could be generated.
  44. Info Line 122 column 90: entity was defined here.
  45. Error Line 122 column 166: required attribute "ALT" not specified.
  46. Warning Line 126 column 59: cannot generate system identifier for general entity "LinkName".
  47. Error Line 126 column 59: general entity "LinkName" not defined and no default entity.
  48. Error Line 126 column 67: reference to entity "LinkName" for which no system identifier could be generated.
  49. Info Line 126 column 58: entity was defined here.
  50. Error Line 126 column 146: required attribute "ALT" not specified.
  51. Error Line 142 column 65: required attribute "ALT" not specified.
  52. Error Line 150 column 11: element "CENTER" undefined.
    You have used the deprecated tag named above in your document.
  53. Error Line 152 column 227: required attribute "ALT" not specified.
  54. Error Line 160 column 9: ID "INFO" already defined.An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
  55. Info Line 140 column 9: ID "INFO" first defined here.
  56. Error Line 162 column 107: required attribute "ALT" not specified.
  57. Error Line 172 column 9: ID "INFO" already defined.
  58. Info Line 140 column 9: ID "INFO" first defined here.
  59. Error Line 174 column 106: required attribute "ALT" not specified.
  60. Error Line 266 column 38: document type does not allow element "A" here; missing one of "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag.The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned.
    One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
  61. Error Line 267 column 127: required attribute "ALT" not specified.
  62. Error Line 268 column 10: end tag for "NOSCRIPT" which is not finished.Most likely, You nested tags and closed them in the wrong order. Another possibility is that you used an element which requires a child element that you did not include.
  63. Error Line 281 column 5: end tag for element "DIV" which is not open.
  64. Error Line 281 column 11: end tag for element "DIV" which is not open.
  65. Error Line 281 column 17: end tag for element "DIV" which is not open.
  66. Error Line 292 column 56: there is no attribute "ALIGN".
    You have used the deprecated attribute named above in your document.
I think your page problem is caused by multiple uses of the same id. Substitute class for id and put a . where you have the # in your style sheet.

Many of the errors are unescaped & symbols.
Last edited by MidiMagic : Apr 28th, 2007 at 4:02 pm.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Feb 2007
Location: Croatia
Posts: 26
Reputation: poslanik is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
poslanik poslanik is offline Offline
Light Poster

Re: Anchoring problem in Firefox, it crops my browser after clicking the link

  #18  
Apr 28th, 2007
Thanks Boško, thanks everyone.

I've tried replacing id with class but no help I've also tried changing & with &amp; but no help. I've virtually tried everything the validator told me to fix.

I just can't figure this one out.
Reply With Quote  
Join Date: Jan 2007
Posts: 2,524
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 105
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Anchoring problem in Firefox, it crops my browser after clicking the link

  #19  
Apr 28th, 2007
Originally Posted by poslanik View Post
Thanks Boško, thanks everyone.

I've tried replacing id with class but no help I've also tried changing & with &amp; but no help. I've virtually tried everything the validator told me to fix.

I just can't figure this one out.


Why didn't you leave them replaced?

If you make the indicated changes, then we can try the validator again.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Apr 2008
Posts: 4
Reputation: BrainSeller is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
BrainSeller BrainSeller is offline Offline
Newbie Poster

Re: Anchoring problem in Firefox, it crops my browser after clicking the link

  #20  
Apr 21st, 2008
I've same problem on http://blog.brainsellers.de, so please post the solution if you found it.

The site validates just fine, also does the css.
you can watch the problem by clicking on a comment link for example ("Kommentar" in german).
What puzzles me most is that, if you view the source on a cropped page the whole code is there. firefox just doesn't show it anymore.

edit: sorry for waking up that old thread, but it was also posted in april and i didn't recognize the year
and after there is still no solution posted i think it's still actuall (at least it is for me)

ps: sorry for any mistakes in my english, i'm not a native speaker.
Last edited by BrainSeller : Apr 21st, 2008 at 9:44 am.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb HTML and CSS Marketplace
Thread Tools Display Modes

Other Threads in the HTML and CSS Forum

All times are GMT -4. The time now is 6:42 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC