Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About DocTech25

  • Rank
  1. I'm sorry, I misunderstood you earlier. Thanks for your help, finally got it working. Is there a reason it has to be relative to the CSS file and why it can't be relative to the URL?
  2. Thanks, I will be sure to try that. Any suggestions with moving the css file to another directory? In this case it isn't so bad to keep it in the same directory as the html file, but I would need another css for the navigation which will be shared by almost every page in my site. So by directory structure is this: root root/resources root/resources/css root/resources/images I have already tried several things the didn't work: <link rel="stylesheet" type="text/css" href="resources/css/docTech25Banner.css"> <link rel="stylesheet" type="text/css" href="/resources/css/
  3. Just as an update: Alright, I am kind of new to css stuff, but something seemed off for the way I was calling the .css file. So I changed the call link to: <link href="docTech25Banner.css" rel="stylesheet" type="text/css" /> I got the image to load using single quotes in the call: background: url('docTech25Banner.png') no-repeat center center fixed; I am now having a new issue with it. The image doesn't appear to auto resize as the text that is part of the image remains very large when I change the size of the window. Any suggestions on the most effiecent way of doing this
  4. Thanks for your help, dsonesuk, I applied the fix as you suggested, but the image still fails to load unlike when it was an internal css. davej, I understand that this is a common problem and checked and rechecked this before posting. My image, css, and index are now all in the same directory with pathfiles reflecting it. Still hasn't eliminated the problem.
  5. I used some CSS code which worked internally on my website. When I went to convert the code to an external .css file but ran into some issues. I can use the internal version, but the external is more efficient and less restrictive. Here is the code for the internal HTML code with CSS: <!DOCTYPE html><html> <head> <style type="text/css"> html { background: url("resources/images/docTech25Banner.png") no-repeat center center fixed; -webkit-background-size: cover; -moz-background-si
  • Create New...