Welcome Guest!

If you do not have an account yet on The Web Squeeze forums, please Register! It’s FREE and there are many benefits:

  • Receive Fast Advice
  • Learn Programming Languages
  • Get Professional Website Reviews
  • Quick Troubleshooting Assistance

> Solictor's Website

This is a discussion on Solictor's Website, within the Website Critique & Squeeze section. This forum and the thread "Solictor's Website" are both part of the The Squeeze Center category.

 
Reply to this topicStart new topic
> Solictor's Website
Vivara
post Jul 2 2008, 12:23 PM
Post #1


Squeezing
***

Posts: 65
Joined: 24-February 08


http://ddd.simplifiedimpact.com/

This is a website for a law firm based in Cork, Ireland. I've deliberately used DDD throughout and removed some alt attributes so that search engines could not relate it with this site.
It looks as though they want to take this design - but already have another designer who is charging astronomical prices. Basically - they're caught up in a contract with him and can't just say they don't like his.

Would like opinions on design and code. I think both are okay really.

The design is only one page at the moment.

Thanks,
Ed.

This post has been edited by Vivara: Jul 2 2008, 12:26 PM
Go to the top of the page
 
+Quote Post
Bruno
post Jul 2 2008, 12:34 PM
Post #2


Rapid Squeezer
****

Posts: 177
Joined: 14-February 08
From: Northampton, England


nice i like it biggrin.gif good design havn't looked at code couse i reli cant be bothered right now lol but design is nice n fresh n is making me feel a lil happyer biggrin.gif *looks at screen with a grin*


--------------------
Thanks,
Dave.
---------------------------------
My Portfolio....:: bruno89.co.uk (60% finished)
Information.....:: Available for work
---------------------------------
Go to the top of the page
 
+Quote Post
Jacob
post Jul 2 2008, 01:49 PM
Post #3


Co-Founder
Group Icon

Posts: 2,664
Joined: 13-February 08
From: On the forum!


Let me start by saying the site looks very nice, but since I am not a designer I will comment on your coding practices which are weak.

Let's start by looking at the following bit of code from your site.

CODE
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. <br />
Vestibulum dui ipsum, pharetra nec, euismod in, eleifend sed, <br />
felis. Vestibulum ante ipsum primis in faucibus orci luctus et <br />
ultrices posuere cubilia Curae; Donec eleifend turpis sit amet tellus. <br />
<br />

Etiam mauris. Morbi vitae nulla et ante convallis consequat. <br />
Nunc ullamcorper metus et mauris. Praesent ante nisi, <br />
aliquam in, iaculis at, vulputate eu, arcu. Quisque sodales <br />
malesuada lectus.<br />
<br />
Cras blandit mi nec sem. Curabitur et tellus. <br />
Suspendisse tellus turpis, sodales a, accumsan in, fermentum <br />
ac, nisi.</p>


The <br /> tag should be used to enter blank lines, NOT to separate paragraphs or sentences in your case.

I would like to also recommend that you display your logo through the use of CSS instead of placing it in the structure of the document. I say this because currently you have the logo placed in the <h1> as an img. The <h1> is a very powerful tag as far as search engines are concerned, and you could be placing keywords and terms that will help the sites search engine rankings. This is a very small and simple change that should help you out a lot.

Continuing on I would recommend you rethink the names of your divs and classes. (e.g. logo could be branding, and "<li class="one"></li>" could be class="active"?)

Structurally I feel you have went overboard with the use of <div>'s.

QUOTE
The div and span elements were introduced into HTML 4 to provide a generic mechanism for grouping, and adding structure to documents. The div element is a block-level container, and span is an inline element. An id and/or class attribute is usually used with the div and span to provide a hook for styling with CSS or scripting. Div mania is where content developers have replaced table-based layouts for CSS layouts, but have misused the div element to such an extent that they've more or less defined their own markup language consisting almost entirely of nested div elements. The div element is semantically neutral: it doesn't have any meaning other than the fact it is a container element. The div element should be used where no existing element is suitable as a container, not as a replacement for existing elements that have recognized and accepted meaning, such as headings, paragraphs, lists, etc.

