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.
|
|
|
|
|
![]() |
||
'tidyness' check
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
'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 |
|
|
|
#2
|
|||
|
|||
|
Re: 'tidyness' check
Have you pushed it through the W3C validator? You'll find several warnings.
|
|
#3
|
|||
|
|||
|
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 ! |
|
#4
|
|||
|
|||
|
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....
so more like this (?)....
|
|
#5
|
|||
|
|||
|
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! |
|
#6
|
|||
|
|||
|
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. |
|
#7
|
|||
|
|||
|
Re: 'tidyness' check
*Always* use a strict doctype.
Use the elements that exists for what they are...
Empty <h1> |
|
#8
|
|||
|
|||
|
Re: 'tidyness' check
Quote:
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. |
|
#9
|
|||
|
|||
|
Re: 'tidyness' check
'he' has no idea and is just after the best solution!
|
|
#10
|
|||
|
|||
|
Re: 'tidyness' check
Quote:
|
|
#11
|
|||
|
|||
|
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 |
|
#12
|
|||
|
|||
|
Re: 'tidyness' check
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. |
|
#13
|
|||
|
|||
|
Re: 'tidyness' check
Who has no idea?
<span style="font-weight: bold">TEXT</span> |
|
#14
|
|||
|
|||
|
Re: 'tidyness' check
Quote:
Personally, I would use something like <span class="newsDate">, because it helps me remember what items the class affects. |
|
#15
|
|||
|
|||
|
Re: 'tidyness' check
That's why I am the junior developer
|
|
#16
|
|||
|
|||
|
Re: 'tidyness' check
Quote:
|
|
#17
|
|||
|
|||
|
Re: 'tidyness' check
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!
|
|
#18
|
|||
|
|||
|
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:
PS: I would change the 'M' in your logo to the color green. It would add some visual effects |
![]() |
| Tags |
| css, design, valid |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Please check my site | MNuTz | Web Page Design | 4 | |