|
|
Saturday, December 03, 2005
[Problem solved!] I realised that even without the tickers, IE was still consuming a good amount of CPU cycles when I'm looking at my blog, even more if I'm scrolling. I tried highlighting some of the text, and it was kinda jerky. If everything's fine, you should be able to highlight text effortlessly. At this time, I basically have 5 "panels", width/height and x/y co-ordinates all controlled by CSS. Honestly, CSS is very powerful, and extremely easy for placing content exactly what you want it. In fact, coding this blog became similar to programming since I no longer have to strictly observe sequence, as long as the right code goes into the right panel divisions. For some reason, IE has a problem when the "panels" get too big. In my previous design, the panel was small so it wasn't much of a problem. With this new design, this main blog panel can get very tall and big depending on the blog content, even though I show only the latest 5 entries. That was what's eating up all the CPU cycles. So I embarked on a mission to replace the site's layout from using CSS to using HTML Tables. It wasn't that hard, I just used whatever styles I was using previously inline instead. I did have to check up some CSS parameters, but no problems with that, thanks to Google. To most people, the layout looks the same, but under the hood, I've removed all the CSS "panels" except for the one on the right. It's still a panel, but inside a HTML table cell. I had to, otherwise the background colour would extend all the way to the end of the page, instead of ending with it's own content. The improvements:
New problems:
^^^ by Locksley @ 1:59 AM.
0 comments.
|
|
|