main site

that's punk

scene love & unity forever!
It is currently Thu Sep 09, 2010 3:53 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: w3c compliance
PostPosted: Mon Oct 19, 2009 2:03 pm 
Offline
king of the punk
User avatar

Joined: Thu Oct 15, 2009 2:51 pm
Posts: 375
Location: Norway
solve these: http://validator.w3.org/check?uri=http% ... or%2F1.654


thanks.

_________________
no big deal.


Top
 Profile  
Reply with quote  
 Post subject: Re: w3c compliance
PostPosted: Sat Jan 02, 2010 10:59 pm 
Offline
User avatar

Joined: Sat Jan 02, 2010 10:49 pm
Posts: 46
Location: Trondheim, Norway
Perhaps a bit late but I still see a lot of errors ;)

Instead of <div id="small"> use <div class="small">

In CSS the #small will be .small
"id" may only be used once on each page.


The "<smallbg>" have I never-ever seen before. A quicksearch on google suggests using <div> or <span>
http://wordpress.org/support/topic/338711

These two will clear up a lot of the bugs.

_________________
Why would I trade my skateboard for your working life?


Top
 Profile  
Reply with quote  
 Post subject: Re: w3c compliance
PostPosted: Sun Jan 03, 2010 3:36 am 
Offline
king of the punk
User avatar

Joined: Thu Oct 15, 2009 2:51 pm
Posts: 375
Location: Norway
thanks. easy fixes, but I never bothered looking for them. well spotted! smallbg lacked a . in the css and was defined as uh just smallbg. so I put a . and used div class smallbg. all alright now. I will look at the other ones asap as well. let me know if you do before me! :)

_________________
no big deal.


Top
 Profile  
Reply with quote  
 Post subject: Re: w3c compliance
PostPosted: Sun Jan 03, 2010 10:17 am 
Offline
User avatar

Joined: Sat Jan 02, 2010 10:49 pm
Posts: 46
Location: Trondheim, Norway
It looks like it is a problem with the list structure. "<li>" elements shold always be closed ( "</li>") before closing the "</ul>".

It looks like a list in a list. It got it purposes but more often makes it harder to validate, even if it looks right.

# </ul>
# </li>
# <li id="feeds">feeds <ul> //here you should closed the "<li>" and started the "<ul>" before this line and <li> element.
# <li><a href="feed:http://thatspunk.net/blog/feed/" title="Syndicate this site using RSS"><abbr title="Really Simple Syndication">RSS</abbr> Contents</a></li>
# <br />
#
# </ul>
# </div>
# <!-- end sidebar -->

The error with the closing "</html>" tag could come from a missing "</div>" tag or similar.

The error with the "<br /> could be because it stands alone and not in tag and seems a bit unnecessary. To make spacing you got more efficent ways doing this in CSS (W3C would probably tell you ;))

Happy coding!

_________________
Why would I trade my skateboard for your working life?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group