Jump to content

Jonas

Members
  • Posts

    2,402
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Jonas

  1. Jonas

    Question

    http://www.home.no/jvelde/html-preview.htmlThere, that works in IE and Opera, but for some reason not FF. However, it should give you the idea of how to output to an iframe. Go nuts with it, and see if you can get it to work cross-browser. And get back to us with the result if you do...
  2. He gave you an adress to download it. It's in your own quote...
  3. Ah, okay. I hope you can see how I was in doubt...
  4. Wow, is that site like I think; not exactly "kosher"?
  5. Jonas

    Need help

    <td align="right"><font size="5">###### <input type="radio" checked="checked" name="S" value="male"> OMG... The filter is filtering the word ###### in your code...
  6. Jonas

    Transitional DTD

    The point of the xhtml transitional doctype is that it's backwards compatible with html 4.01, so you can use both css: (example)body {background-color: #0000ff;}and html attributes:<body bgcolor="#0000ff"></body>I think if the browser reads css, it chooses the css over the attributes styling. That way, you can easily update your css to give one look, while giving a standard look for non-css browsers with attributes...
  7. http://www.w3schools.com/about/about_linking.aspOn this site I'd like to see some 80x15 buttons for linking, cause otherwise it'll look ugly on my site... :)I already use other buttons for valid xhtml and css...Other xhtml buttonsWAI buttons
  8. A w3schools example, without current date:http://www.w3schools.com/js/tryit.asp?file...js_timing_clock
  9. Jonas

    Javascript --> PHP

    Thanks, but I already had that once...
  10. Yeah, that about sums it up... I just love the css flag he did. It's just awesome... :)Also some really cool menu-styles and borders...
  11. Javascript section would be a good go...
  12. Jonas

    Javascript --> PHP

    Believe me, I tried that, and managed up until one point, when everything got screwed up. It's easier just using a script. The javascript works just fine, it's just that it gets caught as a a warning in the validator... :)And since php outputs finished html before the validator has a go at it, I thought it would be better...
  13. Well, I suppose you could trick IE into doing other css. If you put a star * in front of your css, other browsers than IE will ignore it, while IE executes the css. So maybe if you havep {font-size: 12px;*font-size: 15px;}IE will first choose the first, then transfer to the next as it reads the css. That way you can manipulate your IE view for every tag...
  14. actionsketch, are you a fellow Spelling Nazi? Are you a Spelling Nazi?brought to you by Quizilla
  15. Jonas

    validating

    http://validator.w3.orgUpload the file. Should work. Or, you could upload a html file here, as an attachment with your post, and we can have a look at it, to see if there is any noticable reason that you should get an error...
  16. But then remember to use a font for the site that has equal width for each letter, so it's aligned correct vertically...
  17. Jonas

    images

    Um, ok, so I take it that it worked?
  18. Jonas

    Javascript --> PHP

    Ok, so I have an if condition in javascript that I wanted to convert to php, and I was wondering if this was correct: <script type="text/javascript"> var useragent = navigator.userAgent; var bName = (useragent.indexOf('Opera') > -1) ? 'Opera' : navigator.appName; if (bName == "Opera") { document.write('<'+'link type="text/css" rel="stylesheet" href="opera.css" />') } else if (bName == "Netscape") { document.write('<'+'link type="text/css" rel="stylesheet" href="netscape.css" />') } else { document.write('<'+'link type="text/css" rel="stylesheet" href="microsoft.css" />') } </script> --> <?php $useragent = navigator.userAgent; $bName = (useragent.indexOf('Opera') > -1) ? 'Opera' : navigator.appName; switch (bName == ) { Case "Opera": echo('<link type="text/css" rel="stylesheet" href="opera.css" />'); break; Case "Netscape": echo('<link type="text/css" rel="stylesheet" href="netscape.css" />'); break; Default: echo('<link type="text/css" rel="stylesheet" href="microsoft.css" />'); } ?> Is that correct? Does else if... work in php? It didn't look like it in the w3schools tutorial, so I tried with switch. Is Switch Case 1... Case 2... Default... the same as If... else if... else...
  19. :)Yeah, you really have to. Cause your javascript way is just too hard...
  20. Jonas

    images

    You have to host your pictures on an internet host, ftp server. There are lots of free hosts that will let you save pictures, for examplehttp://www.photobucket.comAfter uploading the picture, you get a link to the picture that you should use in your html code...
  21. Jonas

    Protecting CSS files

    Either that, or I'm playing humble...
  22. Only one that pertains to use of Web Browsers. I do have dreams about other stuff though. But I digress...
  23. Jonas

    Protecting CSS files

    I'm pretty sure that would be the equivalent to javascript's document.write('...')But I could of course be wrong...
  24. Well, most users use IE of FireFox.I have a dream...
  25. 1. To start with, the Mozilla Foundation and Opera wanted to make web browsers more compatible with proper coding, and offer a free, safer and better browser alternative to IE.2. I may be harsh, but IE sucks... :)3. (A more fair view)MS rarely updates their IE, only within varieties of Windows OS, and some smaller security upgrades. It is hoped that Windows Vista Internet Explorer 7 will have better support for the web standards...PS: If you click the css play logo in my signature, you'll go to a site that's helped me a lot. This guy is really good with css, but you'll have to look at his code and notice the use of classes and ids. Excellent menus and layouts and stuff...
×
×
  • Create New...