Continue Reading Article Here


The problem is you are adding <div>'s left and right to style your page. The <div> tag defines a division/section in a document. You should not be adding them just to give you more hooks to grab with CSS. Here are just a few <div>'s that were added solely to style the site.

CODE
<div id="topcontent">
<div class="left">
<div class="right">
<div id="bottomcontent">
<div class="left">
<div class="right2">


Your site is very nice, just needs a little bit of work! Good Luck!


--------------------
Thanks,
Jacob
Go to the top of the page
 
+Quote Post
Vivara
post Jul 2 2008, 02:10 PM
Post #4


Squeezing
***

Posts: 65
Joined: 24-February 08


Hmmh.

The <br />s are from the cms (cmsfromscratch), which is odd. Never had that problem before. Will have a look into it. They are certainly not added by me.

What would you suggest with the <div>s Jacob? I need the 'content' div, but come to think of it - could do away with the 'topcontent' and 'bottomcontent' <div>s. To be honest, it was quite a rush job trying to get it in so I can see where I made these errors. I wouldn't say I went overboard though, which is clearly an overstatement. <div>s are semantically neutral.

I'm usually one to admit things, but my coding skills are not weak at the slightest. This is the first website I've done since before Christmas so I've gotten a bit rusty in this time and actually strugled to remember how to do things! I do see my errors though.

The debate on the image in the <h1> tag was one I recently had at WebForumz. It's merely speculation that search engines consider alt attributes to be less important due to keyword stuffing. The W3C recommended way is of course to do what I did - and there are huge disadvantages to other CSS methods (Involving Images Off, CSS On, which is more popular than you think). If search engines do consider alt attributes to be less important, it's likely that they take into account the size of the image, and the amount of words that are 'supposed' to be contained.

I've never ever heard someone comment on class and id names and I actually find it quite laughable.

EDIT: The <br />s were from the rich text editor in the cms. The client had been messing about.

Ed.

This post has been edited by Vivara: Jul 2 2008, 02:30 PM
Go to the top of the page
 
+Quote Post
Linda
post Jul 2 2008, 03:32 PM
Post #5


Co-Founder
Group Icon

Posts: 3,095
Joined: 13-February 08
From: Pink House in USA


The design is nice. Suitable for a law firm.

QUOTE
I say this because currently you have the logo placed in the <h1> as an img. The <h1> is a very powerful tag as far as search engines are concerned, and you could be placing keywords and terms that will help the sites search engine rankings.

An <h1> should not hold an image is what Jacob was saying. H1's are headings for text (originated from print). They weigh heavily in search engines therefore should be used for text. Putting an image in an h1 is pointless. An image is better off in a div.

Not much else to comment on since it's a very simple design. Good luck.. hope you get to use it!


--------------------
Go to the top of the page
 
+Quote Post
Jacob
post Jul 2 2008, 03:52 PM
Post #6


Co-Founder
Group Icon

Posts: 2,664
Joined: 13-February 08
From: On the forum!


QUOTE (Vivara @ Jul 2 2008, 02:10 PM) *
The <br />s are from the cms (cmsfromscratch), which is odd. Never had that problem before. Will have a look into it. They are certainly not added by me.


Ahhh, CMS error makes since now.

QUOTE (Vivara @ Jul 2 2008, 02:10 PM) *
What would you suggest with the <div>s Jacob? I need the 'content' div, but come to think of it - could do away with the 'topcontent' and 'bottomcontent' <div>s. To be honest, it was quite a rush job trying to get it in so I can see where I made these errors. I wouldn't say I went overboard though, which is clearly an overstatement. <div>s are semantically neutral.


