Jump to content

deltawiskey

Members
  • Content Count

    14
  • Joined

  • Last visited

Community Reputation

0 Neutral

About deltawiskey

  • Rank
    Newbie
  1. Last year, you helped me to get the favicon working on this page - http://www.deltawiskey.com/index.html (please note, the only two working links in the top menu bar are Home and Etiquette) To show someone that I can look after another website, I copied parts of his existing site into a separate directory on my server. http://www.deltawisk...wood/index.html There is no link to the original favicon in the coding for this site, so why does it appear? And how can I stop it? Thanks in advance. (This isn't a problem, but if you notice that the second site home page sometimes shows as .htm rather than .html, I duplicated the home page because some of the score pages use that, and linked back to a non-existant home page. Crude, but it works. Go Home/Results/Mar 2nd/Back to Main Menu to see what I mean)
  2. Ok, thanks, but.... How on earth did you know that? Can you (or anyone else) see inside my css file? I know how to see the page source, but the css? Duh?
  3. If I leave the 'validated' icons at the bottom of the page, I get a scroll bar across the bottom, and about half a page of blank space on the right.. If they are taken out, the blank area is not there (Click on Home or Results, where the icons are commented out). http://www.deltawiskey.com/BestBehaviour.html It doesn't matter, as I don't particularly want to leave them in, but I'm just curious.
  4. That's it, the second one works - the forward slash before 'images' made a difference. Persistence is everything! Thanks again!
  5. You've cracked it, I owe you several beers. Site address is here - http://www.deltawiskey.com/index.html And this is the link I used, which I think is what you meant - <link rel="shortcut icon" href="http://www.deltawiskey.com/images/favicon.ico" type="image/x-icon" /> It works in Firefox (my usual browser), IE9, Safari, and Chrome - slight hiccup on Chrome, it only appears in the tab, not the address bar, but let's not worry about that. And I should have said at the start, Windows 7, 64 bit. Oh, damn, I haven't tested in 32-bit IE. Will do shortly. Can I just add, for the benefit of anyone else who chances across this, that the method Microsoft recommend didn't work for me. They say save as a bitmap, then just change the extension from .bmp to .ico. Might be OK in FF, but not IE. I used this site to convert a jpg to ico - http://www.prodraw.net/favicon/index.php Thanks again, I can't believe how many hours I've spent on this!
  6. Even the method given here doesn't work! http://www.w3.org/2005/10/howto-favicon
  7. Ah, you spotted that - let me explain. The club site was set up my someone who tried hard, but didn't know much about computers, or anything about file organisation. I've only just persuaded him that file names like '2011July12' will group together reasonably well , rather than just '12July' (no year, note) which is the style he was using. I'd use a filename like '20110712_MondayResults' similar to what I do with family photographs, but I can only steer him gently. He's a far better bridge player than me! He has also managed to have a file called 'images' with one file inside it, and another called 'Images' with everything else. So on the club site I've put the favicon in 'Images,' as you noticed. On my personal site (same host), there is only one all lower case 'images' file, all pictures and the favicon are in there. I've tried what you suggest, like below, but still no joy - <link rel="shortcut icon" href="http://www.deltawiskey.com/images/favicon.ico" /> That's copied and pasted from my file, so if you see anything wrong, please let me know. I've spent most of today trying various things recommended by various sites, nothing has worked. I've checked and double checked, the directory structure and file locations on both sites are identical, but only the (wrong) one works. Thanks for your interest, somehow we'll get there!
  8. Many thanks, finally got it. I have to say I'm impressed by how helpful you guys are to a beginner. The result is visible here - http://www.deltawiskey.com/0_DWG_BestBH3.html The top section is the .png with h1 centred inside it, just what I wanted. However similar question - why can't it find the favicon when I use my personal access to the host (cPanelx11)? I have a second access to cPanel so that I can work on the bridge club website, one of my pages there picks up the favicon perfectly - http://www.titchfieldbc.hampshire.org.uk/0_DWG_ResultsFinal1.html I've used identical code in both, in fact copied and pasted from the working page - <link rel="shortcut icon" href="images/favicon.ico" />,and I've been careful to use the same directory structure. But no favicon! I even downloaded it from the club host and uploaded to mine, just to be sure they were identical. Any ideas,please?
  9. I'm going quietly nuts. This is all within my laptop. If I insert a line into the html file - <img src="images/tbc_backdrop.png"/> it is found and displayed. If I leave the line in the css file background-image:url(/images/tbc_backdrop.png); it is not found (tried it with and without the first forward slash, and with and without the preceding directory). The only way I can make it display via the css file is to put the png file in the same directory as the css file. Help? Please!
  10. My directory tree looks like this - Public_html (Working directory) Images (contains all my .png files) css_Files (contains my css files)first_html_filesecond_html_file so I have one directory containing two sub-directories and my html files. The first_html_file calls a css file in css_Files Part of the css file reads - body{background-color: #cde6ff;background-image:url(public_html/Images/tbc_backdrop.png);background-repeat: repeat-x;padding-top: 0px;}Is the second line a valid reference, if not, what paths can the css file legally follow? This is the first time I've tried to use a reference inside a css file, and it doesn't seem to work - does the .png need to be somewhere else?
  11. Yes, the "v", was there but it shouldn't have been - I've taken it out and all seems well, many thanks. Note to self: Do not rest text-book on laptop keyboard!
  12. an additional question. What are these lines for?-I am still brand new at this and I start with the html template page as provided by smultron. There is stuff I don't understand in it, and I didn't want to mess with anything until I know what it was.<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"/><link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/><link rel="stylesheet" type="text/css" href="index.css"/>Try a Google search for 'meta content type header' (sorry, can't copy and paste the link).The second one links to a 'favicon.ico' (icon), which should be in your 'image' folder. It is the little logo that appears on the left of the address bar and alongside items in your favourites menu. It is easy to make them show in Firefox, IE is trickier, especially as the methos MS give doesn't work!Not sure what the 'type' statement is though.The third one is a link to your CSS style sheet.HTH
  13. Further notes - I experimented by chopping out bits of the first set. I can take everything out EXCEPT - body {} leaving the second set in place. I'm gonna cry! ??
  14. OK, I'm new. I've adapted some pages for our local club by brute force and ignorance, and achieved both XHTML and CSS validation. Sample here - http://www.titchfiel...ultsFinal1.html Now I'm trying to learn CSS properly, so back to page 1. I was changing one little bit of CSS (below the 'body' section) at a time, when suddenly the 'body' section in the CSS page is no longer recognised, all the rest is. So I type out again the missing section, save (leaving the original in place), and it works - but only if I leave both copies in. These are copied and pasted from the CSS file, I can't see any difference between the two, or why it should need both. What's going on, please? body (the orignal){background-color:#cde6ff;background-image:url(images/bg_body.png);background-repeat:repeat-x;padding-top:100px;} body (re-typed replacement){background-color:#cde6ff;background-image:url(images/bg_body.png);background-repeat:repeat-x;padding-top:100px; } It might be worth mentioning that I always seem to have trouble making the initial 'link href' work - the last time I had to copy a set of existing HTML and CSS files into the directory, that appeared to give the link a nudge, so it then worked. The full CSS page is below,if required - v/* Default CSS *//* Generated by the CoffeeCup HTML Editor - www.coffeecup.com */@charset "UTF-8"; body {background-color: #cde6ff;background-image:url(images/bg_body.png);background-repeat: repeat-x;padding-top: 100px;}body{background-color: #cde6ff;background-image:url(images/bg_body.png);background-repeat: repeat-x;padding-top: 100px;} h1{color:#ff0000;font-size:3em;font-family: "Arial Black", Arial, sans-serif;text-align:center;} p{font-family: "Palatino Linotype", Baskerville, serif;color:#616161;line-height:150%;margin-top:10px;margin-left:80px;font-size: 1.5em;} h2{color:#ff0000;font-weight:normal;font-family: "Palatino Linotype", Baskerville, serif;font-size:2.2em;border-bottom:2px white solid;background :url(images/bullet_flower.png) no-repeat ;padding: 0 0 2px 80px;margin: 0;} .intro{color:#0000ff;font-family: Arial, Helvetica, sans-serif;font-size: 1.2em;margin-left: 20px;margin-bottom:25px;} .bold{font-size: 1.5em;color: #000000;font-weight:bold; }
×
×
  • Create New...