Site update finally here!

October 15, 2009 by · 2 Comments
Filed under: Frozentux.net, General 

I finally got around to finishing up a new site. As some of you may remember, I started over a year ago with rewriting the entire site from scratch after a year of pretty much not having time to fix the final touches. On top of this I realized that the site would still require a lot of time to update and maintain, which I realize was not in my main interest. So I decided to try out a few “pre-built” solutions and got hooked on wordpress. This is the final setup i’m going with. I will update the site more and more, but to get the site rolling, I decided to get it published as soon as possible.

To begin with, there isn’t much new material on the site, but this will change with some time. I have several papers and smaller projects I’d like to publish, and that I will have the ability/time to publish with the new site framework. Until then, I sincerely hope you will enjoy the new site. Any comments, please let me know!

Tired of Javascript/CSS

August 27, 2008 by · Leave a Comment
Filed under: Development 

CSS is not my strong side, actually web development isn’t at all, yet I have this bad habit of wanting to learn things I don’t know since before. That being said, not sure if i got this right. Putting an absolute object (div for example) inside a relative object makes for an unhappy combination. Problem is that the outer container does not resize for the absolute object (depending on how you interpret the standards, I guess this is correct behaviour).

Take the following rather long example:

<html>
<head>
<style type=”text/css”>
.hump
{
position: static;
width: 400px;
}

.lala
{
position:relative;
background-color:blue;
width: 400px;
}
.hoho
{
position:absolute;
background-color:red;
left:0px;
top:0px;
width:50%;
}

.rofl
{
position:absolute;
background-color:blue;
left:0px;
top:20px;
}

</style>
</head>

<body>
<div class=hump>
<div class=”lala”>ewrio
<div class=hoho>lala</div>
</div>

<div class=”lala”>
<div class=hoho>lala</div>
<div class=rofl>hejhopp</div>
</div>

</div>

</body>

</html>

You have two options.

1. Add height attribute to lala (making it static height).
2. Write a javascript to dynamically change height of the area depending on how large content is. I’m currently working on this as I really want this solution.

There is probably a much better solution to this, so if you know of a better way, please let me know!