'tidyness' check

This is a discussion on "'tidyness' check" within the Web Page Design section. This forum, and the thread "'tidyness' check are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jul 29th, 2007, 01:38
Up'n'Coming Member
Join Date: Feb 2007
Location: Norwich, UK
Age: 23
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
'tidyness' check

Been having a play with a new design today and have coded a mock front page.

I was hoping someone might be able to quickly check the CSS to make sure its 'tidy', or if anything needs drastic changes. I am aware there is no image replacement yet or any links.

http://www.mattoconnor.co.uk/Home.html

ta muchly
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jul 29th, 2007, 10:02
Up'n'Coming Member
Join Date: Jul 2007
Location: France
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 'tidyness' check

Have you pushed it through the W3C validator? You'll find several warnings.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jul 29th, 2007, 12:16
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 'tidyness' check

WOW that's gorgeous!

You don't have a regular <p> tag defined. I would define it for sure.
I would give all your <p>'s a margin-bottom of 15px (or something like that) so you can eliminate all the br's. Not necessary on your .p1.

On all the <span class="bold"> you could simply use <strong></strong>
but the way you have it now might be best but also offer the bold class a margin-bottom because that again will eliminate br's.

For SEO purposes, the h1 should be something more keyword rich than Welcome and a repeat of your domain name. Since you can only have ONE h1 per page, you must change the News to an h2. Then make that more keyword rich as well. Those are the meat and potatoes of SEO inside a page.

Hope that helps !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jul 29th, 2007, 14:57
Up'n'Coming Member
Join Date: Feb 2007
Location: Norwich, UK
Age: 23
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 'tidyness' check

So can you have as many <h2>'s as you want?

so instead of having something like this for the text which I have currently....

Code: Select all
<p class="p1">
Lorem ipsum est in illud dolorum atomorum, te omnis ornatus philosophia cum. Cum natum electram ne
<br />
puto vidit oporteat vis at, agam ridens intellegebat te sed. Mei ex eius urbanitas posidonium,
<br /><br />
est oblique luptatum perfecto ne. Iudico electram abhorreant et per. Vim atqui probatus ne,
<br /> 
ei prima paulo aliquyam pro, sed te graece mediocrem.
<br /><br /><br />
</p>
you suggest having an individual p1 (or p) tag for each line/paragraph?

so more like this (?)....

Code: Select all
<p class="p1">
Lorem ipsum est in illud dolorum atomorum, te omnis ornatus philosophia cum. Cum natum electram ne
</p>
<p class="p1">
puto vidit oporteat vis at, agam ridens intellegebat te sed. Mei ex eius urbanitas posidonium,
</p>
<p class="p1">
ei prima paulo aliquyam pro, sed te graece mediocrem.
</p>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jul 29th, 2007, 17:15
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,946
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 'tidyness' check

<p>'s are for paragraphs. So each time you want to start a new paragraph, close the first </p> and start a new <p></p>

By adding a margin-bottom to a p, you get a nice space without needing breaks.

Looking at your code it looks like you did it already!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jul 29th, 2007, 17:47
Up'n'Coming Member
Join Date: Feb 2007
Location: Norwich, UK
Age: 23
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 'tidyness' check

he. Had a cheeky edit to the main index page. Kept 'Home.html' the same in case anyone else wanted to comment.

Cheers for that so far.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Jul 30th, 2007, 12:24
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 'tidyness' check

*Always* use a strict doctype.

Use the elements that exists for what they are...

Code: Select all
<span class="bold">21-07-07</span>
should be

Code: Select all
<strong>21-07-07</strong>
Much more semantic and meaningful.

Empty <h1>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Jul 30th, 2007, 13:58
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 'tidyness' check

Quote:
Originally Posted by karinne View Post
Code: Select all
<span class="bold">21-07-07</span>
should be

Code: Select all
<strong>21-07-07</strong>
Much more semantic and meaningful.
Not necessarily. If the intention is to emphasise the date strongly, then <strong> is correct (<strong> = strong emphasis).