Perhaps I've explained things wrong yet again. I'm not suggesting you get rid of the content <div>. What I am suggesting is that you get rid of the unneeded <div>'s that hold no value to your documents structure. They were placed there to allow you to style the page with CSS, that's not what the <div> tag is for. The <div> tag defines a division/section in a document. (Branding, Footer, Content, Header....etc.) You shouldn't be adding them just to allow you to have more hooks to grab at with CSS. (<div id="topcontent">, <div class="left">, <div class="right">, <div id="bottomcontent">, <div class="left">, <div class="right2">)

To achieve the effect of getting the image aligned to the right or left you could add a class to the image, instead of placing the image within it's own <div>. That image is not it's own division/section of the site. It's just an image within the content section. Get the picture? If not, I'll try to explain it again for ya. wink.gif



QUOTE (Vivara @ Jul 2 2008, 02:10 PM) *
I'm usually one to admit things, but my coding skills are not weak at the slightest. This is the first website I've done since before Christmas so I've gotten a bit rusty in this time and actually strugled to remember how to do things! I do see my errors though.


Ahhh, that makes since. I know how you feel, when ever I spend time away from coding, I often find myself looking up attributes and tags that I should know...hehe.

QUOTE (Vivara @ Jul 2 2008, 02:10 PM) *
The debate on the image in the <h1> tag was one I recently had at WebForumz. It's merely speculation that search engines consider alt attributes to be less important due to keyword stuffing. The W3C recommended way is of course to do what I did - and there are huge disadvantages to other CSS methods (Involving Images Off, CSS On, which is more popular than you think). If search engines do consider alt attributes to be less important, it's likely that they take into account the size of the image, and the amount of words that are 'supposed' to be contained.


Linda covered this one!~ wink.gif

QUOTE (Vivara @ Jul 2 2008, 02:10 PM) *
I've never ever heard someone comment on class and id names and I actually find it quite laughable.


Well, glad I made you laugh.

When using class names to hook into CSS it's not a generally thought of as a good idea to give elements class names like 'bigblue' or 'width40' although, depressingly, I've seen it done! This is definitely an abuse of class names – its not a 'bigblue' its a 'price'.


--------------------
Thanks,
Jacob
Go to the top of the page
 
+Quote Post
MikeHopley
post Jul 2 2008, 04:28 PM
Post #7


Squeeze Machine
Group Icon

Posts: 682
Joined: 15-February 08
From: UK


First, I think this looks really good. Fresh, but with a touch of formality -- a little class befitting a solicitor. smile.gif

I think you lost a </div> somewhere (see the validator).

QUOTE
The problem is you are adding <div>'s left and right to style your page. The <div> tag defines a division/section in a document. You should not be adding them just to give you more hooks to grab with CSS. Here are just a few <div>'s that were added solely to style the site.


Markup-purist nonsense. tongue.gif

<div>s are semantically neutral. They serve no purpose other than styling/scripting hooks; and on this site, there's hardly any <div>s. Let me show you some of my code:

CODE
<div class="lead"><div><div><div><div><div><div><div><div class="">
<p>The <strong>Badminton Bible</strong> is a collection of badminton articles, written by a professional badminton coach. Read the articles to help improve your game.</p>
</div><div class="leadBR"></div></div></div></div></div></div></div></div></div>


There is absolutely nothing wrong with that code, except that it looks ugly and somewhat hinders source-code legibility. Those <div>s are purely presentational: they allow multiple CSS backgrounds. Markup is not art; you don't get brownie points for elegance. <div>s should be used for styling and scripting hooks; and a few "unnecessary" <div>s can make your code much easier to maintain.

I use <div>s like they're going out of fashion. I won't hesitate to sprinkle nested <div>s around my pages whenever it's convenient for me; and I have yet to encounter a good argument against this practice.

Div-mania is different. Div-mania is about using <div>s for everything, even when other markup, such as a list or heading, would be more meaningful
.

QUOTE (Vivara @ Jul 2 2008, 08:10 PM) *
The debate on the image in the <h1> tag was one I recently had at WebForumz. It's merely speculation that search engines consider alt attributes to be less important due to keyword stuffing.


