1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

CSS Css Linked In Html

Discussion in 'Web Development' started by Dizzie92, Nov 19, 2007.

  1. Dizzie92

    Dizzie92 New Member

    Okay, so to make it easier for people who use my template (if any lol) I want the css to be external and linked into the index. Only problem is that it never works. Im starting up a huge project and I want it to be more professional then the 2 I already made. This is what I've seen on how to link the css.
    <LINK rel="stylesheet" type="text/css" href="style.css">
    Problem is it doesnt work, and I kno my css is right because I just started it and put it in the <head> tag which worked, but it doesnt when I try linking it and taking the whole CSS out of the tag. Can someone please help me!!
  2. cyberquest

    cyberquest New Member

  3. Dizzie92

    Dizzie92 New Member

    still not working, this is what I started and the bg image doesnt show up

    <TITLE>Darker Design (c) Dizzie92</TITLE>
    <LINK href="style.css" rel="stylesheet" type="text/css"> 

    And the CSS-
    <style type="text/css">
    body {background-image: url('images/bg.png')}
    any1 have any ideas?
  4. cyberquest

    cyberquest New Member

    you might try looking at the possible extra white space

    yours reads:

    body {background-image: url('images/bg.png')}
    Try it like this:

    body { background-image: url('images/bg.png'); }

    body {
    background-color: #FFFFFF
    background-image: url (location of the image);

    body { background: url("http://website.com/images/bg.png") }
    colours and backgrounds
  5. Dizzie92

    Dizzie92 New Member

    Still Not Working

    okay, im using a free web editor now, and still its not working! I preview it on the css panel and the background looks right. But I preview in the index panel and it doesnt work! Im really loosing my mind here, does any1 kno how to do this using evrsoft first page 2006?