Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

How Often Do You Use Css?


20 replies to this topic

#1 DSGamer3002

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 24 posts
  • Gender:Male
  • Location:Business, Nonya
  • Interests:Video games, computers, coding, graphics, running (track), music, and food.

Posted 17 February 2008 - 11:22 AM

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?

#2 rvalkass

    apt-get moo

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3,107 posts
  • Gender:Male
  • Location:Devon, England
  • Interests:At the moment, Physics mainly!
  • myCENT:69.42
  • Spam Patrol

Posted 17 February 2008 - 12:04 PM

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 :P CSS makes life so much easier. Even for the smallest sites I design, I'll still use a separate CSS file.

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

#3 truefusion

    Coincidence is non-sequitur, therefore everything has a reason for its existence (except if they are eternal).

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3,216 posts
  • Gender:Male
  • Location:No, not there. Not there either. Yes, you'll never figure it out.
  • Interests:God, Christianity.
  • myCENT:86.16

Posted 17 February 2008 - 05:07 PM

View Postrvalkass, on Feb 17 2008, 07:04 AM, said:

...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:
font[color=blue] {
color: blue;
}

center {
text-align: center;
}

u {
text-decoration: underline;
}

etc...


#4 t3jem

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 519 posts
  • Gender:Male
  • myCENT:ZERO

Posted 17 February 2008 - 05:40 PM

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.

#5 threepach

    Newbie [Level 3]

  • Kontributors
  • PipPipPip
  • 42 posts
  • Gender:Male

Posted 18 February 2008 - 01:21 PM

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.

#6 fffanatics

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 936 posts
  • Location:West Chester, PA

Posted 18 February 2008 - 01:50 PM

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.;

#7 bishoujo

    Privileged Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 545 posts
  • Gender:Female
  • Interests:Beauty, Health, Technology, Travel, Gaming, Manga, Anime, Movies, Books, Cooking
  • myCENT:1.87

Posted 18 February 2008 - 01:51 PM

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.

#8 Wetton

    Newbie [Level 2]

  • Kontributors
  • PipPip
  • 34 posts
  • Gender:Male
  • Location:Behind You!

Posted 27 April 2008 - 08:07 PM

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.

Edited by Wetton, 27 April 2008 - 08:13 PM.


#9 pasten

    Advanced Member

  • Kontributors
  • PipPipPipPipPipPipPip
  • 119 posts
  • Gender:Male
  • Location:In front of my monitor.
  • myCENT:34.77

Posted 29 July 2008 - 07:48 AM

Talking about <font> tags, I think we should never talk about about it in future. It is now just a relic. Its officially 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.


Edited by nitish, 29 July 2008 - 07:52 AM.


#10 kudmus

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 249 posts
  • Gender:Male
  • Location:Harare, Zimbabwe

Posted 29 July 2008 - 08:35 AM

Quote

Even beginners should not be taught about font tags. Most often they would just confuse with its code in css.
I couldn't agree more. I've noticed that those whose use HTML instead of CSS don't have strong facts to justify their choice. They are simply trying to resist change.

Quote

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.
Why not change it in CSS whenever you think the font is now obsolete. Besides I don't like sites that keep changing their looks. I believe there should be some uniformity in your pages and pages shoud not change the way they look in a matter of days. Imagine if one day you see your Google search results in Verdana, the next day in Lucida console and then days later they change it to Times New Roman. I don't think sane people would love that.




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users