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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 10-05-2008, 10:11 PM   #1 (permalink)
Registered User
 
Join Date: Oct 2008
Posts: 2
OS: Win98se


EEK! Is this code valid with the latest of HTML tags?

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.
52chevybob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
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

Old 10-05-2008, 10:50 PM   #2 (permalink)
Moderator: Design
 
dm01's Avatar
 
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)

My System

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.
dm01 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-06-2008, 02:47 AM   #3 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
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
__________________

Myspace
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-06-2008, 03:22 PM   #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.
52chevybob is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 10-06-2008, 03:29 PM   #5 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
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
__________________

Myspace
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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




All times are GMT -7. The time now is 02:38 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85