Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. CSS and linking to your content [modified]

CSS and linking to your content [modified]

Scheduled Pinned Locked Moved Web Development
questionhtmlcssdatabasecom
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rbwest86
    wrote on last edited by
    #1

    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

    D 1 Reply Last reply
    0
    • R rbwest86

      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

      D Offline
      D Offline
      DoctorMick
      wrote on last edited by
      #2

      Start here....[^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups