Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > CSS problems...

CSS problems...
Thread Tools
Forum Regular
Join Date: Jun 2003
Location: San Francisco
Status: Offline
Reply With Quote
Dec 16, 2003, 11:49 PM
 
Hi all,

Internet Explorer for OS9 has this page completely discombobulated:

http://www.rasteroids.com/des/1.htm

The CSS script >>
http://www.rasteroids.com/miles.css

The left navigation represented by (#sidebar-a) does not appear to be responding to the float command like all other browsers, pushing the content south. Any suggestions?

Thanks,
- Moo!
"He only has one look... it's like I've been taking crazy pills!"
...
     
RGB
Mac Elite
Join Date: Jan 2002
Location: College in the Land of Oz
Status: Offline
Reply With Quote
Dec 17, 2003, 04:03 PM
 
I'm probably way off, but is this something a "clear:left" would fix?
     
Occasionally Quoted
Join Date: Apr 2001
Location: San Francisco
Status: Offline
Reply With Quote
Dec 18, 2003, 12:39 AM
 
.
(Last edited by daimoni; Sep 7, 2004 at 07:33 PM. )
     
Senior User
Join Date: Mar 2002
Location: Chicago, IL
Status: Offline
Reply With Quote
Dec 18, 2003, 01:04 AM
 
Wow, IE for OS 9. That's almost as bad as having to support Netscape 4.

It works fine once you fix your declarations. Go through your CSS and delete any duplicate entries.

What was causing the problem was of your multiple width statements (for sidebar-a) the last one read "width: 182{SPACE}px;". IE couldn't handle the space in there. All those backslashes didn't help either. I took them out. I also cleaned up your declaration for #mo too, so make sure to do that.

daimoni gets one point.

Nice site by the way. I like.
We need less Democrats and Republicans, and more people that think for themselves.

infinite expanse
     
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Dec 18, 2003, 06:43 AM
 
Originally posted by daimoni:
Which version of IE? 5.x? 4.01? There is a difference.

I don't have OS 9. Maybe you could post a screen shot?

This may be unrelated, but why did you declare width twice... and in that way?

#sidebar-a {
float: left;
width: 182 px;
\width: 182px;
w\idth: 182 px;
margin: 0;
padding: 0px;
background-color: #F6F9EB;
height: 450px;
}
It looks a bit like the IE5 for PC CSS hack (where adding an escape slash hides that CSS rule from IE). Except in this case it's redundant because all the widths are the same!
Computer thez nohhh...
     
Mooga2  (op)
Forum Regular
Join Date: Jun 2003
Location: San Francisco
Status: Offline
Reply With Quote
Dec 18, 2003, 12:07 PM
 
Thank you, thank you, thank you! I removed the space between the 182 and pixels, and the website worked perfectly in IE5 for OS9. Yea!

As for your comments on the declaration for multiple widths (and the various naming conventions), they are hacks for certain builds of IE and Opera that are inept and read pixel widths at the wrong size. I could not find the article where I read about this hack... but anyway, the bones of this site were created with the Inktomi CSS script (which included those hacks). It's a great free script, and saves time in the inital stages. However, you can rest assured that the space between the numbers and 'px' were not in the original script - they somehow crept in there by accident!

http://www.inknoise.com/experimental/layoutomatic.php

As far as browser compatibility goes - there are many of people stuck in OS9 because of hardware or software (many music and audio applications are still not ported to X). So, I try to make things look nice as far back as IE5 for OS9. I'm not complaining though, because at least it's not Netscape 4!

Thanks again to everyone. I'm going to start cleaning up the rest of my code now.

- Moo!
"He only has one look... it's like I've been taking crazy pills!"
...
     
Senior User
Join Date: Mar 2002
Location: Chicago, IL
Status: Offline
Reply With Quote
Dec 18, 2003, 12:19 PM
 
I think what you're talking about is the Box Model Hack. It is only is needed when you put padding or a border on something.

Or you could be talking about a different hack, which I think you are since it sounds vaguely familiar. In any case, glad your site's working now.

And here's what I found for a backslash hack. I'm not familiar with one that uses a single slash, but maybe someone could post a link if they know of one.
We need less Democrats and Republicans, and more people that think for themselves.

infinite expanse
     
Grizzled Veteran
Join Date: Jun 2001
Location: Melbourne, Australia
Status: Offline
Reply With Quote
Dec 26, 2003, 03:12 AM
 
Originally posted by york28:
I think what you're talking about is the Box Model Hack. It is only is needed when you put padding or a border on something.

Or you could be talking about a different hack, which I think you are since it sounds vaguely familiar. In any case, glad your site's working now.

And here's what I found for a backslash hack. I'm not familiar with one that uses a single slash, but maybe someone could post a link if they know of one.
Hooray! Found it! Amazing what a holiday break can do to clear the head

http://www.info.com.ph/~etan/w3panth...mmentbugs.html
Computer thez nohhh...
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 02:33 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2