This is a discussion on "Is this unorthodox?" within the Web Page Design section. This forum, and the thread "Is this unorthodox? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Is this unorthodox?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Is this unorthodox?
Ok, so I've been looking around on this forum and picked up a few nice tips. I've been working on a CSS-based site for a friend of mine. It looks like I got the desired design and positioning (although I think the whole page should be centered). It even passed the W3C-validation.
I'm pretty proud of myself, but somehow I don't think I used the right tools and ways to build the site like its supposed to, or I did it the hard way Can someone tell me If there's a better way to edit the .css? My used CSS:
Does it make sense to you guys? [edit] I just found out the background doesn't do what it's supposed to when the text gets longer or shorter.. Back to the drawingboard.. I'll get it right.. [edit 2] Found out another thing.. Internet Explorer.. need I say more? :S Last edited by delusion; Jun 18th, 2007 at 11:55. |
|
|
|
||||
|
Re: Is this unorthodox?
To center your site just follow this
How to center your site horizontally body can be used to style too! As for your code ... I've never been one to use the position property. I think float is the best way to go. And ... you don't really need it here since it's a 1 column layout. body in this instance doesn't need to have a class for it IMO just apply the styles to the body like
PNG in Windows IE: How To Use You're still thinking too much in terms of tables with spacer gifs and the whole bit. Look into using margins and paddings. And not everything should be a class. Main areas like headers and content and footer are usually ID's since they will only be used once in a document (having 2 headers just isn't logical). It's a good start tho. |
|
|||
|
Re: Is this unorthodox?
Thanks for the info and links.. Most of the output is made by Photoshop, edited by me. Maybe I should just make it from scratch myself..
Still on the drawingboard |
|
|||
|
Re: Is this unorthodox?
How about slicing the image in Photoshop, and only save the images.. Is that a good idea?
|
|
||||
|
Re: Is this unorthodox?
Yes ... that's what I do but I slice them manually ... I don't use the slice tool. See what you can do with CSS only ... like borders and background-image, etc...
|
|
|||
|
Re: Is this unorthodox?
Yeah, I seperated the background image(s) already. I'm thinking baby-steps.. Rome wasn't built in one day either
|
|
||||
|
Re: Is this unorthodox?
Quote:
Quote:
Do as much of the visual part of your site in CSS as you can. Rounded corners can be done without images using Nifty Corners. Hope this helps! |
|
|||
|
Re: Is this unorthodox?
I'm using Dreamweaver CS3. Any reason why I should use TopStyle instead? I think the .css-support in DW is great, although I can't compare it with anything :P
So, a little resume: Use photoshop to create the layout, then cut it up by hand and try to use only the images like the rounded corders. Than use dreamweaver or TopStyle to create a slick .css-file. Also use the CSS for creating borders, buttons and background coloring. Am I right so far? |
|
|||
|
Re: Is this unorthodox?
Yes you are right. Use DW code view to handcode using html. No tables ok!
I'm wanting to buy the latest DW, do you like it? |
|
|||
|
Re: Is this unorthodox?
Quote:
Anyway.. I'm still the oldschool kindof guy who codes everything by hand. I still don't like the drag 'n drop mehtod I'll let you know when I created something new.. |
|
||||
|
Re: Is this unorthodox?
Quote:
|
|
|||
|
Re: Is this unorthodox?
Do you really have to use position:absolute??
It can later become a problem, and the website goes automatically to the top left corner. Don't worry, I learned that the hard way. I redesigned my website 5 times, before I realized that I had position:absolute on the main content!! |
|
|||
|
Re: Is this unorthodox?
Quote:
I'm working on a different website aswell where I'm creating the CSS from scratch. I'm learning the hard way aswell.. that makes this work so good |
|
|||
|
Re: Is this unorthodox?
So, I've put this project on hold and started another one.
The following URL is a temporary one, so it might not be working when you look at this thread in a couple of weeks.. URL: http://bs4y.allura.nl/index.php?id=1 CSS:
What can I change to make it better? Why doesn't the W3C CSS-validator work? (I didn't put this one up in the "free website critique"-section, because it's a temporary url and a project in development..) |
|
|||
|
Re: Is this unorthodox?
nice site! you need to get it centered:
margin: 0 auto; and you need to get it so that the index content shows when you first come onto the site. i get some weird javascript error when I try to validate the css, so there I can't help you! |
|
|||
|
Re: Is this unorthodox?
Quote:
And I'm getting the weird java-error as well on the W3c-site.. That's why I didn't validate it yet.. [edit] Centering done Last edited by delusion; Jun 21st, 2007 at 09:06. |
|
|||
|
Re: Is this unorthodox?
centering only done in IE!!
|
![]() |
| Tags |
| css |
| Thread Tools | |
|
|