A few site updates
Posted by Jaymz, September 17th, 2006 in Everything/Nothing, Slice of Life, TechJust a quick update to let the good people know that we now have obnoxious SA smilies like :fappery: on this fair site. These should be accessible via the comments as well, so feel free to post lots of :rolleyes:’s in response.
In an attempt to update this site to the latest K2 theme, things got borked beyond all recognition, so I had to roll back to the old K2 again. Aside from a little page slider which isn’t all that necessary, I can’t see any reason not to continue with what we’ve got. The new K2 looks just as bad under IE7 as the old one does, and getting our Sakura theme to play nice with K2 0.9.1 is too much of a pain in the ass. If anyone can tell me why there’s margins around the page, and why the menu buttons above look like shit in IE7, when they worked fine in IE6, feel free to explain (and fix it for me!). They’re fine in Firefox and Safari, so I honestly couldn’t give a shit.
This is why I hate web sites, peoples.
Edit: Chris Wilson was kind enough to remind me how much I suck at CSS, and now your favorite Sakura-themed blogsite of crap is just as much an abortion to the eyes under IE7 as it is under Firefox and Safari. For my next trick, I’ll have Jim Allchin tell me why my Dell notebook (with integrated graphics) runs fine for days with Vista, yet my desktop has all its RAM consumed with about 4 hours or so of various usage. :v:
6 Responses to “A few site updates”
Leave a Reply
Search
About
Hello and welcome to Respect Sakura, yet another shitty blog under the premise of being an animu blog, when it's really just about Jaymz's tech leanings, spending habits and crack-inspired ramblings on topics noone cares about. Oh, and that other guy posts stuff sometimes, too.
Please be warned that this site may contain strong language, adult themes, and sexual discussion about characters that may appear underage but are really over 18, and anything that may look or sound illegal really isn't, you just imagined it because your mind is sick and twisted, and it ain't my fault so don't you dare blame that shit on me son.




What’s wrong with the page in IE7 is that you are serving a different stylesheet to it. If you served that stylesheet to Safari, Mozilla or Opera, they would do the same thing. The sakura.css stylesheet that IE gets served has (around line 124) the rule
ul.menu li a {
font: 1em Verdana, Helvetica, Arial, Sans-Serif;
color: black;
margin: 0;
// background: #EDEDED;
}
double-forward slashes are NOT legal comments in CSS, unlike C /Javascript/etc. - you have to use C-style comments (”/* … */”). There are a bunch of other rules in the sheet that are theoretically commented out too, but in actuality they will still apply. In this case, it means your “buttons” are getting a light-grey background applied to them. The stylesheet you are serving to Mozilla does not have any single-line “comments” in it.
-Chris Wilson
Group Program Manager, IE Platform
Holy crap, dude. You, like, work at Microsoft! :monocle:
In my defense, I suck at web development (probably because I hate it so) and never bothered to check whether or not the CSS utterings that Codey passed onto me were correct or not. In any case, you were right - enveloping commented out lines with C-style comments as opposed to the double forward slashes fixed the issue.
The CSS code that’s passed to each browser should be the same, or pretty much similar as far as my knowledge goes, because I don’t keep multiple sakura.css’s around, and I don’t think this old version of K2 has too much control with what’s being passed to what browser. Either K2 selectively strips those lines out for certain browsers, or Mozilla/Safari do it themselves. Freaky.
In any case, sakura2.css is now standards compliant, and all’s right with the world.
Looks great. You’ve got a one-pixel-jump in there on all browsers when you hover over the links - you might want to try using “border-color: transparent” to get rid of that. Won’t work on IE6, but will in IE7, FF, Opera and Safari.
Love the Borg emoticon.
Hi there!
I couldn’t agree more with what you’ve said about the latest version of K2 theme, and I’m finding myself basically tring to get it back to the version before that (although I do think the search bar is cool). I’m not much of a programmer, so it’s tough, but I get a lot done by trial and error.
Now to the question! Do you have that previous version? I was dumb and deleted the folder when I installed the new one. Thanks!
update:
to save you from wasting any time, I’ve actually figured out how to get the older K2 Beta Two (r167) back in effect. I’m a little concerned though, with how the latest K2 claims to have worked out many “bugs” in r167. I haven’t noticed any bugs while working on my blog. Anyway, peace.
I’ve a funny feeling that mine is somewhat older than that. In any case, I don’t actually advertise version numbers on the site anywhere, because I learnt that lesson the hard way with old ass unmaintained phpBB installs on other servers.
In any case, if you need a copy of it.. shoot me an e-mail at tlgjaymz at you-know-what-domain, and I’ll zip up what I’ve got and send it along.