Return to iWEBTOOL

Go Back   iWEBTOOL Talk > The Web and your Website > Programming > HTML
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
Welcome to iWEBTOOL Talk, where you talk about webmaster-related stuff.
 
Discuss topics which interest you.
With over thousands of threads (topics), we're sure you'll find something that'll interest you.
Ask for help whenever you need it.
We have thousands of members who are available to help you if you need it.
It's absolutely FREE!

 1  Register           2  Browse the board           3  Discuss whatever may interest you!
 


Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 09-02-2006, 01:17 AM   #1
compuXP
Retired Member
 
compuXP's Avatar
 
Join Date: Dec 2005
Posts: 139
compuXP will become famous soon enough
Exclamation HTML Ghost - I need some exterimators, quick!

Hey,

I'm coding a website right now and I'm having -WEIRD- unexplainable code errors.

I have a page with 2 identical tables placed within it. The tables have different content but just text.

IN FIREFOX:

Only with these two tables, a <tbody> tag is added between <table> and <tr> tags... and the proper closing tag also nested properly between </tr> and </table>. I never used this tag in my code anywhere. Heck, I dun even know what it does!

Here's the REALLY weird part:

Somehow, magically in Firefox, about 60% of the time, it will take an <a> tag and move its closing tag around... to odd locations like just after the <a> tag or in the middle of another <tr> .... and it really messes up the design of my page, since I have essentially:

<a>
<table>
(etc)
</table>
</a>

It's taking that </a> and putting it like:

<a></a>
<table>
(etc)
</table>

OR

<a>
<table>
<tbody><tr></a></tr>
(etc)
</table>


...notice the <tbody>, as it always seems to insert that. ALWAYS. But it only moves the <a> tag to random locations at random times.

So anybody have any ideas or do I need to call ghostbusters?

Thanks for any help,
-Matt
__________________
Retired Moderator/Member/Friend/Helper - it was great working with all of you!
compuXP is offline  
 
This is an Ad Revenue Sharing forum Place your advert here
SEO Checklist
Get yourself better ranking with
our "Do-it-Yourself" SEO Checklist.
Click Here
Old 09-02-2006, 02:04 AM   #2
compuXP
Retired Member
 
compuXP's Avatar
 
Join Date: Dec 2005
Posts: 139
compuXP will become famous soon enough
Default Re: HTML Ghost - I need some exterimators, quick!

Update: I've solved the problem by re-writing how it's coded. But... if anybody has any ideas, I still prefer my other method best. (Please don't scold me for embedding a table in an <a> tag, I have my reasons.)...
__________________
Retired Moderator/Member/Friend/Helper - it was great working with all of you!
compuXP is offline  
Old 09-02-2006, 11:51 AM   #3
rohan2kool
Member
 
rohan2kool's Avatar
 
Join Date: Dec 2005
Posts: 132
rohan2kool will become famous soon enough
Default Re: HTML Ghost - I need some exterimators, quick!

i am sorry... but i have to scold you for using tables within ur <a></a> elements. you should not really use it. BECUASE the XHTML 1.0 Transitional DTD does not allow the <table> tag to be within <a> tag. That's for ur benefit.

Check this: http://www.imageshacked.com/uploads/a600249340.png

Please don't scold me for scolding him when he said not to scold him
__________________
Eat healthy, Stay Fit, Die Anyway.
--==--
If there is a man who knows everything about women, there is a Windows distribution without bugs.
rohan2kool is offline  
Old 09-02-2006, 02:49 PM   #4
compuXP
Retired Member
 
compuXP's Avatar
 
Join Date: Dec 2005
Posts: 139
compuXP will become famous soon enough
Default Re: HTML Ghost - I need some exterimators, quick!

Lol rohan, I'm not going for that right now, in fact this won't even be published online. It doesn't need to be compliant, it's used for a local purpose.

Any good ideas then or am I just gonna get lectured? Lol
__________________
Retired Moderator/Member/Friend/Helper - it was great working with all of you!
compuXP is offline  
 
This is an Ad Revenue Sharing forum Place your advert here
Webmaster Tools Webmaster Tools Click Here
Closed Thread

(Threads which have no activity for more than 30 days are automatically closed.)



Quick Reply
Message:

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

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Who wants to make a 50% profit real quick? MrAlan General Talk 16 11-05-2006 09:07 PM
A quick hello ;) Lilly Introduce yourself 12 09-17-2006 06:06 PM
a quick hello bentong Introduce yourself 4 12-30-2005 12:50 AM


All times are GMT. The time now is 09:27 PM.


Powered by vBulletin v3.6.7 © 2008, Jelsoft Enterprises Ltd. SEO by vBSEO © 2006, Crawlability, Inc.