If the intention is purely presentational (he prefers the look of bold text for the date), then <span class="bold"> is correct (although the class name makes no difference to the semantics). I suspect this is the case.

If he's using bold text in accordance with typographic conventions in print other than emphasis, then <b> is correct.

More on this later (I have an article up my sleeve on this very subject).

Last edited by MikeHopley; Jul 30th, 2007 at 14:01.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old Jul 30th, 2007, 14:03
Up'n'Coming Member
Join Date: Feb 2007
Location: Norwich, UK
Age: 23
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 'tidyness' check

'he' has no idea and is just after the best solution!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old Jul 30th, 2007, 14:07
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 'tidyness' check

Quote:
Originally Posted by MikeHopley View Post
Not necessarily. If the intention is to emphasise the date strongly, then <strong> is correct (<strong> = strong emphasis).

If the intention is purely presentational (he prefers the look of bold text for the date), then <span class="bold"> is correct (although the class name makes no difference to the semantics). I suspect this is the case.

If he's using bold text in accordance with typographic conventions in print other than emphasis, then <b> is correct.

More on this later (I have an article up my sleeve on this very subject).
Hmmm ... yes ... good point. So then ... maybe this is a good situation for the <b> element
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old Jul 30th, 2007, 14:08
Reputable Member
Join Date: Jul 2007
Location: UK, Essex
Age: 21
Posts: 173
Thanks: 0
Thanked 1 Time in 1 Post
Re: 'tidyness' check

Hey Mate,

I'd suggest running it through http://validator.w3.org/

And I would like to say that I love the design mate, great work!

Wayne

wayne
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old Jul 30th, 2007, 14:17
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 'tidyness' check

Quote:
Originally Posted by konnor5092 View Post
'he' has no idea and is just after the best solution!
Then I would say your current method, <span class="bold">, is best for this instance.

It's a nice distinction in any case, and of small import; but I feel it's worth understanding.

Gorgeous site, by the way.

Last edited by MikeHopley; Jul 30th, 2007 at 14:20.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13  
Old Jul 30th, 2007, 14:25
Reputable Member
Join Date: Jul 2007
Location: UK, Essex
Age: 21
Posts: 173
Thanks: 0
Thanked 1 Time in 1 Post
Re: 'tidyness' check

Who has no idea?

<span style="font-weight: bold">TEXT</span>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14  
Old Jul 30th, 2007, 14:34
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 'tidyness' check

Quote:
Originally Posted by RZX Developer View Post
Who has no idea?

<span style="font-weight: bold">TEXT</span>
Ugh. There's no reason to use inline styles. External CSS is preferable (for code efficiency and ease of maintenance).

Personally, I would use something like <span class="newsDate">, because it helps me remember what items the class affects.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #15  
Old Jul 30th, 2007, 14:45
Reputable Member
Join Date: Jul 2007
Location: UK, Essex
Age: 21
Posts: 173
Thanks: 0
Thanked 1 Time in 1 Post
Re: 'tidyness' check

That's why I am the junior developer
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #16  
Old Jul 30th, 2007, 14:52
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 'tidyness' check

Quote:
Originally Posted by MikeHopley View Post
Personally, I would use something like <span class="newsDate">, because it helps me remember what items the class affects.
Yes and that way if you want to remove bold and just change the color you are not stuck with a name that doesn't make sense
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #17  
Old Jul 30th, 2007, 16:30
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 'tidyness' check

Quote:
Originally Posted by karinne View Post
Yes and that way if you want to remove bold and just change the color you are not stuck with a name that doesn't make sense
Exactly. Besides, <span class="bold"> is so generic that you may apply it to other items -- and then you can't alter their formatting independently of each other!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #18  
Old Aug 1st, 2007, 20:52
Junior Member
Join Date: Jul 2007
Location: zimwabee
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Re: 'tidyness' check

When I looked at it I thought all the green text in your paragraphs were links. You might try making your links stand out more.
Quote:
<span class="green">text</span>

PS: I would change the 'M' in your logo to the color green. It
would add some visual effects
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
css, design, valid

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please check my site MNuTz Web Page Design 4 Nov 5th, 2007 04:46