What comes 1st css or template? (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


avsupport -> What comes 1st css or template? (9/20/2004 15:59:09)

This is definitely a newbie question but I thought it would be best answered in this forum as compared to the beginning site forum. In creating a web, should I create my CSS first, then move to build my page templates? or create my template and base my CSS from it? I understand what CSS is all about, (well just enough to be dangerous) but I'm learning.

Dave.




Giomanach -> RE: What comes 1st css or template? (9/21/2004 7:55:24)

This is all preference based. I prefer to code the XHTML first, then apply the CSS to "build" the layout rather than get the layout before the coding is done. That way, it allows me to watch it grow from "plain text" into a web, full of colour etc.

Depends on whether you like to build before you code, or code before you build

Dan




c1sissy -> RE: What comes 1st css or template? (9/21/2004 10:11:05)

Hi Avsupport.
Actually the correct way is to build your page first, then start putting things into divs etc...

Do your content, then style your content, proper way.

Since what css is all about is styling your content anyhow, this is the best way to go. If you have ideas for your styles as you go along, write them, this way you have it in your mind and can write it down.




abbeyvet -> RE: What comes 1st css or template? (9/21/2004 12:20:05)

What I do is build an image of the site first, what I want it to look like and the layout EXACTLy as it will be.

Then I look at that and just think about what would be the best way to lay it out with CSS, given that I have all the main images I will use on the site right there, it is easy to figure out what size they are and what space they will need in the final design.

The I build the CSS and the template page at the same time. I create an empty css, and a blank page. I have a good idea what I want so I just start adding the divs, in the page and in the css, one by one, styling them as needed as I go.

To be honest it is often quickest (an handiest if you are lazy like me!!) to take a previous stylesheet that was used on a site where a similar css structure was required - that is a similar sequence of divs etc, and just alter it. I quite often do that and it then takes only a very short time to have the lot built and the two sites looking utterly different although using the essentially the same stylesheet.

Sometimes you can get a site designed literally in minutes doing that - for example I did this site for a company:

http://www.minerva-group.co.uk/

Then with a few alterations of images and colors in the CSS had this site for one of their subsidiaries:

http://www.trainingworksireland.com/

So "designing" the second site took practically no time at all.




bobby -> RE: What comes 1st css or template? (9/23/2004 12:39:45)

I'm with Kathrine on this one...

I build the image first, as a guideline so I know what I want it to look like when it's done.

Then, since I use CSS for layout as well as styling the content, I build it at the same time I'm building the template page.

Layout first, positioning, colors, images, etc. Then get to styling the fonts and content.

But as Dan pointed out, it really depends on your own personal design style, process and preference...




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875