That's correct. Much received wisdom about search engines is mere speculation (and much of it is ridiculous). The most accessible method is what you've used: an image with alt text.

Nevertheless, I think there is a moderate probability that alt text is weighted much lower than plain <h1> text (my feeling is that this is about 30% likely).

There are numerous image-replacement systems, but almost all of them fail badly with "CSS on, images off". I use Gilder-Levin, which is almost perfectly accessible. See this excellent overview of image-replacement methods.

QUOTE
I've never ever heard someone comment on class and id names and I actually find it quite laughable.


I agree wholeheartedly. My article on semantics covers this point; class and id names are purely for the benefit of the coder, and make no difference to users. Choosing a good name can make your code easier to maintain, but that's all.

QUOTE
The <br /> tag should be used to enter blank lines


<br> should be used to indicate a deliberate (meaningful) line break, which is not quite the same thing as a blank line.

The canonical example for using <br> is between lines of a poem.
Go to the top of the page
 
+Quote Post
MikeHopley
post Jul 2 2008, 05:39 PM
Post #8


Squeeze Machine
Group Icon

Posts: 682
Joined: 15-February 08
From: UK


Oh, I forgot to mention:

I think your text could benefit from some leading (line spacing). I would also increase the text size at least slightly, as it is very small (I understand this lends a certain classy look too. It's a compromise).

Just a thought: would the page look better with some gap at the bottom (to let the blue background show)? You have background space around the top and both sides, but none at the bottom. I have the feeling that the page has been cut off.
Go to the top of the page
 
+Quote Post
Vivara
post Jul 3 2008, 04:37 PM
Post #9


Squeezing
***

Posts: 65
Joined: 24-February 08


QUOTE (MikeHopley @ Jul 2 2008, 10:28 PM) *
Nevertheless, I think there is a moderate probability that alt text is weighted much lower than plain <h1> text (my feeling is that this is about 30% likely).

There are numerous image-replacement systems, but almost all of them fail badly with "CSS on, images off". I use Gilder-Levin, which is almost perfectly accessible. See this excellent overview of image-replacement methods.


Believe me Mike, this very problem has crossed my mind numerous times and I've tried numerous methods. I, however often use logos/headers with transparent backgrounds so the Gilder/Levin method isn't really an option. However, for sites like this, I can use it as the logo doesn't require the transparency.


QUOTE (MikeHopley @ Jul 2 2008, 11:39 PM) *
Oh, I forgot to mention:

I think your text could benefit from some leading (line spacing). I would also increase the text size at least slightly, as it is very small (I understand this lends a certain classy look too. It's a compromise).


I for one seem to like the cramped look (for some strange reason), but it's definitely something I will change even if it is by a small amount (which, of course can make a big difference). The text size, does, indeed give a classy look and it's design preference. I'll have a look and see what I can do though.


QUOTE (MikeHopley @ Jul 2 2008, 11:39 PM) *
Just a thought: would the page look better with some gap at the bottom (to let the blue background show)? You have background space around the top and both sides, but none at the bottom. I have the feeling that the page has been cut off.


I actually was meant to add a footer with the unneeded copyright information, and, of course, a cheap attempt at some of my own advertising!

Ed.
Go to the top of the page
 
+Quote Post
If you found The Web Squeeze to be helpful, please donate so we can keep this site FREE, FRESH, and fortified with Web Design & Development info!
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   1 Daniela 488 15th February 2008 - 06:58 AM
Last post by: craig
No new   33 Monie 2,335 6th March 2008 - 11:14 PM
Last post by: Monie
No New Posts   6 VTD2008 603 27th February 2008 - 04:17 PM
Last post by: delusion
No New Posts   6 PutJatDa 543 28th February 2008 - 05:46 PM
Last post by: delusion
No New Posts   9 Mark 394 17th March 2008 - 07:00 AM
Last post by: crackafaza