A fast guide on how to download torrent files:
Monday, January 3, 2011
Wednesday, December 29, 2010
Found a nifty hack today for an IE
And for some then unknown reason, the right column of the list would be misaligned with the left column in IE7-5. The second span element in the first li element would appear below its corresponding li block.
The easiest way to solve this problem is to add a statement to a IE
<div id="cont">
<ul>
<li><span>Some Text</span><span>Some Other Text</span></li>
<li><span>Some Text</span><span>Some Other Text</span></li>
<li><span>Some Text</span><span>Some Other Text</span></li>
<li><span>Some Text</span><span>Some Other Text</span></li>
<!-- ... and so on-->
</ul>
</div>
And for some then unknown reason, the right column of the list would be misaligned with the left column in IE7-5. The second span element in the first li element would appear below its corresponding li block.
The easiest way to solve this problem is to add a statement to a IE
position: absolute;
attribute to only the fist span tags in each li.
Monday, December 27, 2010
When begging to make the layout of a site it is imperative that all the colors on the page compliment/are in harmony with each other. One great way to do this is to crate a color pallet at Colourlovers.com. This place is one of the first places you should go to chose a color scheme for you site. It is easy to use and completely free!
Sunday, December 26, 2010
If you are deleting content from your site and that page was getting any kind of traffic then you might want to use a redirect to somewhere else on your site.
The best way to do this (platform independent of what browser/OS the user has) is to use a php redirect using the php header function.
Note 1: Php must be installed and running on your server, obviously.
Note 2: This only works if your content was in a php file to begin with. Putting this in an html/htm will not work unless your server is specifically set up to execute php scripts inside files with these extensions.
Note 3: The following code sends a 301 header to the browser, you can change the first line to whatever code you want to send(401, eg.)
Note 4: The ($_SERVER['HTTP_HOST'])) variable simply takes you to the root of your server (your home page usually).
Code:
The javascript way of doing it...
Code:
The best way to do this (platform independent of what browser/OS the user has) is to use a php redirect using the php header function.
Note 1: Php must be installed and running on your server, obviously.
Note 2: This only works if your content was in a php file to begin with. Putting this in an html/htm will not work unless your server is specifically set up to execute php scripts inside files with these extensions.
Note 3: The following code sends a 301 header to the browser, you can change the first line to whatever code you want to send(401, eg.)
Note 4: The ($_SERVER['HTTP_HOST'])) variable simply takes you to the root of your server (your home page usually).
Code:
<?php
// Permanent redirection
header("HTTP/1.1 301 Moved Permanently");
header( 'Location: http://' . ($_SERVER['HTTP_HOST']));
?>
For those withougth the ability to run php:The javascript way of doing it...
Code:
<SCRIPT language="JavaScript">
<!--
function getgoing()
{
top.location="http://someplace.com";
}
if (top.frames.length==0)
{
alert("You will be redirected to our main page in 10 seconds!");
setTimeout('getgoing()',10000);
}
//-->
</SCRIPT>
Sunday, December 19, 2010
IE Tester
I stated using IE tester to debug IE 5.5-8 and have been pleased for the most part. The program allows you to debug all of these IE versions simultaneously in a tabbed browser environment. It is very handy when you want to figure out witch conditional css file you need to add a hack to
.
The program is currently in its beta stages of development and is fairly buggy at times. When running multiple tabs the program usually crashes so I try to only have one tab open at a time. However I can overlook all of the bugs for the simple fact that the program offers such a great commodity
.
For any web designers currently hating IE, you might want to give IE Tester a shot.
The program is available for DL at http://www.my-debugbar.com/wiki/IETester/HomePage
Subscribe to:
Posts (Atom)