In the last section of this course we developed a basic Web page using tables and inline style attributes
you might recall.
We styled table borders fonts headings and background colors.
You may have noticed this process was quite inefficient we repetitively had to keep placing the same
style attributes over and over again for any document element that we wanted to apply a style to.
For example if we wanted to change the font color and typeface of text in three separate areas we would
need to change the font face and color attribute in each instance.
This made the process inefficient in the code quite lengthy secondly when we put the Web page together
we put the contents in tables using rows and columns this helped make the page look organized but there
really wasn't too much flexibility in the positioning of our content.
We were more or less limited to left center or right alignment attributes more so we were unable to
stack multiple objects on top of one another for example if we inserted an image into a table cell we
could not place any other object underneath or on top of that image.
A concept known as layering in this section of the course we're going to explore the world of CSX cascading
style sheets CSX helps eliminate all of these issues and makes the development process much more flexible
efficient and browser friendly once you start developing sites using CSX you'll likely never use table
based website layouts again.
This doesn't mean you'll never use tables.
Tables are still an excellent way to layout tabular data but you won't be using them for layout and
styling your website elements in content.
So what exactly is the USS
think of a cascading style sheet as a list of style rules that you can refer to at any time to format
your text images tables and just about any other object on your web page.
These style rules are entirely user defined meaning you make them based on your needs.
They are highly customizable and easy to use furthermore you can link each page on your website to a
single style sheet and update hundreds or even thousands of pages simultaneously.
At this time you might be wondering what a cascading style she looks like.
Well we touched on it in the beginning of the last section if you recall we introduced the style tags
and created a single a single style rule to define the web page text color
if you've forgotten then don't worry we'll be working extensively with style sheets.
During this section.