Nov 22, 2009
Pages: 1, 2, 3

How Often Do You Use Css? - As opposed to using simple <font> and <div> tags

free web hosting

Read Latest Entries..: (Post #20) by y4nzi on Dec 23 2008, 12:26 PM.
I've used CSS since I first discovered it. It makes formatting and coding so much easier instead of having to stick tags infront of everything I can have it all nice and neat in one file separate from the rest of my coding.And like xpress said, that way you don't have to go trawling through the website when you want a change of colour scheme to change very single tag I find CSS an essential part of any of my websites whether small or large, its convenient easy and makes everything organi...
read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion > MODERATED AREA > Computers > Programming Languages > CSS (Cascading Style Sheets)

How Often Do You Use Css? - As opposed to using simple <font> and <div> tags

DSGamer3002
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?

Comment/Reply (w/o sign-up)

rvalkass
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 tongue.gif 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

Comment/Reply (w/o sign-up)

truefusion
QUOTE(rvalkass @ Feb 17 2008, 07:04 AM) *
...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...

Comment/Reply (w/o sign-up)

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

Comment/Reply (w/o sign-up)

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

Comment/Reply (w/o sign-up)

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

Comment/Reply (w/o sign-up)

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

Comment/Reply (w/o sign-up)

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

Comment/Reply (w/o sign-up)

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

Comment/Reply (w/o sign-up)

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

 

 

 


Comment/Reply (w/o sign-up)

Latest Entries

y4nzi
I've used CSS since I first discovered it. It makes formatting and coding so much easier instead of having to stick tags infront of everything I can have it all nice and neat in one file separate from the rest of my coding.
And like xpress said, that way you don't have to go trawling through the website when you want a change of colour scheme to change very single tag smile.gif
I find CSS an essential part of any of my websites whether small or large, its convenient easy and makes everything organized. I don't see any negatives at all!

Comment/Reply (w/o sign-up)

xpress
QUOTE (Forte @ Dec 15 2008, 05:59 AM) *
I don't use CSS at all. As far as I'm concerned, it doesn't have enough functionality to bother learning it. I mean, controlling text to be the same on every page... that's not that great. All of my needs are taken care of by using the "include" function in PHP and writing pages in HTML.


CSS isn't that much hard Forte. It is pretty easy....and will give you much more control over the layout and look of your website. CSS is fully functional. You can do many things with CSS...which you can't do alone with HTML.

I'll tell you with some example. Suppose you have a website completely designed only in HTML, and later decided to remodel the look of the website. Then you must manually change the code in the every page. Conent may be same....but all code should be changed to change the look. But if you have for your website....you don't have to change a single webpage to change the look. Yuu can simply change a single Style Sheet (CSS) to completely change the look of your site. Thats the power of CSS.

In CSS controlling text may not same on every page....its your choice. You can define as many classes as you wish to control the display of a page. You can control all HTML tags with CSS. And you can even go for further complexity. For example you can choose one color to <h1> and another color to the same <h1> tag which appear between <div> tags....and so...on....
Simply CSS will make your web designing experience much more easy and interesting. smile.gif

QUOTE
To me, the W3C saying that HTML shouldn't be able to do color and font tags, and that should be left to CSS is the same as saying "Well when you walk into a Chinese resturant, you have to speak Chinese." It's extra effort put forth when the first language sufficed.


I don't know about this saying..but I will give you my own saying tongue.gif ....Using HTML for styling your website is like stitching clothes to your skin permanently. Using CSS is like wearing T-shirts, Jeans etc...you can change the dresses and colors whenever you like. Which is better? tongue.gif

Comment/Reply (w/o sign-up)

Forte
I don't use CSS at all. As far as I'm concerned, it doesn't have enough functionality to bother learning it. I mean, controlling text to be the same on every page... that's not that great. All of my needs are taken care of by using the "include" function in PHP and writing pages in HTML.

To me, the W3C saying that HTML shouldn't be able to do color and font tags, and that should be left to CSS is the same as saying "Well when you walk into a Chinese resturant, you have to speak Chinese." It's extra effort put forth when the first language sufficed.

Comment/Reply (w/o sign-up)

Lightning73
I only use CSS for bigger sites. Not for my small sites that calculate stuff and such(experiments).
I love it though. Just typing out the code once and then being able to use it everywhere with the <div> tag.
I seriously recommend anyone not using CSS to find some tutorials with Google and start learning right away. That is if you make sites of course.

Comment/Reply (w/o sign-up)

jmark
I've been designing sites for a month and i have just learn CSS and DIV last 3 months and it really makes my designing easier. and i feel like i've just step up to the next level of my skill in web designing.. smile.gif

Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2, 3

Searching Video's for css, opposed, simple, tags
See Also,
advertisement


How Often Do You Use Css? - As opposed to using simple <font> and <div> tags

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com