CSS in Frontpage

Discussion in 'HTML - XHTML - CSS' started by Sib_wolf, May 29, 2007.

  1. Sib_wolf New Member

    How do I get CSS to work in frontpage?
  2. hazman New Member

    Hello, could you be more specific. Thanks
  3. Scoooooty New Member

    Im not sure how its done in Frontpage as I have not used that for such a long time, but you probly just have to load the css file for the template.
  4. lmfrench New Member

    you have to go to file - new, then select "text file" and that will open a text only file...you can link it to an .html file that you have saved and then when you edit the CSS and click "save" you can actually hop back over to your HTML and see the changes immediately...which is one thing I LOVE about Frontpage...
  5. Sib_wolf New Member

    Thank-you lmfrench, but I lost you at the linking to html file.

    How do I link the txt file to the html file in Frontpage?
  6. lmfrench New Member

    When you have your html file open in Frontpage and you are editing it, there is a link to your CSS right in the header, just make sure that the CSS is saved in the same file as the html and link it like this:

    <link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" />

    or whatever you name your stylesheet put after the href=

    As I said you have to make sure that they are saved in the same file on your computer, but as long as they are both in the same folder and you put the link in your html as I have shown, then you will be able to jump from your css to your html and see your changes...just make your changes in the css file, but then you have to save them (not save as...just save) and then you can jump back to the html that is attached to it and you will immediately see the changes you made to the coding.
  7. Sib_wolf New Member

    Wow, so ezy lol. Thank-you!!!
  8. lmfrench New Member

    No problem...glad I could help! :)