![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Oct 2008
Posts: 2
OS: Win98se
|
I've been getting some strange code from a website (www.chevytalk.com in this case) that seems wrong to me.
The code tags are things like {br /} as well as other places where there is a /} in things like an img tag. Please replace the squiggly brackets with the proper angle brackets as. I don't know if this site allows for the angle brackets in the posting so the squiggly brackets. I'm running Win98se and IE5 and sometimes get missing borders on tables. I checked the code that the forum makes with CSE Validator ver. 2.5000 and got a lot of the / errors with that program. I also am getting nesting errors with the form tag. Any help with this will be appreciated. http://bobmay.astronomy.net is my own website which passes the code tester just for reference. The problem is not there. |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Moderator: Design
Join Date: Oct 2006
Location: Richmond, B.C.; Canada
Posts: 1,463
OS: Windows XP [Version 5.1.2600] SP3 | Ubuntu Jaunty Jackalope | Windows 7 Ultimate (MSDNAA I <3 you)
|
Re: Is this code valid with the latest of HTML tags?
Is the site you have submitted your own site? If not, do you know who is the webmaster of this site?
Asking a webmaster to change his or her coding style can lead to violent conflicts, and flame wars possibly lasting for years. Ask me how I know :). If you can not see anything on the site, then there is a problem that should be addressed by the webmaster or maintenance engineer.
__________________
![]() Validate your Markup Validate your CSS Notepad++ Please use [html], [php], and [code] when posting code or markup. I do not help by Private Message or e-mail. If for some reason I have over-looked a reply to a thread that I have previously replied to, then send me a message. |
|
|
|
|
|
#3 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,884
OS: Vista, various linux distros
|
Re: Is this code valid with the latest of HTML tags?
Hey, as dm01 has said if you wrong a webmaster they can get angry. As for the tags in question it seems they're just xhtml compatible e.g: with xhtml every tag must be closed properly, if it has no data between it and it's end-tag the end tag can be dropped and the first-tag can have /> at the end.
So things like <br />, <link ... /> and <img ... /> become very common because the tags aren't supposed to contain anything other than attributes(note that ... is where the attributes would be, and "..." randomly in your tag would be incorrect). As for the website in question i'm in school and can't view it right now(my school has a paranoid proxy), if it's not W3C correct it doesn't usually matter a great deal, if theres something visibly wrong/buggy with the site that's usually an alright time to e-mail the webmaster. Cheers, Jamey |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Join Date: Oct 2008
Posts: 2
OS: Win98se
|
Re: Is this code valid with the latest of HTML tags?
Jamey, thanks for your prompt reply.
I'm talking with the maintenence people there at the chevytalk site. The problem, as I noted in my previous post, is that sometimes the borders don't appear on a page around the posting text and this happens occasionally and has been reported by others to the site. When this happens, the table cell that should have the border also widens to something much wider. IN addition, sometimes a particular cell won't have the border around the text like it should. You'll note on this site (and this thread), every post to the thread has a border around it. It appears, by a quick inspection, that there is the attribute of "border='1'" in the cell tag. Imagine that this sometimes doesn't happen which is the problem with the Chevytalk site. What is interesting is that the same code can sometimes produce the borders so it is apparently something wrong with the code that IE5 and IE6 (as reported by others) fail to sometimes interpet corerctly. I've never seen the / in the trailing position ss I noted above so that was the prelimiinary question. CSE Validator calls it an error (not a lesser warning) and I've never used the tags that way. Like you say, that probably isn't the big problem here but it, according to the validation program, is reported as incorrect code. I don't know exactly how that appears as the code shouldn't be there. I'll also note to dm01 that I'm not trying to change the format of the website but rather just trying to get the code to be right. There is still the problem of nesting errors in the code. This may be where the code needs to be fixed. I will note that several years ago, the format was last changed which is of no real bother to me. The site does now get advertising revenue from the several advertizers which I have no complaint about - it just takes longer to load a page and that is something that I can't complain about. Thanks for the replies. |
|
|
|
|
|
#5 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,884
OS: Vista, various linux distros
|
Re: Is this code valid with the latest of HTML tags?
Hey again, if theres incorrect rendering etc. then there is an obvious problem, the validator may be picking up the trailing /> because of the doctype(it has to be xhtml to be correct[i've taken a look and this seems fine as-is])... The problem sounds like some form of bug, incorrect nesting would cause this sort of bug when using xhtml because every element has to be nested correctly, etc.
I took a look through the site, i couldn't find any of the posts in question, could you post a link to an example(it could be a common problem in the code)... Cheers, Jamey |
|
|
|
![]() |
| Thread Tools | |
|
|