If your profile does not look good in both of the world's most used browsers, I think you have some work to do

..or not...it's up to you

Using this code, you can either balance the look, or have 2 completely different looking layouts

Here's the code I'm using:
[quote]//this is a shakiro214 production
//In cooperation with friendsterTalk forum
var css = document.createElement("link");
var browser=navigator.appName;
var mic="Microsoft Internet Explorer";
if (browser==mic){
try{
document.createStyleSheet("[b][color=blue]IE_CSS_URL[/color][/b]");
}
catch(e){
css.type = "text/css";
css.rel = "stylesheet";
css.href = "[b][color=blue]IE_CSS_URL[/color][/b]";
css.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(css);
}
}
else
{
try{
document.createStyleSheet("[b][color=red]FF_CSS_URL[/color][/b]");
}
catch(e){
css.type = "text/css";
css.rel = "stylesheet";
css.href = "[b][color=red]FF_CSS_URL[/color][/b]";
css.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(css);
}
}[/quote]
I think it's pretty much self-explanatory

Just create a 2nd CSS file, and start editing

[b][u]Hot Tips[/u][/b]
Btw, the [color=green][b]if (browser==mic)[/b][/color] statement can be used for things other than css. Try experimenting.
[align=center][color=red]always keep backup files and edit from your ripway account[/color]

[/align]
[b]credits:
Feruzz[/b] - for [i]document.write[/i] work-around
Last edited by shakiro214 (2007-10-16 03:20:23)