Jump to content

seasonc

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by seasonc

  1. Yeaaaaaaaaaaa. It's working now! Thank you guys. Thank you Dsonesuk. I used href="../css/hexysal_stylesheet.css" and it works. The problem was with the location. Thanks guys.
  2. @TheScientist: This is what the <head> section of my html doc looks like: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html> <head> <title>Home-My Website</title> <link rel="stylesheet" type="text/css" href="linonexy_stylesheet.css" /> </head> <body> <table width="100%" border="0" margin="center" height="100%" style="backgroud-color:white" align="center"><tr>. NOTE: You might be confused, i know i wrote href="hexysal_stylesheet.css" above. because i was using that initially but later changed. So am not making any mistake with the file name. What i have below is correct and it's the name i saved my external css file with: href="linonexy_stylesheet.css". What do you guys mean by having the files in relative to each other? The html and the css files are not in the same folders. They are not even in the same directories. I was beginning to think that maybe they should be. As the document is now, when i launch or test the project am working on, the contents will display but without any style. But if unlink the external css and place all the style in the <head> section of the document (Internal css) everything works just fine. I have edited my topic above and attach a screenshot of my webpage without the css. Pls help out. Thanks guys!
  3. Niche: Thanks for replying, but you still haven't answered if it can be done with my computer. That is saving the css file on my computer. Because i have tried over and over and it ain't working. Or is there anything wrong withe the css code above?
  4. Hey guys, am new to css, and i know how embarrassing this question probably is, but am experiencing doing it on my own.I want to know, can't you save a css file on your computer with a .css extension and call it? Or do you need to upload the file to a server or something like that? Because from the article i was reading, it was sort of confusing. I know it's silly but help me out. This is what i did, i saved the file on my computer as: hexysal_stylesheet.css. And on my html document, i used<link rel="stylesheet" href="hexysal_stylesheet.css" type="text/css" /> And this is the external css file:body { margin: 0; padding: 0; padding-top: 10px; text-align: center; } #title { background-color:#FFFFFF; font-family:Agency FB; font-size:48px;+ font-weight:bold; color:#003333; padding:10px; margin-left:46px; } h3 { font-family:Arial; font-size:22px; font-weight:bold; margin-left:35px; } #centered { width: 1000px; text-align: left; border: 0px; padding: 0; margin: 0 auto; } .sidebar-box { background-color:#000000; width:220px; height:600px; border:1px solid gray; overflow:scroll; position:fixed; } But it's not working so am beginning to think that when the article said copy this css file and save, it mean save on your server or something. My question is, can i call an external css i saved on my computer? I know it's funny, pls just help me out after you are done laughing. Thanks guys. ...One of the images shows what the Webpage looks like with external css not responding:... ...The others shows what it looks like with internal css
×
×
  • Create New...