Hello
I have several pages on a site and on which I wish to place certain styles (font, etc).
So, I have a basic.css file which lools like this:
body { background-color: #ffffff; font-family: verdana; margin: 10% 0% 0% 0%; text-align: justify }
That is all I have on the page - not a word more.
In the HTML file itself, I have placed this between the <HEAD> tags:
<LINK REL=StyleSheet HREF="basic.css">
When I visit the HTML page, however (I have them both on the server), I am not able to see the CSS elements I have stipulated in the basic.css file.
What am I doing wrong?
One further question, if I may. How would I place an image in the basic.css file which would appear in all the HTML pages I have (that is, in the same position). At the moment I have:
<IMG STYLE="position:absolute; WIDTH:632px; HEIGHT:83px" SRC="BarUse.jpg">
Do I simply place this is the basic.css file? Don't I need to reference it in the HTML file?
Many thanks.
Steve
I have several pages on a site and on which I wish to place certain styles (font, etc).
So, I have a basic.css file which lools like this:
body { background-color: #ffffff; font-family: verdana; margin: 10% 0% 0% 0%; text-align: justify }
That is all I have on the page - not a word more.
In the HTML file itself, I have placed this between the <HEAD> tags:
<LINK REL=StyleSheet HREF="basic.css">
When I visit the HTML page, however (I have them both on the server), I am not able to see the CSS elements I have stipulated in the basic.css file.
What am I doing wrong?
One further question, if I may. How would I place an image in the basic.css file which would appear in all the HTML pages I have (that is, in the same position). At the moment I have:
<IMG STYLE="position:absolute; WIDTH:632px; HEIGHT:83px" SRC="BarUse.jpg">
Do I simply place this is the basic.css file? Don't I need to reference it in the HTML file?
Many thanks.
Steve