New to css design - am i doing this right?

This is a discussion on "New to css design - am i doing this right?" within the Web Page Design section. This forum, and the thread "New to css design - am i doing this right? 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 Oct 5th, 2007, 13:50
Junior Member
Join Date: Oct 2007
Location: UK
Age: 42
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
New to css design - am i doing this right?

Hi Guys n girls,

Im new to this forum so please bare with me, i'm also very new to css coding.
I am redesigning my current ecomerce site to be tabless and as pure css as it can be, so that i can reduce my google ads campaign by appearing high up in the generic googles search.
I'm also trying to comply with w3c as best as i can.

My design is fairly simple but its not a standard 3 colum layout, or at least i think that it is not.

It's taken me a while to get this far and it's way off from being finished, but i would appreciate if you guys could take a peek under the bonnet and let me know if it's ok.

All of the pages and css validate on the w3c site, and i'm testing in ie7 firefox, netscape, and safari (all i have access to).

most of it works in the different browsers, but i can see why people do not like ie.

the link to the css site is in a temp directory of another site of mine, as the current tables site is still in use.

I hope that makes sense, oh and i have linked to the css files on the sitemap as well to make it easier for you.

Thanks for any input in advance.

Timmo.

http://www.tjbcomputersystems.co.uk/...r/sitemap.html

If i have posted this in the wrong part of the forum please accept my apologies.
Reply With Quote

  #2 (permalink)  
Old Oct 5th, 2007, 13:52
Daniel's Avatar
Elite Veteran
Join Date: Sep 2006
Location: The Kingdom of Rabbits
Age: 21
Posts: 2,051
Blog Entries: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Daniel
Re: New to css design - am i doing this right?

Sorry - what's your problem?
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
Reply With Quote
  #3 (permalink)  
Old Oct 5th, 2007, 13:59
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: New to css design - am i doing this right?

I'm a little confused as well? You just want us to look at your coding and tell you if you are doing it properly? Is that right?
Reply With Quote
  #4 (permalink)  
Old Oct 5th, 2007, 14:09
Junior Member
Join Date: Oct 2007
Location: UK
Age: 42
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to css design - am i doing this right?

my concern is that i'm not sure if i'm doing right.
so yes i was hoping that you could look at the coding and tell me if it's ok or not.
Sorry for confusion.

Timmo.
Reply With Quote
  #5 (permalink)  
Old Oct 5th, 2007, 14:10
Junior Member
Join Date: Oct 2007
Location: UK
Age: 42
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to css design - am i doing this right?

oh and thanks for answering so quickly.
Reply With Quote
  #6 (permalink)  
Old Oct 5th, 2007, 14:18
Emzi's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Manchester
Age: 25
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to css design - am i doing this right?

The only thing I don't understand is why do you have so many DIV tags at the top of the page? From what I can see it doesn't look like they're neccessary?
Reply With Quote
  #7 (permalink)  
Old Oct 5th, 2007, 14:19
Emzi's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Manchester
Age: 25
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to css design - am i doing this right?

One more thing - why have you put links to all your CSS files in the site map???
Reply With Quote
  #8 (permalink)  
Old Oct 5th, 2007, 14:22
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: New to css design - am i doing this right?

Alright ... first of all ... Doctype. Change to a Strict doctype. I would link you to a great article by our member MikeHopley but ... it's not online yet (note to self: Get that darn article up already!)

If you have firefox, I suggest you download the HTML Validator extension, you'll be able to see right away the few warning your have about adding units to height in the <img ...> tag.

This whole chunk of code is a bit useless

HTML: Select all
<div class="t"><div class="b"><div class="l"><div class="r"><div class="bl"><div class="br"><div class="tl"><div class="tr">
I would only have 3 images for that whole thing like this:

This image for your header
branding.jpg

This one, I would apply as the background to your container
container-bg.jpg

and this, your footer
site-info.jpg

You would have to cut them properly as they are not the proper size ... I was merely showing an example.
Reply With Quote
  #9 (permalink)  
Old Oct 5th, 2007, 14:29
Junior Member
Join Date: Oct 2007
Location: UK
Age: 42
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to css design - am i doing this right?

ok the div tags at the top are to do with the fade out border around the page.

Emzi the css link are on the site map so that you guys can easily view them, these will be removed in due course.

Karinne, could you explain why it would be better to change the doc type to strict, i'm only using transitional because that was the default that dreamweaver gave me.

Thanks again.
Reply With Quote
  #10 (permalink)  
Old Oct 5th, 2007, 14:45
Reputable Member
Join Date: Sep 2007
Location: UK
Age: 42
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to css design - am i doing this right?

http://24ways.org/2005/transitional-vs-strict-markup

Heres the differences! not a bad read either.
Reply With Quote
  #11 (permalink)  
Old Oct 5th, 2007, 15:14
Junior Member
Join Date: Oct 2007
Location: UK
Age: 42
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to css design - am i doing this right?

Thanks for the link jtyoungs, it makes sense.
Reply With Quote
  #12 (permalink)  
Old Oct 5th, 2007, 15:27
Junior Member
Join Date: Oct 2007
Location: UK
Age: 42
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to css design - am i doing this right?

Quote:
Originally Posted by karinne View Post
This whole chunk of code is a bit useless

HTML: Select all
<div class="t"><div class="b"><div class="l"><div class="r"><div class="bl"><div class="br"><div class="tl"><div class="tr">
I would only have 3 images for that whole thing like this:
is there another way to do this as i really like my shadow border?

Cheers

Timmo
Reply With Quote
  #13 (permalink)  
Old Oct 5th, 2007, 15:30
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: New to css design - am i doing this right?

I explained in already in my post ... right under that code snippet.

As for the explanation on why to use Strict, the article should be up shortly ... I'll give you link when it is.
Reply With Quote
  #14 (permalink)  
Old Oct 5th, 2007, 15:38
Junior Member
Join Date: Oct 2007
Location: UK
Age: 42
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to css design - am i doing this right?

oh didnt see that properly, i'll have a play with that.

what about this page

http://www.tjbcomputersystems.co.uk/.../products.html

is this layout valid?

sorry for all the questions.

Thanks.
Reply With Quote
  #15 (permalink)  
Old Oct 5th, 2007, 19:57
Junior Member
Join Date: Oct 2007
Location: UK
Age: 42
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: New to css design - am i doing this right?

Ok thanks to Karinne for the firefox validate plugin, that sorted a few bits. I've now changed the entire site to strict.

Still looking into the border issue.

I have a problem on this page http://www.tjbcomputersystems.co.uk/.../delivery.html

i'm not able to stop the 'All of our products are' text from overlapping the above title, i've tried using a margin but that doesnt work in FF.

Any ideas?
Reply With Quote
Reply

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
Free web design services - logo design - banners , save some good cash ! TEmelie Job Opportunities 2 Mar 31st, 2008 06:07
Griffin Web Design - New Year, New Design. Penny for your thoughts! shawzy85 Free Web Site Critique 17 Jan 14th, 2008 12:35
Design ideas for blog re-design alexgeek Website Planning 6 Nov 27th, 2007 08:15
how we can design seo friendly website design? webdeveloper Search Engine Optimization (SEO) 9 Oct 13th, 2007 13:52


All times are GMT. The time now is 05:26.


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