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

Reply

Join Date: Feb 2007
Posts: 26
Reputation: poslanik is an unknown quantity at this point 
Solved Threads: 0
poslanik poslanik is offline Offline
Light Poster

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

 
0
  #1
Apr 23rd, 2007
Hi,

I made a few links that lead to another page on my website but each to a different anchor and when I click in Firefox on one of the links my whole page gets cropped on the destination page. Everything before the anchor is hidden. Please help me! Visit the source file link with Firefox and click on one of the three links in the dashed div space.

Source file address: http://learn-croatian.com/apdejt
Destionation file address: http://learn-croatian.com/apdejt/usluge.php

Here's the code I used for making anchors on the destination page (it's named usluge.php):

HTML and CSS Syntax (Toggle Plain Text)
  1. ...<span class="naslov_blok"><a name="prijevod">professional translations</a></span>...

And here's the link I used on the source file:

HTML and CSS Syntax (Toggle Plain Text)
  1. ...<small><a href="usluge.php#prijevod">read more</a></small>...

Here is a screenshot of the problem:

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

Thank you in advance!
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 164
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

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

 
0
  #2
Apr 24th, 2007
It works OK in HTML files.

Need more info:
- What does the class in the span tag do?
- Is part of your page dynamically formed?
- Did you forget to close a tag above the span tag?
- Is there a change caused by the use of php.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 26
Reputation: poslanik is an unknown quantity at this point 
Solved Threads: 0
poslanik poslanik is offline Offline
Light Poster

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

 
0
  #3
Apr 24th, 2007
Hi.

The style:

HTML and CSS Syntax (Toggle Plain Text)
  1. .naslov_blok {font-variant:small-caps;letter-spacing:1px;font-weight:bold;}

- Nothing is dinamically formed but I use php includes.

- No, as far as divs and spans go because it would mess up my layout.

- Like I said I use includes, only that.
Last edited by poslanik; Apr 24th, 2007 at 1:03 pm. Reason: typo
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 14
Reputation: bosko is an unknown quantity at this point 
Solved Threads: 0
bosko bosko is offline Offline
Newbie Poster

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

 
0
  #4
Apr 24th, 2007
There are some warnings in Firefox about closing div tags in your pages. Maybe try to fix that....
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 26
Reputation: poslanik is an unknown quantity at this point 
Solved Threads: 0
poslanik poslanik is offline Offline
Light Poster

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

 
0
  #5
Apr 24th, 2007
Could you tell me how to check for that myself? I'm guessing with the web developer extension somehow?
Reply With Quote Quick reply to this message  
Join Date: Apr 2007
Posts: 16
Reputation: connor4312 is an unknown quantity at this point 
Solved Threads: 0
connor4312's Avatar
connor4312 connor4312 is offline Offline
Newbie Poster

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

 
0
  #6
Apr 24th, 2007
Im not very good with anchors, but im pretty sure the anchor link is incorrect. try to make the link go to that page, but use cookies to redirect to the section when the page loads.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 26
Reputation: poslanik is an unknown quantity at this point 
Solved Threads: 0
poslanik poslanik is offline Offline
Light Poster

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

 
0
  #7
Apr 24th, 2007
I've checked several sites that use anchors and my code if flawless. It's nothing complicated, 2 tags and that's it.

Plus I can't code what you said. I'm guessing it's a css thing but I need to find that loose div tag.

Bosko could you please tell me how did Firefox tell you that there are unclosed div tags?
Last edited by poslanik; Apr 24th, 2007 at 6:01 pm.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 14
Reputation: bosko is an unknown quantity at this point 
Solved Threads: 0
bosko bosko is offline Offline
Newbie Poster

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

 
0
  #8
Apr 24th, 2007
Zdravo poslanik!
When open your page in Firefox press ctrl+u to see page code and then you will see all warnings (not just about divs).
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 26
Reputation: poslanik is an unknown quantity at this point 
Solved Threads: 0
poslanik poslanik is offline Offline
Light Poster

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

 
0
  #9
Apr 25th, 2007
Hvala

But I haven't noticed any warnings, just code. I opened the code of the index page and of the page where the anchors are situated.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 14
Reputation: bosko is an unknown quantity at this point 
Solved Threads: 0
bosko bosko is offline Offline
Newbie Poster

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

 
0
  #10
Apr 25th, 2007
You have to install a Firefox plugin HTML validator TIDY(tools->plugin).
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC