Go Back   CodingForums.com > :: Client side development > General web building > Site reviews

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Old 04-28-2008, 10:27 PM   PM User | #1
cheechm
Regular Coder

 
Join Date: Jan 2007
Posts: 123
Thanks: 20
Thanked 1 Time in 1 Post
cheechm is an unknown quantity at this point
Site Review

Hi,
Can you review the general layout of my site please. I realise that the 3rd menu button rollover doesn't look good. Still working on that one.

Thanks

http://nicks-world.co.uk/tt/
cheechm is offline   Reply With Quote
Old 04-28-2008, 11:59 PM   PM User | #2
oesxyl
Senior Coder


 
Join Date: Dec 2007
Posts: 4,658
Thanks: 374
Thanked 562 Times in 551 Posts
oesxyl has a spectacular aura aboutoesxyl has a spectacular aura about
attribute names must be lower case and you miss few alt attributes:

http://validator.w3.org/check?verbos....co.uk%2Ftt%2F

I don't like the right side div, it overlap the text.
you must have a footer or padding bottom.
I'm not sure but I think is something wrong with js at first load, I can't reproduce.
I like the layout idea.

regards

Last edited by oesxyl; 04-29-2008 at 12:02 AM..
oesxyl is offline   Reply With Quote
Users who have thanked oesxyl for this post:
cheechm (04-29-2008)
Old 04-29-2008, 12:04 AM   PM User | #3
mjlorbet
Regular Coder

 
mjlorbet's Avatar
 
Join Date: Jan 2008
Location: Milwaukee, WI
Posts: 722
Thanks: 8
Thanked 96 Times in 95 Posts
mjlorbet will become famous soon enough
looks nice enough, i'd maybe rethink the tabs bit a little, it just looks too large & a little, i don't quite know how to describe it, but it just doesn't feel quite right. also, ie7 at least, your layout gets broken while resizing the window.
__________________
-Mike
"Want me to precludify him, like some kind of dispatcherator?... Can do!" -Bender
mjlorbet is offline   Reply With Quote
Users who have thanked mjlorbet for this post:
cheechm (04-29-2008)
Old 04-29-2008, 12:24 AM   PM User | #4
cheechm
Regular Coder

 
Join Date: Jan 2007
Posts: 123
Thanks: 20
Thanked 1 Time in 1 Post
cheechm is an unknown quantity at this point
It breaks up, I know, but is there anything I can do about that?

Thanks for C+C.
cheechm is offline   Reply With Quote
Old 04-29-2008, 12:29 AM   PM User | #5
mjlorbet
Regular Coder

 
mjlorbet's Avatar
 
Join Date: Jan 2008
Location: Milwaukee, WI
Posts: 722
Thanks: 8
Thanked 96 Times in 95 Posts
mjlorbet will become famous soon enough
set your sizes based on the percentage of the screen they should take up instead of a concrete size, that way the content will scale to match the browser's current size
__________________
-Mike
"Want me to precludify him, like some kind of dispatcherator?... Can do!" -Bender
mjlorbet is offline   Reply With Quote
Old 04-29-2008, 12:47 AM   PM User | #6
cheechm
Regular Coder

 
Join Date: Jan 2007
Posts: 123
Thanks: 20
Thanked 1 Time in 1 Post
cheechm is an unknown quantity at this point
Quote:
Originally Posted by mjlorbet View Post
set your sizes based on the percentage of the screen they should take up instead of a concrete size, that way the content will scale to match the browser's current size
I'm lazy.. Is there something that does that for me?

LOL.. Thanks
cheechm is offline   Reply With Quote
Old 04-29-2008, 12:50 AM   PM User | #7
oesxyl
Senior Coder


 
Join Date: Dec 2007
Posts: 4,658
Thanks: 374
Thanked 562 Times in 551 Posts
oesxyl has a spectacular aura aboutoesxyl has a spectacular aura about
Quote:
Originally Posted by cheechm View Post
It breaks up, I know, but is there anything I can do about that?

Thanks for C+C.
some bad things:
- overflow: hidden, make it auto or better remove it
- put all content in a wrapper div, and clear at the end( you use float) with clear: both
- table for layout, is not good, use a div instead
- right side, must be float left too.
- don't use position absolute

regards
oesxyl is offline   Reply With Quote
Old 04-29-2008, 12:55 AM   PM User | #8
mjlorbet
Regular Coder

 
mjlorbet's Avatar
 
Join Date: Jan 2008
Location: Milwaukee, WI
Posts: 722
Thanks: 8
Thanked 96 Times in 95 Posts
mjlorbet will become famous soon enough
not really, but here's what you can do; if you've given your elements ids then you can use a script like this

Code:
 
var elements = document.getElementsByTagName("div");
for(var a = 0; a < elements.length; a++)
    alert(elements.id + " :: WIDTH: " + parseInt(elements.style.width)*100/document.documentElement.clientWidth + "% HEIGHT: " + parseInt(elements.style.height)*100/document.documentElement.clientHeight);
and that'll tell you what percentages to use, just make sure to change the tagname to each set of elements that you'll need to size, note if the element is nested within another and is supposed to fill the whole thing then you can just set the width or height (whichever is appropriate) to 100% for that item instead of having to code the size manually. also note that this script should work for internet explorer 7 in xhtml compat mode but i'm not sure what other browsers will support document.documentElement, so be aware of that, really you just want to get the width and height of the objects, convert it to an integer (as when you extract them from the style property, you'll have the unit appended to the end of it), multiply it by 100 and divide it by the corresponding size dimension of the window. so you could use window.innerHeight and window.innerWidth for firefox or document.body.clientHeight and document.body.clientWidth for internet explorer 6 and prior. *note not 100% on that, haven't messed around with client sizes in some time now.
__________________
-Mike
"Want me to precludify him, like some kind of dispatcherator?... Can do!" -Bender
mjlorbet is offline   Reply With Quote
Old 04-29-2008, 01:02 AM   PM User | #9
oesxyl
Senior Coder


 
Join Date: Dec 2007
Posts: 4,658
Thanks: 374
Thanked 562 Times in 551 Posts
oesxyl has a spectacular aura aboutoesxyl has a spectacular aura about
Quote:
Originally Posted by mjlorbet View Post
not really, but here's what you can do; if you've given your elements ids then you can use a script like this

Code:
 
var elements = document.getElementsByTagName("div");
for(var a = 0; a < elements.length; a++)
    alert(elements.id + " :: WIDTH: " + parseInt(elements.style.width)*100/document.documentElement.clientWidth + "% HEIGHT: " + parseInt(elements.style.height)*100/document.documentElement.clientHeight);
....
I'm not agree with that. You can do a lot of things with javascript others then fixing something what can be done very easy with html/css.

regards
oesxyl is offline   Reply With Quote
Old 04-29-2008, 01:04 AM   PM User | #10
mjlorbet
Regular Coder

 
mjlorbet's Avatar
 
Join Date: Jan 2008
Location: Milwaukee, WI
Posts: 722
Thanks: 8
Thanked 96 Times in 95 Posts
mjlorbet will become famous soon enough
that's not to fix it, it's to get the values for him so he doesn't have to do the division by hand
__________________
-Mike
"Want me to precludify him, like some kind of dispatcherator?... Can do!" -Bender
mjlorbet is offline   Reply With Quote
Old 04-29-2008, 01:08 AM   PM User | #11
oesxyl
Senior Coder


 
Join Date: Dec 2007
Posts: 4,658
Thanks: 374
Thanked 562 Times in 551 Posts
oesxyl has a spectacular aura aboutoesxyl has a spectacular aura about
Quote:
Originally Posted by mjlorbet View Post
that's not to fix it, it's to get the values for him so he doesn't have to do the division by hand
if the layout is correct it don't need the values, using a width: 100% for wrapper and proper css/html inside, is enough.

regards
oesxyl is offline   Reply With Quote
Old 04-29-2008, 01:09 AM   PM User | #12
mjlorbet
Regular Coder

 
mjlorbet's Avatar
 
Join Date: Jan 2008
Location: Milwaukee, WI
Posts: 722
Thanks: 8
Thanked 96 Times in 95 Posts
mjlorbet will become famous soon enough
very true
__________________
-Mike
"Want me to precludify him, like some kind of dispatcherator?... Can do!" -Bender
mjlorbet is offline   Reply With Quote
Old 04-29-2008, 08:52 AM   PM User | #13
cheechm
Regular Coder

 
Join Date: Jan 2007
Posts: 123
Thanks: 20
Thanked 1 Time in 1 Post
cheechm is an unknown quantity at this point
But it is an image based website. So wouldn't percentages muck up the imageS?
cheechm is offline   Reply With Quote
Old 04-29-2008, 03:01 PM   PM User | #14
mjlorbet
Regular Coder

 
mjlorbet's Avatar
 
Join Date: Jan 2008
Location: Milwaukee, WI
Posts: 722
Thanks: 8
Thanked 96 Times in 95 Posts
mjlorbet will become famous soon enough
if you only set the width or only set the height it'll be fine, if you set both then it'll do bad things. setting one or the other will keep the aspect ratio constant.
__________________
-Mike
"Want me to precludify him, like some kind of dispatcherator?... Can do!" -Bender
mjlorbet is offline   Reply With Quote
Old 04-29-2008, 10:17 PM   PM User | #15
oesxyl
Senior Coder


 
Join Date: Dec 2007
Posts: 4,658
Thanks: 374
Thanked 562 Times in 551 Posts
oesxyl has a spectacular aura aboutoesxyl has a spectacular aura about
Quote:
Originally Posted by cheechm View Post
But it is an image based website. So wouldn't percentages muck up the imageS?
as mjlorbet said, if you change only width the height will be changed to keep the aspect ratio constant.
Change what I said in my post and will work. Probably after that you must also make some adjustment to get what you want.
Your layout idea is fine, I like it,

regards
oesxyl is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 03:23 PM.

Home - Contact Us - Archives - Link to CF - Resources - Top 

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.