Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Closed Thread
Old 12-01-2009, 04:12 AM Strange html problem
Novice Talker

Posts: 5
Trades: 0
Hello to everyone.
I have very strange problem with html. This is the page link
www mrgole net/Mobiflirt

When you open the page the secound image field in main content is empty, but when you refresh and wait 1 sec, repeating this until the picture is showen. I really don't know whay this is happening.

And I also noticed with firebug when picture is displayed html code is ok, but when the picture isn't the html code add ''href'' tags.

Example:
This is the right code when picture is dispayed:
Quote:
<div id="content_box">
<a href="#">
<div id="box_img">
</div>
<div id="box_title">
<span class="name_title">JanjaXxX</span><br> <br> <br>
<span class="p_content">Starost: 23 let Regija: Dolenjska išče moškega
</span>
</div>
</a>
</div>
And this is the code when picture is not dispayed, and browser or somebody adds the new ''href'' tag.

Quote:
<div id="content_box">
<a href="#"> </a>
<div id="box_img">
</div>
<a href="#"> </a>
<div id="box_title">
<span class="name_title">JanjaXxX</span><br> <br> <br>
<span class="p_content">Starost: 23 let Regija: Dolenjska išče moškega
</span>
</div>
<a href="#"> </a>
</div>
If someone have the solution or the same problem please post.

The problem only expose in Firefox.

Last edited by wotan318; 12-01-2009 at 05:51 AM..
wotan318 is offline
View Public Profile
 
 
Register now for full access!
Old 12-01-2009, 04:19 AM Re: Strange html problem
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,382
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Clear your browser cache.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 12-01-2009, 05:43 AM Re: Strange html problem
Novice Talker

Posts: 5
Trades: 0
This is not the problem with my computer (cache, etc.), because on other computer (yours) is the same. I forgot to mention that on localhost works perfect.
wotan318 is offline
View Public Profile
 
Old 12-01-2009, 05:58 AM Re: Strange html problem
Super Talker

Posts: 139
Name: John Davis
Trades: 0
it looks like there is browser "features".
I recomend you to replace <a> by div with style="cursorointer"

Actually, <a> must contains only text and images (not div and etc.)
__________________
»
Please login or register to view this content. Registration is FREE
- Interactive maps for websites
»
Please login or register to view this content. Registration is FREE
for web developers
MapMaster is offline
View Public Profile Visit MapMaster's homepage!
 
Old 12-01-2009, 06:15 AM Re: Strange html problem
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,382
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by wotan318 View Post
This is not the problem with my computer (cache, etc.), because on other computer (yours) is the same. I forgot to mention that on localhost works perfect.
Actually I didn't see any "problem" at all. So how you can say that there is a similar "problem" with "my computer" is a little baffling to say the least.

Also if the "problem" only occurs on a remote server and not when running on "localhost" the cause is either a slow server or your internet connection.

And something that adds random links seems more like spyware than anything else.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
View Public Profile Visit chrishirst's homepage!
 
Old 12-01-2009, 07:24 AM Re: Strange html problem
Novice Talker

Posts: 5
Trades: 0
Quote:
Originally Posted by chrishirst View Post
Actually I didn't see any "problem" at all. So how you can say that there is a similar "problem" with "my computer" is a little baffling to say the least.

Also if the "problem" only occurs on a remote server and not when running on "localhost" the cause is either a slow server or your internet connection.

And something that adds random links seems more like spyware than anything else.
Did you refresh it? Because I send to few mates and they have the same problem with Firefox. And I'm no spam.

I will try with pointer.
wotan318 is offline
View Public Profile
 
Old 12-01-2009, 10:18 AM Re: Strange html problem
Skilled Talker

Posts: 79
Location: Devon, England
Trades: 0
I'm seeing the problem you are facing in firefox only. Like mapmaster has said firefox is not liking your <a> tags.

You are not allowed block level objects inside your <a> tags. Wrap them around those images and titles instead of the whole box.

Also you're telling your browser that your Doctype is xhtml strict. However the code is far from it. You have multiple objects with the same id names, your missing parameters and a lot more problems are in there.

Removing your doctype may actually be a quick fix to get the problem resolved but that is bad practice. You should go through your code and make sure it's valid xhtml.
__________________
Please add to my Talkupation if I was helpful. Thanks.


Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
paaaaaaaaaa is offline
View Public Profile Visit paaaaaaaaaa's homepage!
 
Old 12-02-2009, 06:24 AM Re: Strange html problem
Novice Talker

Posts: 5
Trades: 0
Hm...I change the server and everything is ok. WTF ?

I have another problem with IE6 on other web site.

For some reason the backgorund is putted down in IE6 (background square, two light lines, must be between image teaser). Any suggestion?

The website is
Code:
http://www.mrgole.net/EDsolution_typo
.It only works if I delet the menu and the image teaser, but thats not the solution. I tryed changing the css of menu and teaser, even deleted but it was the same. In html coords the image height is 177px, but the background is putted down for 116px and when I deleted the menu from html it was the same.

Any suggestions?

p.s. I didn't correct the IE7, IE8 yet.

Last edited by wotan318; 12-02-2009 at 06:28 AM..
wotan318 is offline
View Public Profile
 
Old 12-02-2009, 09:42 AM Re: Strange html problem
Brian07002's Avatar
Defies a Status

Posts: 2,162
Name: ...
Location: ...
Trades: 0
site loads very slow...I'd work on that first

Good luck
__________________
Made2Own

Please login or register to view this content. Registration is FREE
Brian07002 is offline
View Public Profile
 
Old 12-02-2009, 11:49 AM Re: Strange html problem
Novice Talker

Posts: 5
Trades: 0
Quote:
Originally Posted by Brian07002 View Post
site loads very slow...I'd work on that first

Good luck
I know I will fix that to
wotan318 is offline
View Public Profile
 
Closed Thread     « Reply to Strange html problem
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.54006 seconds with 12 queries