'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.



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

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 29th, 2007, 01:38
konnor5092's Avatar
SuperMember

SuperMember
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
Reply With Quote

  #2 (permalink)  
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.
Reply With Quote
  #3 (permalink)  
Old Jul 29th, 2007, 12:16
SuperMember

SuperMember
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 !
Reply With Quote
  #4 (permalink)  
Old Jul 29th, 2007, 14:57
konnor5092's Avatar
SuperMember

SuperMember
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>
Reply With Quote
  #5 (permalink)  
Old Jul 29th, 2007, 17:15
SuperMember

SuperMember
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!
Reply With Quote
  #6 (permalink)  
Old Jul 29th, 2007, 17:47
konnor5092's Avatar
SuperMember

SuperMember
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.
Reply With Quote
  #7 (permalink)  
Old Jul 30th, 2007, 12:24
karinne's Avatar
SuperMember

SuperMember
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>
Reply With Quote
  #8 (permalink)  
Old Jul 30th, 2007, 13:58
SuperMember

SuperMember
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.
Reply With Quote
  #9 (permalink)  
Old Jul 30th, 2007, 14:03
konnor5092's Avatar
SuperMember

SuperMember
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!
Reply With Quote
  #10 (permalink)  
Old Jul 30th, 2007, 14:07
karinne's Avatar
SuperMember

SuperMember
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
Reply With Quote
  #11 (permalink)  
Old Jul 30th, 2007, 14:08
Reputable Member
Join Date: Jul 2007
Location: UK, Essex
Age: 21
Posts: 171
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to RZX Developer
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
Reply With Quote
  #12 (permalink)  
Old Jul 30th, 2007, 14:17
SuperMember

SuperMember
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.
Reply With Quote
  #13 (permalink)  
Old Jul 30th, 2007, 14:25
Reputable Member
Join Date: Jul 2007
Location: UK, Essex
Age: 21
Posts: 171
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to RZX Developer
Re: 'tidyness' check

Who has no idea?

<span style="font-weight: bold">TEXT</span>
Reply With Quote
  #14 (permalink)  
Old Jul 30th, 2007, 14:34
SuperMember

SuperMember
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.
Reply With Quote
  #15 (permalink)  
Old Jul 30th, 2007, 14:45
Reputable Member
Join Date: Jul 2007
Location: UK, Essex
Age: 21
Posts: 171
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to RZX Developer
Re: 'tidyness' check

That's why I am the junior developer
Reply With Quote
  #16 (permalink)  
Old Jul 30th, 2007, 14:52
karinne's Avatar
SuperMember

SuperMember
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
Reply With Quote
  #17 (permalink)  
Old Jul 30th, 2007, 16:30
SuperMember

SuperMember
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!
Reply With Quote
  #18 (permalink)  
Old Aug 1st, 2007, 20:52
Junior Member
Join Date: Jul 2007
Location: zimwabee
Posts: 32
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
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
check this bad bouy __ perform300 Webforumz Cafe 21 Sep 5th, 2007 08:30
Please check site csa Web Page Design 3 Mar 23rd, 2006 09:27
How do I check my forms... courtjester Classic ASP 8 May 14th, 2004 11:42
Hello, check this ;) Anonymous User Introduce Yourself 1 Feb 12th, 2004 19:10


All times are GMT. The time now is 02:49.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

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