Jump to content

dennylin93

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by dennylin93

  1. Use (X)HTML Transitional.http://www.w3schools.com/tags/tag_iframe.asp
  2. Problem solved.
  3. Here is something like a guide from W3C: http://www.w3.org/QA/Tips/use-links. There is also a tutorial on W3Schools: http://www.w3schools.com/tags/tag_link.asp You can check out the W3C website (http://www.w3.org/) and look at their source.In order to make something like "previous" or "next" visible for clicking, you have to add it within the body element.
  4. I'm trying to create a website in both English and Chinese, so I am trying to make it show up the browser's default language. I saw a site (http://jigsaw.w3.org/css-validator/) that can automatically show the language that is set as the browser's default. How can I do this? Thanks in advance.
  5. Never mind. I found out after I fiddled with it for a few hours.
  6. I was trying to make a hide/show function with JS, but I got stuck. I was trying to make it like the ones on Wikipedia: http://en.wikipedia.org/wiki/TaipeiEx. Can anyone help me with this? Thanks in advance.
  7. Thanks for the suggestions. I'll try them when I have time.
  8. Can anyone give me a guide or instructions on how to install Apache 2.2, php 5.2, and MySQL? I tried it once by myself, and it turned into a complete mess. Thanks in advance.
  9. You can use AS in Flash (ActionScript). Put this on your last frame, or whatever frame you want. getURL("***URL here***"); You might want to add this to your Flash along with the getURL thing: stop();
  10. JavaScript doesn't have to be validated, however, you have to make sure that most of the browsers support what function you are going to use otherwise your site might not be available to others. I prefer to make a new .js file for JavaScript because it keeps the XHTML file tidier, and I find it easier to edit.Most Markup validators can validate XHTML files. Try the W3C Markup Validation Service. There is also a CSS Validation Service. Another tool is Unicorn, a universal conformance checker, by W3C. It can check (X)HTML and CSS at the same time. Other tools by W3C like the Link Checker are also useful.
  11. I was reading the WCAG guidelines, and I saw this sentence: Create a logical tab order through links, form controls, and objects. [Priority 3] For example, in HTML, specify tab order via the "tabindex" attribute or ensure a logical page design.Already found out.
  12. The alt attribute wasn't made to make text show up on an image when you put your mouse over it. It is supposed to show up when the browser is unable to access an image. Internet Explorer doesn't use it properly, but Firefox does. If you want to make text show up while your mouse is over it, you can use "title": <img src="where your file is" alt="text here" title="text here" width="width of image" height="height of image" /> If you want stuff to show up while your mouse is over text, you can use: <a href="hyperlink (optional)" title="text here">text here</a> Delete the "href" part if you're not using a hyperlink.
  13. Thanks. I found out that I can also use % in CSS: table.class { width: 50%; margin: 0 auto;}
  14. I converted a website to XHTML 1.0 Strict, but the problem is that I cannot align tables with HTML code anymore. How can I do it with CSS?
  15. I tried installing MySQL on Windows XP Professional, but it didn't work. I already have Apache HTTP Server 2.2 and PHP 5.2 installed. Could anyone tell me how to install MySQL 5.0 properly because I didn't really understand the steps from the manual.
  16. I am trying to convert a Flash website into one that has images. The problem is that my website has a background image, and the white parts of the new images cover the background image. With Flash, I used wmode="transparent", but it doesn't work with .png or .jpg. I tried using .gif, but the quality sucks. Is there any way I can get a transparent image while using .png or .jpg?
  17. I recently installed Apache 2.2 and PHP 5.2 on my computer, and it works but there are a few problems. I am not sure where to modify the Apache httpd.conf Configuration File. On php.net (http://www.php.net/manual/en/install.windows.apache2.php) it says that you have to add the 3 lines below: LoadModule php5_module "c:/php/php5apache2_2.dll"AddType application/x-httpd-php .php# configure the path to php.iniPHPIniDir "C:/php" I successfully added: LoadModule php5_module "c:/php/php5apache2_2.dll"AddType application/x-httpd-php .php but I do not know where to add # configure the path to php.iniPHPIniDir "C:/php" Could someone please tell me where to add it? I put the httpd.conf file at http://www.freewebtown.com/dennylin93/httpd.conf PHP works on my computer right now, but I don't know if anything will go wrong without the last line I didn't add.Thanks in advance.
  18. The "EN" in the DOCTYPE doesn't affect what language your page is in. For Dutch:Add this: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"> under: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> And add this between <head></head>: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  19. I need to create an invisible counter for my website with php or Flash, but I don't know how. Could anyone please teach me? I don't have access to any databases though. Thanks in advance.
  20. I tried converting my HTML Transitoinal into a Strict document. When I checked it up it said there is no attribute "TARGET." I put 'target=_blank"' in one of my hyperlinks. How do I make it valid when I use HTML Strict? I uploaded my file here as HTML Strict: http://www.freewebtown.com/dennylin93/index_strict.htmAll the errors are listed here: http://validator.w3.org/check?uri=http%3A%...ndex_strict.htmCan anyone please tell me how to fix the errors?
  21. Maybe you can try using the <embed> tag. It isn't valid HTML or XHTML, but it works on IE and Firefox. I haven't tried any other browers though. I will try to look up more info.
  22. This is the code I used:<object width="400" height="40"classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#4,0,0,0"><param name="SRC" value="bookmark.swf"></object>It is on http://www.w3schools.com/media/media_object.asp. I just modified the file location. It worked on IE, but nothing came up on Firefox.Can anyone can give me a code that is valid HTML and it can show up in Firefox? It will be appreciated.
  23. Are there any advantages by using XHTML? And if I use XHTML language in a HTML file, will it work 100%?
×
×
  • Create New...