Please Help... I Have Problems with a...

User 2388388 Photo


Registered User
129 posts

Hi everyone,

I've been working on cleaning up some HTML errors on my site and have come across a page that is punishing me. (I spent all day yesterday and half of today on it so far)

On this page: http://classifieds.your-adrenaline-fix. … ;TypeID=42

I am getting these errors: http://validator.w3.org/check?uri=http% … ator%2F1.3

The ones that most concern me right now are the errors on line 132 where the validator says: document type does not allow element "TD" here; assuming missing "TR" start-tag

Like I said, I have spent ALL DAY yesterday on this and already half a day today and am s.t.u.m.p.e.d.

If anyone could so kindly take a look at this, I'd be most appreciative and I do thank you all in advance.

BTW, I thought I had this figured out when I saw a new <tr> starting within a <tr> when it wasnt closed (as can be seen just following the Google Maps Iframe tag) but when I close this with a </td></tr> I get even more errors. What's up with that????

Anyways... I'll be working on trying to crack this but if anyone that knows what to look for could take a look at this I'd be MOST APPRECIATIVE and I do thank you all again!!

Stuart K
User 2388388 Photo


Registered User
129 posts

UPDATE: Wow... As soon as I wrote this I went back in and "Saw It" and I fixed it. YAYYYYY!!

Thanks go out to this wonderful forum none-the-less
User 2073552 Photo


Registered User
1,625 posts

You just had to write the issue down and look at what you were trying to figure out! Congrats on figuring it out! Keep up the good work!
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
User 2388388 Photo


Registered User
129 posts

Hi Sirage, I was thinking the same... problem is: Now I have a new problem which I wrote another post about around an hour ago.

Even after writing it down and looking at it and looking at it some more I still can't crack it.

If you view /login.php or add_help.php in IE you'll see what I mean... (The LH Navigation and RH Column goes crazy and extends into the center column)


If you have any clue as to what is causing this I'd be most grateful if you would share it with me

I Thank You again
User 2388388 Photo


Registered User
129 posts

Update:

Hi everyone,

I'm hoping that with my investigating (and your minds) we can crack this.

Here's what i've noticed:

On pages such as: http://classifieds.your-adrenaline-fix.com/

or:
/browse.php?fatherID=1
/view_all.php
/detail.php?fatherID=39&ListingID=50&TypeID=42 among several others things display properly but when going to other pages such as those posted below (among many others) things go bezerk.

/login.php
/search.php
/register.php


Now if I could just figure out what is changing between these pages I think I'd have it made as Im sure there is one central thing that is making the change in display. Problem is I don't have a clue.

If anyone could so kindly share any ideas on this i'd be most appreciative and I thank you in advance.

Stuart K
User 187934 Photo


Senior Advisor
20,271 posts

Try wrapping that <td> in it's own div so you can control it better. You should be able to apply some padding to force the inner elements away from the outside.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2388388 Photo


Registered User
129 posts

Hi Rolly,

I really appreciate your help but I'm not quite sure what to do.

If you could show me an example of wrapping that <td> in a div I'd be most appreciative.

Would it be like this: <div class="160Content"><td>incude file</td></div>

Then in the CSS file add: .160Content {width:160px;}

Is that what you mean??

Thanks again!!
User 2388388 Photo


Registered User
129 posts

Also... and BTW I already have the width of this <td> specified inline so will wrapping a div around it do anything??

I just thought I'd add this incase you didn't see that I had the <td> width specified like this <td width=160px>

I was thinking that since the pages appear fine across all browsers with the exception of some pages that something is changing. (that these other pages are knocking things out of whack)

I thank you again and I do look forward to your thoughts on this.
User 187934 Photo


Senior Advisor
20,271 posts

Try

<td class="whatever">

.whatever{

padding-left:15px;
}
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2733 Photo


Ambassador
426 posts

This might prove useful...

CSS : the difference between padding and margin
Let's not get all hurt.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.