Build your own website the right way using html & css

Chapter 4 page 125 Figure 4.2 Reducing a paragraph’s width to 50% of neighboring paragraphs

I recreated the stylesheet by viewing the source from the downloaded web file. I saved it as html file. It would not open using Internet Explorer.

Anybody, pls. help!

Hi espi62, welcome to SitePoint! :slight_smile:

Unfortunately I don’t have that book (I thought I did :blush: ) so I have to ask a few questions.

Could you explain exactly what you did? Is there a html file with an external css file linked to it? Or is the CSS in the head section of the page itself?

What did you save as html? You don’t want to save CSS on its own as a .html file. You would save it as a .css file. So, that’s why I’m asking for clarification of what you are actually doing there.