Reply
Override CSS?
Old 04-12-2008, 10:44 PM Override CSS?
Skilled Talker

Posts: 96
Name: Sandy
Hi Everyone,

My friend is taking a class at a Technical College and is learning all of the depreciated stuff. CSS is a small portion of this class and they were told that Level 2 will include more CSS. When they asked the teacher why they were learning so much depreciated coding he replied, "you need to know the old way because you will need to override your CSS at times". Can anyone tell me if they have ever used depreciated code to override their CSS? I have not so I am interested in finding out if this really happens.


I don't mean to assign the word depreciated to anything other than CSS but when I first took my classes, we learned about the old way but didn't style our pages using it. We were shown what the old way was, but we were told to do our assignments the new way.. with CSS. She has learned tables... and that's not that bad, because she may use tables in some sort and she may run into the client that wants their table pages brought into CSS and then she would need to know how tables work. But she is learning for about 6 lessons now, how to style the page like this:
<hr style="color: blue; background-color: blue; height: 3; width: 100%" />
<hr style="color: blue; background-color: blue; height: 3; width: 100%" />

I think you know what I mean. She hasn't yet, in 6 lessons learned the DOCTYPE. She hasn't yet learned how to validate. On some of her pages, the images can only be seen in IE - so she is not learning how to create web pages for all borwsers.. and yet she is on lesson 6. I guess I am really upset "for her" as her teacher has made excuses not to be in class and then when it should be at least 1 1/2 hours of lecture every week, is only getting 1/2 hour. She paid $210 for the class and I am wondering if she isn't getting her monies worth, especially when she is not learning the basics. Validating, DOCTYPE and even CSS.

I didn't mean to assign everything to the word depreciated. I have also been taught the old way, but that's it.. taught that it existed but not told to style my pages with it.

Thanks for your time
__________________
Sandy K
sandyk3 is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 04-13-2008, 04:13 AM Re: Override CSS?
Experienced Talker

Posts: 47
Name: Bruce
Yeah it sounds like she's wasting some time and money.

I've never learned the old way of styling pages. I don't think you even need to know how the old way of styling pages with tables works. You can just look at the webpage and think of how you'll recreate it in CSS. It's not much different from looking at a mockup image or drawing and creating it.

It's good to be taught the old ways exist and to learn a little bit about it. But it seems that the old way could be taught in one lesson.
SillyWilly is offline
Reply With Quote
View Public Profile
 
Old 04-13-2008, 05:43 AM Re: Override CSS?
melanko's Avatar
Average Talker

Posts: 15
Definitely. She should bring it up with someone within that school that she feels that the class is not being taught adequately and is not getting her money's worth.
melanko is offline
Reply With Quote
View Public Profile
 
Old 04-13-2008, 09:59 AM Re: Override CSS?
LadynRed's Avatar
Super Moderator

Posts: 6,535
Location: Tennessee
Quote:
"you need to know the old way because you will need to override your CSS at times".
I'm sorry, but that's pure hogwash. "Override" css ?? Why ? You can style virtually every element with css, so what's to override ? Granted there are some things, like <hr> & <legend> that practically defy styling, but that's truly minimal. It's one thing to start with the BASICS, but that doesn't mean teaching the 'old way'. A passing reference to the way things used to be done is helpful for students to understand how far things have come since those days - and how NOT to code. It's good to understand what's deprecated - and why - but I see no reason to TEACH it as the way to do things.

She SHOULD bring it up to the school, as should every other student in the class. It's not really helping the students the way it's being done. Unfortunately, there are far, far too many schools that are still teaching this antiquated method of building web pages. It's changing, but at a snail's pace. I also take issue with teaching students to only use a WYSIWYG editor, and that happens a lot too. Like any other skill, you need to have a rock solid understanding of the basics and a wysiwyg editor won't do that.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-13-2008, 11:41 AM Re: Override CSS?
Skilled Talker

Posts: 96
Name: Sandy
I agree with everyone here. The only good thing is she is learning to hand code. They don't want them to use an editor yet. I'm just shocked she is learning this way and I have told her to say something.. I think having you agree with me, may push her to complain..

Thank you all for your responses!!
__________________
Sandy K
sandyk3 is offline
Reply With Quote
View Public Profile
 
