Rough Book

random musings of just another computer nerd

Tag: internet explorer

This site is XHTML 1.1 Valid

I finally got this site to validate! The folks over here were really helpful, and pointed out that I wasn’t assigning values to my objects’ style attributes properly. For example, I was doing: = 200;

instead of: = "200px";

The second way is the correct way because it is important to specify units for your attributes. In addition, Firefox won’t parse it because it’s very strict about XHTML and CSS. Furthermore, certain things weren’t where I expected them to be. I was used to writing: = document.body.scrollHeight;

But that no longer worked (the value being returned was 0). The method that works now is: = document.body.parentNode.scrollHeight + "px";

You have to add in that “px” because the scroll height doesn’t have any units. Once I made these changes, the site started working and validating perfectly. Thanks a bunch to all those who helped!

I guess I did most of this just to jump on the bandwagon and because it did have a “geek” factor. But eitherway, since my website adheres to the standards now, I can be reasonably sure that it looks like the way it should… except for IE though. IE lets you get away with almost anything, and that’s why 90% of the websites out there have such terrible code. IE is very forgiving and can recover from bad HTML, but that only encourages sloppy coding. But anway, now that my site validates, I can proudly display the W3C’s “Valid XHTML 1.1” icon!

More FreeBSD

I learnt some new stuff. CvsUP is pretty neat. I learnt the hard way that when you do a make buildworld you have rebuild the kernel the non-traditional way. My kernel wasn’t compiling and for a moment I thought I would have to go through all that madness with write failure on transfers again. See, I was trying to get Mozilla to work. It wasn’t finding some shared libraries… at least the downloaded one wasn’t. So I tried to install it from /usr/ports/www/mozilla and /usr/ports/www/mozilla-devel. However, both died on some perl errors. I was also trying to install cups, and this wasn’t working either for the same reason. They were both dying on some errors in Perl5.0x. It was due to an outdated perl module. But anyway, I decided I should reinstall EVERYTHING. So I ran /stand/sysinstall and reinstalled everything through FTP. Best install I ever did. Sure, it took longer, but I had no stupid write transfer errors. Also, all my old stuff was still there. My kernel config file, my X Windows config file, and rc.conf were all there. I just had to edit hosts.conf. Everything else was fine. Even the programs I had installed before were there. Well, Mozilla works now. There are two other things I am trying to get to work. The first one involves trying to access my printer (which is currently hooked up to my XP box) from FreeBSD. I installed cups and samba and installed my printer from [url:http://localhost:631]http://localhost:631[/url]. However, lpstat says that my printer is disabled and jobs stay in the queue. So I’m not sure what’s wrong. The other involves trying to get a working version of Doom Legacy.

Anyway, through all of this has been very helpful. There are a lot of people out there who are willing to help you out… After I’m a little more comfortable with FreeBSD, I plan to put up some documentation on this site. I totally love FreeBSD… I think the lines are being drawn… =) I can see why it’s better than Linux! Oh yeah, Mozilla is a pretty good browser. However, I wish they implemented support for IE filters. I’m not sure what their DOM is like, but they probably should all switch to Microsoft’s (sounds horrendous, but it’s the best choice, really) JavaScript DOM. It’s the best one. Netscape has it all backwards. I’m not sure what Mozilla’s DOM looks like, but like I said before, they should implement support for filters… I can’t see my own website on my FreeBSD box because I use filters extensively… cross browser? Yeah RIGHT! Ha!

Your own code. Use IE.

I probably should document my code. It’s not cool coming back to it after three months and wondering what the hell you were smoking when you wrote it.

I managed to figure out (vaguely) how I got fly working. I know I did something weird to the makefiles. I think I had to link it explicitly or something. Anyway, I can add Photos properly now. All I need to do is finish the “Delete Photos” and “Update Photos” option. Then I can put up the photo album for real. I need to make a non IE5.5+ version too… so that other people can use the photo album at least. I wish everyone would use IE. Seriously. Alright, alright… now you’re probably thinking “What? You can’t say that! That’s an affront to nerds everywhere!”… Microsoft is Evil, but it sure as hell makes my coding a whole lot easier if everyone just stuck to IE. Then there’s .001% Mozilla crowd going. Oh Mozilla is SOOOOOO much better than IE and Microsoft is Evil and you’re a traitor! Yeah whatever. Makes my job SOOOOOO much easier. Stick to IE and while you’re at it, PLEASE upgrade to the latest version – i.e 6.0 (eh? eh? get the pun?) If you’re still using IE4.0, that was sooo 4 years ago! UPGRADE!

No visible changes

Yeah, I guess there are no “visible” changes, but I got the pretty version of the “Insert Journal Entry” page done. I even made a new and improved select box because IE wouldn’t let me change the button properties on the default one… =D… Yeah I know it’s pretty nerdy… Anyways, I’m not sure what I’m going to do next… I think I’ll finish up the links page…


IE6 just had to make it HARDER with their P3P compatibility. On top of that, my stupid domain name providers have some bizarre convention where they put the actual page (where or refers to) inside a STUPID FRAME. So when I run the P3P validator, it finds p3p.xml alright, but it’s inside a STUPID FRAME so it comes across as HTML to it… WHY ON EARTH WOULD ANYONE WANT TO SET IT UP LIKE THAT? I sent them an email… the bastards never write back… I hate them… I hate them so much… and I have another year with them… I’m going to go with next year… Yeah so why did I do P3P? Because IE6 won’t take cookies otherwise… But then I FINALLY got it all to work… I was making the pop-up window open with reference to so it was putting it inside that STUPID FRAME… I changed it and now it WORKS!!! WOOHOOO!!! P3P is still interesting though… Yeah so this site has P3P and you can read the policy here. The XML is here. I generated it using IBM’s P3P Policy Editor. It’s free and easy to use. I don’t understand half the legal stuff that’s in the Policy file… I just made it so that my cookies would work…

I hate cookies

IE won’t set my cookies… the ones I send through PHP. I hate it. This sucks. This really really really SUCKS. Finals get done on Tuesday… WOOHOOO!!! Can’t wait!!

All original content on these pages is fingerprinted and certified by Digiprove
%d bloggers like this: