Jump to content


  • Posts

  • Joined

  • Last visited

peterdreilly's Achievements


Newbie (1/7)



  1. Thanks. Problem was uppercase .JPGMade sure name was ok, as I never capitalise extensions, didn't give a thought to exts on someone elses pic files.Much appreciate the quick response.
  2. HiGot a strange? problem.The website link http://www.lbddl.com/ doesn't show the two images declared in the code.On my local site this works ok.directory structure is the same for both.Images are in the images directory.Does anybody have a suggestion as to why the images don't appear on the live site?Any help much appreciated.Regards
  3. another option would be to write a javascript for each and simply add the script to the page where you wish the info to appear: e.g. for the footer/address <script type="text/javascript">writeAddress();</script></body></html> If you the create a standard (x)html page as a template with your doctype and header/footer info in javascripts, any change you make to a script will automatically appear in each page.
  4. Thanks Fmdpa,Im already using xhtml. As there is no site that extolls the benefits of one over the other, I will have to do the comparison myself. I like the discipline of xhtml (retired programmer ) so shall stay with that aspect even if the benefits of html5 entice me into its clutches.I shall check out css3 and if this is the current standard I shall move forward with it.Though it is progress, considering my use of features beyond the basics, it sometimes seems to be change simply for the sake of it.Perhaps I need to start developing more intricate web sites to justify such progress.Regards
  5. hi,Does anybody have a link to a site that compares xhtml with html5 and outlines the benefits of changing up. Likewise css2 to css3.I am just about to start two new sites, one db driven with php/mysql and the other text pages with pics (not many).Regards
  6. Hi,Thanks for the input. I was away from my PC yesterday, hence the reply delay.I've been thinking along similar lines. I already have an extensive menu system based on a combination of vdividermenu and flexdropdownmenu which allows the user to select from pages or sections/paragraphs. Each page/section/paragraph has its own div id and perhaps I could use an onclick event to add the section to a bookmark cookie. I could also construct a rightclick/onhover menu to allow passage through the bookmarks, deletion of the current bookmark or clearance of all.This looks like a good deal of work, especially as I have yet to use cookies. I have a great deal of hyperlinking yet to construct to allow content theme passage through the text and this could take me at least a month.I think I will have to revisit the bookmarking question after the hyperlinking as this requires uninterrupted study to get right, or as best I can.Anything you can think of to reduce the coding required for the popup menu system, or tips on cookies would be greatly appreciated.When the site is finished I'll post a link.Thanks againPeter
  7. Thank you but no. I want the user to be able to bookmark a phrase or paragraph so that he can return to it from within the page or possibly the site. Basically I think it needs a list of these bookmarks to select from or index through, as you have in TextPad, or Word, etc. So it looks as if i am talking my self into a whole lot of script. Any thoughts on clientside only?Regards
  8. Hi,All questions are simple and this is no exception. It is the answer that alludes me.How do I allow a user reading my site to create a bookmark, temporary or permanent?This site is just pages of text. Many pages and each page has lots of legal text. Can I allow the reader to bookmark individual words or phrases? There is no db attached so I assume that any solution would require the use of cookies.The lines are not numbered as the page width depends upon resolution and window width. Both page and section/paragraph are numbered.I've run the usual searches and found nothing.Any help would be most appreciated.Regards
  9. Hi Anders,HTML and XHTML are very similar, in fact XHTML is virtually HTML in XML form. If you are going to go on to develop websites that require some form of scripting, as any commercial site will, then XHTML is the way to go. Why? In using XHTML you are required to close your tags; this is a good practice to develop. All scripting languages (CSS for layout, VB/Javascript for clientside and PHP among others for serverside) require closed operators, as do the industry standard development languages: Visual Basic, C#, C, C++, Java, Delphi.There is nothing to beat starting right, it saves the problem of having to correct bad habits later. Start with XHTML, closing your tags as you open them; put a few things on a page; change the attributes, colour, size, position, etc., then move the attributes into a Cascading Style Sheet, this will allow you to develop a family of pages with a common look. At this point you will want to play more and will start to use clientside scripting. By this time you will find closing tags has become second nature and be well on you way to writing strong, clean, readily validatable code.Now that you have the technique mastered, have fun.
  10. HiI've been running my pages through Total Validator and all is well with the world except: why do I get "[WCAG v2 1.3.1 (A)] Provide a description for data tables:" error against a table that has column headers and not on a table without? Also what is this error and how do I correct for it?Thanks ps coded in XHTML 1.0 strict.
  11. I'm a two-fingered typist, but I don't find it a problem. Use an editor like TextPad and code in XHTML to ensure you close tags (TextPad will colour code your page elements to aid coding). Or if all you want to do is get something on a page, you could use Microsoft technology (Visual Sudio or suchlike) and allow it to do the work for you, but you should bear in mind that it will do it its way, not necessarily yours.
  12. My advice is start as you mean to go on. learn XHTML. Use HTML 4.0/1 in the XHTML form. This enforces good coding pratice and will help later when you get to displaying data imported in XML form. As for css, start with just displaying something using the standard HTML tags then mess around with the attributes with css. from there on it just grows.Life is never dull.
  13. Hi,I am a newbie and in the process of converting my default page from HTML to XHTML strict. I have hit a problem with the iframe I use to display all my other pages. I have a compound table setup with top row for the header, bottom for the footer and centre split as table with left for the menu and right for the display of child pages from my site. The section of code that fails is:<td width="80%" valign="top"> <iframe name="Display" width="100%" height="100%" src="Display.html"></iframe></td>I know that iframes don't work in XHTML, so what does. Any assistance would be most appreciated, including directions to good tutorial sites. Looked on w3schools but can see no direct transfer, and possible indirections haven't jumped out at me.Thanksreilly
  • Create New...