Jump to content

egbertz

Members
  • Content Count

    30
  • Joined

  • Last visited

Community Reputation

1 Neutral

About egbertz

  • Rank
    Newbie
  • Birthday 12/27/1938

Previous Fields

  • Languages
    HTML, CSS, Javascript

Contact Methods

  • Website URL
    http://zijlema.basicguru.eu
  • ICQ
    0

Profile Information

  • Location
    Haren, Netherlands
  • Interests
    Writing articles
    Programming
  1. From some of my webpages (in php) I've created html-files for the printer, so leaving the navigation column and some other elements out.It works fine so far, but I want the user give the opportunity to scale the font size from within the document (because dummies can surely not find the browser's menu option). For that reason my font sizes are given in em instead of px, in order to accomodate IE8 and lower. Often you see a number of different sized A-characters in a document as links to larger/smaller font sizes. Unfort. I cannot figure out what's behind those links. Is it CSS or javascript pe
  2. Thanks, dsonesuk and ShadowMage, for your useful contributions and code. I modified a set of pages, using a CSS with the html- and body tags as shown in message #7. Tested it with 5 browsers: IE8, Opera, Chrome, Firefox and Safari (for Windows). Works like a charm and, most important, page layout is (almost) the same in these different browsers. See: http://weblog.egbertzijlema.nl (note: Dutch text). Regards,Egbert
  3. I want as less as possible layers, so I removed the extra layer for the text area. Can you agree with this code? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[url="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd[/url]"><html xmlns="[url="http://www.w3.org/1999/xhtml"]http://www.w3.org/1999/xhtml[/url]"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Test without extra layer</title> <style type="text/css">html { height: 100%; backgrou
  4. Text deleted.
  5. Sorry for the delay. I had to solve another problem first.I wonder why I should create an extra layer (div). What is wrong with using the body tag itself as the container. What you suggest is actually the following: <html><body><div id="extra_layer">Here goes your text.</div></body</html> But apart from that minor issue, I wanted to know a totally different thing. In the meantime I tested a few things and one thing became clear: when I use the CSS with the background image, my white text area fills the screen from top to bottom, even when the page only contai
  6. Thanks for your wise final thoughts. It was running now as expected. I needed it while porting an entire html-site to php. Now this job is finished and given the fact that there will be only one modifcation per month in the navigation section, which I can test online, I do not need it anymore. So, I uninstalled it. A running Apache-server on my local box sounds too vulnerable for me.
  7. Does an experienced webmaster know which style sheet is best?Note that the image bg.bmp is just a white rectangle with a width of 1000 pixels. So in both cases a white text area of 1000 pixels wide on a gray or silver background will be created. So far, I always use the method with the image but i.m.o.the other way is more straight forward (and therefore less vulnerable?).CSS 1: html { background: #808080 url("images/bg.bmp") repeat-y top center;}body { margin:0 auto;} CSS 2: html { background: #808080;}body { margin:0 auto; background: #ffffff; width:1000px;}
  8. Thank you, thescientist! Did not put my files in htdocs nor did I use "localhost" as part of the url. Tried to view the files by simply doubleclicking the filename in Explorer view; which is the way to load normal html-files in the browser.xampplite is doing the job now. However, installing this pseudo server software consumes a lot of disk space for a relatively tiny task. So I'm not sure whether I will keep it installed or not. Nevertheless lots of thanks to everybody who has contributed to this thread. Egbert Zijlema
  9. Unfortunately it's not that easy! I've tried both, wampserver and xampplite as well, but I did not manage to get them running in the way it should. I'll keep trying with wampserver, but for the time being I can modify my website in the way I described above. That, after all, is the real important thing. Thanks for all your help.Egbert
  10. Thanks! It works, mate! I never use php, so I did not know that I had to rename the file (it needs the php-extension), but after I corrected that error the page showed up as it should. There's only one (very minor) drawback: I could not test it on my local box. So after every change I need to upload the file to the server in order to check if the modifications are correct. Is it possible to install php on a single computer or is it typically server software? Regards, Egbert Zijlema
  11. Thanks for this info. I did not know. This is what I found at W3-schools: You can also use the <object> tag to embed another webpage into your HTML document. They do not warn for the problems you're mentioning here. Anyway, I'll try php later (it's bedtime now in Europe). Thank you so much!
  12. All my pages always contain this code: <html xmlns="[url="http://www.w3.org/1999/xhtml"]http://www.w3.org/1999/xhtml[/url]" xml:lang="nl" lang="nl"> Is that what you mean?
  13. One column (navigation menu) on my website is the same on all pages, so I want to embed it as an object instead of copy/paste it onto every new page (article) I create. However it shows up with horizontal end vertical scroll bars, while part of the text is hidden. I tried to use the overflow command (hidden), but that does not work.This is the code: <object style="width:210px" data="filename.html"></object> .
  14. Thank you so much!It works and actually it hits 2 flies in one blow, doesn't it?
  15. This works, but is it really better than one of the other methods mentioned here?Anyhow, IE7 adds an (empty) line, no matter which of these methods I use. So, since the poem container itself has a 12px bottom margin, in IE7the distance between the poem and the next paragraph will double. Leaving the bottom margin out however, means that in other browsers thereis no white space between the poem container and the next paragraph. Is there any solution for this?Thanks,Egbert
×
×
  • Create New...