Just wondering, if i make a website, and then want to add CSS to it, will it be a pain in the arse to add? or should i think about adding the CSS in the beginning.
im asking as i fancy starting a website, but dont know any CSS yet, and im wondering if i should wait until ive learnt it.
Updating code
Started by wilk3sy, Dec 08 2007 05:10 PM
12 replies to this topic
#1
Posted 08 December 2007 - 05:10 PM
|
|
|
#2
Posted 08 December 2007 - 09:52 PM
CSS can be applied after a website is designed. The glory of CSS is that you can set the styles of all anchors, and that style will be applied across all pages that use that CSS.
However, in many cases, you do not want EVERY link to have the same style, nor every table to have the same style. So that would require setting the elements class attribute, which I would find to be a pain in the arse after the site is complete.
So, CSS can be applied after a website is designed, but you would probably find it best to code the HTML and CSS simultaneously.
However, in many cases, you do not want EVERY link to have the same style, nor every table to have the same style. So that would require setting the elements class attribute, which I would find to be a pain in the arse after the site is complete.
So, CSS can be applied after a website is designed, but you would probably find it best to code the HTML and CSS simultaneously.
#3
Posted 09 December 2007 - 12:01 AM
Beside adding element class attributes, it can be annoying to remove all the attributes you've already given to all your tags, to get the site looking good in the first round.
I'll recommend you to use HTML and CSS when you start coding, instead of applying it later.
I'll recommend you to use HTML and CSS when you start coding, instead of applying it later.
#4
Posted 14 December 2007 - 04:23 AM
I just created a website for a project I had, and I had to use CSS and Valid XHTML Strict 1.0, some of my friends did not plan it well and they (after it was finished) applied CSS, but they had a very big problem, they had to edit all those pages, but I planned it well and done ONE HTML file with the template and CSS ready then I just copied and pasted it for the other pages and added the content. It is way easier and while I just took about 4 hours work my friends took them a whole week.. but f course it is up to you, it doesn't really make a difference to the result.
#5
Posted 16 December 2007 - 12:09 PM
cheers dudes! i need to get on the task soon! i bought 2 books, one teaching html, xhtml and css.... the other teaches ajax and php.
#6
Posted 24 December 2007 - 05:43 AM
Good luck to you then :) If you have any problems just ask.
#7
Guest_Jordan_*
Posted 24 December 2007 - 08:20 AM
Guest_Jordan_*
Depending on how you design your website and CSS it may not be that difficult at adding CSS. If you don't know CSS or HTML I suggest you create a small "test" website in pure HTML first. Then you will learn the basics of HTML. Once you know it then move on to CSS and start adding tags or create a new website with CSS tags.
However, I agree with previous posts. In most cases it is better to add the CSS as you are creating the HTML.
However, I agree with previous posts. In most cases it is better to add the CSS as you are creating the HTML.
#8
Posted 18 January 2008 - 08:24 AM
I am using Template Engines writed in PHP. Why? Because you can anytime change all site design, including images and css :)
www.jarmalavicius.lt | www.github.com/reekenx | www.twitter.com/reekenx
#9
Posted 18 January 2008 - 10:16 AM
Which template engine are you using? I only have a little experience with template engines using Python.
#10
Posted 18 January 2008 - 12:57 PM
I've used Smarty a few times, never actually understood how to use it...
#11
Posted 18 January 2008 - 11:45 PM
Which I using? I have writed it my self! Som time ago I have used TinyButStrong, I think its small and very useful engine :)
www.jarmalavicius.lt | www.github.com/reekenx | www.twitter.com/reekenx
#12
Posted 19 January 2008 - 12:54 AM
ReekenX said:
Which I using? I have writed it my self! Som time ago I have used TinyButStrong, I think its small and very useful engine
Sidewinder said:
I've used Smarty a few times, never actually understood how to use it...


Sign In
Create Account


Back to top