Old 04-13-2008, 12:05 PM Re: Override CSS?
Webmaster Talker

Posts: 659
Location: Kokkola, Finland
you may of course want to over-ride a specific element on page that would fall under the control of a global style sheet, and if you only had that one instance on that page then you could use an inline style like

<p style="color:red;">Happy Christmas to everyone!!!</p> but there's no way you would do anything in deprecated html (note the spelling
davemies is offline
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Old 04-13-2008, 01:53 PM Re: Override CSS?
King Spam Talker

Posts: 1,083
There might be a few rare times when the old stuff would be used per the example above.

A more valid reason to learn the old is so you can remove it when updating a site for someone that was done the old way. If your pages are not responding to the CSS and you don't have a clue what to look for you could be in trouble.

Last edited by colbyt : 04-13-2008 at 01:53 PM. Reason: typo
colbyt is offline
Reply With Quote
View Public Profile
 
Old 04-13-2008, 02:58 PM Re: Override CSS?
Skilled Talker

Posts: 96
Name: Sandy
Quote:
Originally Posted by davemies View Post
<p style="color:red;">Happy Christmas to everyone!!!</p> but there's no way you would do anything in deprecated html (note the spelling
My question would be, why not set up a class or a div for this. Yes, you are only using it once on the page, but it can still be put in CSS... there would be no reason to say this HAD to be in HTML.

I've seen it both ways.. deprecated and depreciated. Guess I will start using deprecated.
__________________
Sandy K
sandyk3 is offline
Reply With Quote
View Public Profile
 
Old 04-13-2008, 02:59 PM Re: Override CSS?
Skilled Talker

Posts: 96
Name: Sandy
Quote:
Originally Posted by colbyt View Post
A more valid reason to learn the old is so you can remove it when updating a site for someone that was done the old way. If your pages are not responding to the CSS and you don't have a clue what to look for you could be in trouble.
This I totally agree with but for her to spend 6 lessons on coding with it - that's just ridiculous.
__________________
Sandy K
sandyk3 is offline
Reply With Quote
View Public Profile
 
Old 04-13-2008, 03:14 PM Re: Override CSS?
Webmaster Talker

Posts: 659
Location: Kokkola, Finland
Quote:
Originally Posted by sandyk3 View Post
My question would be, why not set up a class or a div for this. Yes, you are only using it once on the page, but it can still be put in CSS... there would be no reason to say this HAD to be in HTML.

I've seen it both ways.. deprecated and depreciated. Guess I will start using deprecated.
either way would be fine, the amount of code is similar and putting it in a stylesheet makes it more obvious (for maintenance purposes: if you left it in the page you might forget it...)

i was just using it as an example of overriding the default css defined <p>
davemies is offline
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Old 04-13-2008, 03:42 PM Re: Override CSS?
Skilled Talker

Posts: 96
Name: Sandy
Quote:
Originally Posted by davemies View Post
i was just using it as an example of overriding the default css defined <p>
oh.. sorry... didn't mean any harm. thank you for responding to my posts!!
__________________
Sandy K
sandyk3 is offline
Reply With Quote
View Public Profile
 
Old 04-13-2008, 03:51 PM Re: Override CSS?
Webmaster Talker

Posts: 659
Location: Kokkola, Finland
Quote:
Originally Posted by sandyk3 View Post
oh.. sorry... didn't mean any harm. thank you for responding to my posts!!
no need to apologise -just thought i'd explain
davemies is offline
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Old 04-15-2008, 12:43 AM Re: Override CSS?
joder's Avatar
Flipotron

Posts: 6,443
Name: James
Location: In the ocean.
style= is inline CSS. It is still CSS. But I would put it in an external stylesheet.
joder is offline
Reply With Quote
View Public Profile
 
Old 04-15-2008, 02:35 AM Re: Override CSS?
Webmaster Talker

Posts: 659
Location: Kokkola, Finland
Quote:
Originally Posted by joder View Post
style= is inline CSS. It is still CSS. But I would put it in an external stylesheet.
yep i called it inline; as i said before it it makes no real difference whether you put a single-use style in the page or in an external style sheet.
davemies is offline
Reply With Quote
View Public Profile Visit davemies's homepage!
 
Reply     « Reply to Override CSS?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.21635 seconds with 12 queries