CSS and linking to your content [modified]
-
Hello everyone, My question has to do with CSS. I have this very simplistic website www.iofreaks.com , and I am trying to apply CSS’s to it. So that way further down the road it will be easier to manage. Now my first question is this: Q.) When using CSS’s, do you create more than one CSS for the <head> ,<body> and <table>’s? The reason I ask this, is because I thought that using CSS’s intention is to enable to you alter large amounts of information from “ONE” or very few documents? My next question is this: Q.) When specifying the following: table.one {table-layout:fixed} How do you relate to “ table.one ” in your index.html? I know there has to be a way to link them together to apply what you have in the CSS document, but how do you do this? Do you use in index.html to relate to the CSS document? I am very confused on this. I would appreciate any help. I will also include what I have in my css1.css file at the bottom of this page. V/R Rob @charset "utf-8"; /* CSS Document */ body {background-color:#D5D5D5} table.one {table-layout:fixed} <table class="one" width="510" height="166" border="1" align="center" cellpadding="0"> </table></table></table></body></head>
modified on Thursday, April 23, 2009 5:38 PM
-
Hello everyone, My question has to do with CSS. I have this very simplistic website www.iofreaks.com , and I am trying to apply CSS’s to it. So that way further down the road it will be easier to manage. Now my first question is this: Q.) When using CSS’s, do you create more than one CSS for the <head> ,<body> and <table>’s? The reason I ask this, is because I thought that using CSS’s intention is to enable to you alter large amounts of information from “ONE” or very few documents? My next question is this: Q.) When specifying the following: table.one {table-layout:fixed} How do you relate to “ table.one ” in your index.html? I know there has to be a way to link them together to apply what you have in the CSS document, but how do you do this? Do you use in index.html to relate to the CSS document? I am very confused on this. I would appreciate any help. I will also include what I have in my css1.css file at the bottom of this page. V/R Rob @charset "utf-8"; /* CSS Document */ body {background-color:#D5D5D5} table.one {table-layout:fixed} <table class="one" width="510" height="166" border="1" align="center" cellpadding="0"> </table></table></table></body></head>
modified on Thursday, April 23, 2009 5:38 PM
Start here....[^]