RSS Forums RSS
Please support our HTML and CSS advertiser: Lunarpages Web Hosting
Views: 3223 | Replies: 24
Reply
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

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

  #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):

...<span class="naslov_blok"><a name="prijevod">professional translations</a></span>...


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

...<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!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2007
Posts: 2,640
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 118
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

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

  #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  
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

  #3  
Apr 24th, 2007
Hi.

The style:

.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  
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

  #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  
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

  #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  
Join Date: Apr 2007
Location: FL
Posts: 16
Reputation: connor4312 is an unknown quantity at this point 
Rep Power: 0
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

  #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  
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

  #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  
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

  #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  
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

  #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  
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

  #10  
Apr 25th, 2007
You have to install a Firefox plugin HTML validator TIDY(tools->plugin).
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)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:04 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC