Absolute Clearing | Articles | the bombsite

. . . . . . . . . . .

About the Post

Author Information

I enjoy working with HTML, XHTML, CSS and designers as a web developer. At home I enjoy listening to music, playing music, reading and food.

Absolute Clearing

In between lessons I’ve been working on something I’ve mentioned a couple of times before. It’s the idea of having absolute positioning whilst still being able to “clear” all that’s gone before in order to have a footer always positioned at the foot of the page where it belongs.

When I originally went to Shaun Inman’s site, where I came across “ShortStat”, it was to read his articles relating to the use of Javascript to overcome the problems.

I’ve now setup an “absolute” test page using his methods. Now the drawback is that anyone who doesn’t have Javascript active will see a total mess. Those of you with Javascript try switching it off and refreshing the page. I suspect there is a way of telling if Javascript is active or not. If that’s the case you could send those without it elsewhere just as you do with IE users.

From the design standpoint I quite like the layout. I might consider recreating it without Javascript for use on the rest of The Bomb Site.

Edited

I’ve removed the links as I’ve now moved on.

Comments ( 7 )

Hey Stuart, I just read the article @ shawninman.com's page on ShortStat,----was this the same "stats" that you had before, where it gave you the hits for each page?

I like some of the layout parts of your new test page. The use of the 3 col. post is great, and gives it that newspaper look and feel --- maybe not for all, but oh well? I turned off my java, and only the intro text was garbage, so I'm guessing that was the only place you used java? It looks good, but, the fixed background was just like your last page, before this one, sort of got in the way while reading the text. I should show a screen-shot of it in IE. Really warn IE user's....

And speaking about the "footer..." I should start working on mine... I still have that problem. I'm going to use your CSS "tip" for that. :shifty: thanks for the info Stuart.
8 August 2004, 03:32
If you do implement it *without javascript* you will qualify for guru staus. Good luck :)
8 August 2004, 05:07
Stuart
@Root - Now there's a challenge. Free publicity?? :notworthy: And a free Tibetan Prayer Wheel for all my followers. :dance:

@Tom - I can't see anything wrong in IE Tom. In fact, for once, it looks identical.
8 August 2004, 07:06
I looked at it this morning (my time) from the college, and saw both the text and menu not linning up, and the garbeld text at the top. Now, I do know, they run some older units, so that could be one problem, but next time I'm over there I'll take a screen-shot and send it to you. Everything there is IE, and Windows. I even looked at mine, and ... well, it was hurt'n...:doh:

I looked at them again with Netscape (4.7 + up) and they look OK. Firefox, ---looks great and propper. :think:
8 August 2004, 08:46
Javascript. A tracker program I use tests for js being enabled. It's written in Perl or PHP - may be useful ?

http://poeticpollution.net/scripts/UserFingerprints/php/
9 August 2004, 02:11
Stuart
Welcome Podz. Thanks for the link. I will take a look at it but I wasn't really thinking seriously of using this type of setup as it causes obvious problems, though that may only be for a few people. I'm more interested in whether I can reproduce it without the help of javascript as I quite like the layout I've come up with.
9 August 2004, 02:32
Stuart
I've checked Podz' link and the site has some useful scripts for anyone who's interested but the script that indicates whether javascript is on or off is more of a "stats" script. I think to use the "absolute" layout you would need to check javascript status via a cookie so you can put a style sheet "re-direct" into the "head" section of your page. Useful site though.
9 August 2004, 12:19

Commenting is closed for this article.