Jump to content
Killersites Forums


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About socrates

  • Rank
    New member

Profile Information

  • Gender
  • Location
    Bangor, County Down, Northern Ireland (near Greece)
  • Interests
    25+ years as a professional second-hand bookseller (but the game's up now).
  1. Okay, thank you very much for that. I can't think why, but I completely overlooked using a list. I can style it to look exactly the same way as the existing table.
  2. Hello. I'm creating a template for my web pages and want to put simple navigation links in below the h1 heading. I can do this quite successfully with a very basic html table and some css styling. The only thing that concerns me is that I read so much about replacing html tables with css and I am wondering why a simple html table is such a no-no? To create a basic css equivalent where the column heights always remain equal seems to be quite difficult and requires more code than an html table. Here is my css for the html table: #pagenav { width:100%; margin:1em 0; } .left { width:15%; b
  3. Good! That's that clarified. Thank again for your help.
  4. Thank you, Andrea. There is actually data in the tags for all my pages - title, description and keywords - I just took it out for this example. What I was really wondering is if there is some sort of standard for which meta tags should be included in the head - for example, some sites are using a language one <meta name="keywords" lang="en" content="whatever" />, but I have never included that. But I assume that I haven't missed anything critical (?). As regards HTML5 doctype, I've done a little reading on the subject and I "think" it is safe enough to use it with xhtml code, but it
  5. Correction, this is the opening code for my pages: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <link rel="stylesheet" href="/librarycode/main.css" type="text/css" media="screen, projection" /> <meta name="robots" content="index, follow" /> <
  6. This is a two part question. I have a long-standing site that as it developed (under different webmasters) used various doctype declarations and code (20k+ pages and a real mess by now). Ultimately I found it necessary to learn to do the design and maintenance work myself, but I still haven't quite mastered some of the basics. One area of uncertainty for me is in the use of doctype and what meta tags should be ideally be included within the <head></head> tags that follow. Currently I am using .xhtml 1.0 strict and these are the meta tags in head: <!DOCTYPE html P
  7. I am reporting back to say that it works a treat. I switched to an unordered list and used a php include and everything came up roses. Thank you very much indeed for giving me the appropriate link to your site.
  8. Thank you very much for that. I'll give it a go now.
  9. Hello! I have a nav menu located in a footer file so that it is easily edited, rather than ever having to change the menu individually on each page. The links are all in divs of the same class. What I am trying to do is somehow make the div background black on whichever page is current, and have the link within that div display in bold. Here is the menu code: <div class="leftnav"><a href="index.htm">home</a></div> <div class="leftnav"><a href="history.htm">history</a></div> <div class="leftnav"><a href="membership.htm">memb
  10. Post Script: Andrea, you were spot on with that solution. The host has added .htm and .html to the .htaccess file and says that should fix the problem, although obviously didn't want to risk telling me where the file is. At this stage I will take her word for it as I'm too shattered to experiment any more tonight. Tomorrow is another day! Once again thank you for all your help. I had spent hours trawling various sites trying to find the solution, so hopefully your posts will be of benefit to others.
  11. Okay. I've had a good look round the root directory and cannot see it, so I've submitted a ticket to the host to see if it can locate it for me. Once I find it I will add that line to it. I will do my best to report back on the result in case anyone else faces the same difficulty. I sincerely thank you for helping and pointing me in the right direction.
  12. Thank you for that. I can change all the page extensions to .php to TEST it on my site and it will work fine, but I need to find a way to include the header and footer as separate files in pages with the .htm extension. The site I am redesigning was built using .htm pages and I want to check that I can set everything up to work with that extension. I daren't change the page extension on the actual site being redesigned otherwise links into it from other sites will become defunct. I hope that makes sense?
  13. Thank you very much! Where do I find the .htaccess file and what line of code would I need to add?
  14. Hello, I'm new and apologize if I have posted in the wrong place. I have a site on which I use .php pages with php includes for the header and footer. I am redesigning a site for someone else and testing it on my own site. The site that I am redesigning uses the .htm extension for pages. So far I have been unable to include a header or footer on the .htm pages that I've uploaded to my site. The 'includes' fail to load. If I change the index page extension to index.php and use a php include then all goes well. The footer.htm file is in the same directory as the index.htm file and I hav
  • Create New...