|
|
|
|
![]() ![]() |
Feb 17 2008, 11:22 AM
Post
#1
|
|
|
Newbie [Level 1] ![]() Group: Members Posts: 24 Joined: 5-February 08 From: Business, Nonya Member No.: 57,376 |
CSS is basically made to make your html coding a heck of a lot easier. However, sometimes I prefer to use html instead of CSS since it sometimes gets frustrating to refer to the same old style sheet and use an old font ID you made about a week ago. I find it a lot more efficient to just type out the specified font color/style/size in the <font> tag than to use an individual <div> or <table> for certain fonts you'd like to use. Sure, it's very helpful a lot of the time to use CSS in most cases, since it's kind of like a very simplified version of PHP but in a different case, but sometimes for small sites it's better to just not deal with another file.
How do you usually use CSS, and how often? |
|
|
|
Feb 17 2008, 12:04 PM
Post
#2
|
|
|
apt-get moo ![]() Group: [MODERATOR] Posts: 2,111 Joined: 28-May 05 From: Hertfordshire, England Member No.: 7,593 ![]() |
I've used CSS as soon as I knew it existed. At the time I thought there must have been an easier way to do fonts than copy and pasting the same font tags over and over. Making a change to one style across an entire site was also a chore: find and replace in dozens of separate files, just to slightly change the colour of a font
If you're still using the font element, you'd better get out of that habit pretty quickly. When HTML5 comes into play, the font element is going to disappear, along with things like the center element and u for underline. Check the changes to see what will happen with HTML5: http://www.w3.org/TR/2008/WD-html5-diff-20...absent-elements |
|
|
|
Feb 17 2008, 05:07 PM
Post
#3
|
|
|
Ephesians 6:10-17 ![]() Group: [MODERATOR] Posts: 1,893 Joined: 22-June 05 From: The World of Gentoo Member No.: 8,528 ![]() |
...along with things like the center element and u for underline. Ah, i don't see that as a problem. HTML5, i hear, will make XHTML be more like what it's supposed to be—have xml attributes; that is, you should be able to make your own elements. So all i'd have to do is: CODE font[color=blue] {
color: blue; } center { text-align: center; } u { text-decoration: underline; } etc... |
|
|
|
Feb 17 2008, 05:40 PM
Post
#4
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 522 Joined: 9-February 07 Member No.: 38,519 |
I use CSS all the time, i love being able to change the whole style of my entire website by changing just one file, I've actually made a script one that would change my style according to the time of year. I definitly like CSS and use it in all my websites now.
|
|
|
|
Feb 18 2008, 01:21 PM
Post
#5
|
|
|
Newbie [Level 3] ![]() ![]() ![]() Group: [HOSTED] Posts: 42 Joined: 17-February 08 Member No.: 58,025 |
i think CSS is not going to make design easier for designer, it make is a bit more complicated but in return your website will be loaded much quicker than before. when you have external css file saved on temporary internet file it means that all formating details can be referred to the saved file and that helps to reduce size of the page which saves a lot of time for visitor.
an example of that are forums, if you have noticed forums with loads of tables and details are loading quicker than you expect. |
|
|
|
Feb 18 2008, 01:50 PM
Post
#6
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 937 Joined: 14-April 05 From: West Chester, PA Member No.: 5,636 |
I use CSS in every page of a website for anything that is more than a single-use formatting change. I use some CSS in my layout since to me tables are just fine. I know people say you get better google ratings and quicker loads with CSS but if you research it, you really dont. When you are working with a huge db of information, the only possible way to display it is with tables and they load just fine. The point of css is to make altering the format of you website quick and easy. It basically took the OOP principle of regular programming and adapted it for html. Therefore, use CSS for things that happen all the time on your page or that probably will happen a bunch and format the rest however you would like.;
|
|
|
|
Feb 18 2008, 01:51 PM
Post
#7
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: [HOSTED] Posts: 465 Joined: 14-September 07 Member No.: 49,954 |
I use it almost all the time. It's very handy and I don't have to copy and paste a lot of codes. However, I will use html if I am using different layouts/fonts for individual pages in a website.
|
|
|
|
Apr 27 2008, 08:07 PM
Post
#8
|
|
|
Newbie [Level 2] ![]() ![]() Group: [HOSTED] Posts: 34 Joined: 27-April 08 From: Behind You! Member No.: 61,399 |
CSS Vs HTML. There are certain things you can do in CSS to add to your basic HTML to customize it easier. I don't use CSS much, I keep things simple with HTML/XMl. I sometimes use JavaScript, but yeah, mainly I stick to HTMl. If you are new to web design, I'd say HTML is the easiest to learn, and just stick to that till you are fluent, before moving on.
Of course, since then they've made XHTML and HTML5 Etc, I tend to use the same basic HTML all the way through Thanks. This post has been edited by Wetton: Apr 27 2008, 08:13 PM |
|
|
|
Jul 29 2008, 07:48 AM
Post
#9
|
|
|
Newbie [Level 2] ![]() ![]() Group: [HOSTED] Posts: 35 Joined: 19-September 06 From: Higara Member No.: 30,215 |
Talking about <font> tags, I think we should never talk about about it in future. It is now just a relic. Its official
ly discarded from html5 and finds no place in any version of xhtml. <font> is purely presentational and it makes the code look horrible! Css wins over it any situations. In past people complained lack of support for css in brosers, bu now what even IE 6 has more than enough support for it. css is easy to maintain. I am surely for the css. Even beginners should not be taught about font tags. Most often they would just confuse with its code in css. Ok if you are talking about changing specific attributes for text do it via css why you want to go for font tags. I only use css no matter what. In hml of course i sometimes use those codes but only for testing purposes, as you already told it is easier. This post has been edited by nitish: Jul 29 2008, 07:52 AM |