Jorophose
03-05-2007, 08:27 PM
Hello,
I just wanted to know if anyone's got a script that can send specific browsers to a certain page. If you could, could you set it to IE1-6 for me? They all seem to have a problem with my current layout, and since it's just IE doing this, it's easier for me to redirect them to another part of the site, possibly using (*gasp*) tables instead.
Cheers,
Joro.
Zealus.com
03-06-2007, 02:33 AM
Wouldn't it be easier to fix the layout?
isurus
03-06-2007, 03:59 AM
I agree with fixing the layout, but... what's the URL for the broken site? (or failing that, what web server are you using, and what scripting language?)
fastnoc
03-06-2007, 06:45 AM
http://developers.evrsoft.com/tool_redirect.shtml
lorem ipsum
03-06-2007, 07:13 AM
What's the url of the site? And again what prevents you from fixing the layout in every browser?
mikey1090
03-06-2007, 11:02 AM
i have had many CSS problems with IE, but they can be fixed. perhaps you should ask for help here
Jorophose
03-06-2007, 07:22 PM
Beware of the popup:
http://slycorps.6te.net/eng/index.html
The middle collumn doesn't stretch to fit the rest of the space. Stylesheet is found at http://slycorps.6te.net/style.css
isurus
03-07-2007, 07:41 AM
You are specifying a right margin of 201px on your #centercontent div.
How's this?
http://www.isurus.com/slycorps (http://www.isurus.com/slycorps)
(I disabled the popups on this version)
I haven't looked through the rest of it, but that fixes the problem that you mentioned.
(I only copied the index page, so following a link will take you back to the broken version)
FWIW, it is generally a good idea to try to avoid naming your elements in a way that relates to how it is displayed, eg use #content rather than #centercontent and #menu rather than #leftcontent (or whatever). This allows you to juggle things around with css in the future and have it still make sense.
For example, you might decide to put your menu on the right hand side of the screen...
See below for the changes I made:
diff -u style.css.orig style.css
--- style.css.orig 2007-03-07 11:23:34.000000000 +0000
+++ style.css 2007-03-07 11:22:44.000000000 +0000
@@ -18,13 +18,10 @@
#centercontent {
background:#EEFFFA;
- margin-left: 201px;
- margin-right:201px;
border:1px solid #000;
voice-family: "\"}\"";
voice-family: inherit;
margin-left: 201px;
- margin-right:201px;
}
html>body #centercontent {
margin-left: 201px;
For some reason the margin declarations were made twice, so I removed one set altogether.
fastnoc
03-07-2007, 07:42 AM
You've posted this site here before and the answers on how to fix it were given. Did that not help or was it the wrong answer?
Jorophose
03-07-2007, 05:44 PM
I wasn't able to solve my problem the first time around.
Thanks isurus! It now works with IE6 :)