Flare Sci-fi Forums
Flare Sci-Fi Forums Post New Topic  New Poll  Post A Reply
my profile | directory login | search | faq | forum home

  next oldest topic   next newest topic
» Flare Sci-Fi Forums » Community » Officers' Lounge » Need some CSS help

   
Author Topic: Need some CSS help
B.J.
Space Cadet
Member # 858

 - posted      Profile for B.J.     Send New Private Message       Edit/Delete Post   Reply With Quote 
Yet again, I've redesigned my family's website. I have to do the code by hand with Notepad because I don't have any nifty web authoring tools, but seeing as it's a small site, it's no big deal.

When I view the site in Firefox 1.5, it looks just like I intended, but something screwy happens when I load it in IE 6.0. I know IE does not render the box model properly, but I really don't know how to fix it. My coding skills are enough to make me dangerous, but I obviously can't fix everything.

Here's the site address:
http://bj.o.home.mindspring.com

Can anyone help?

Thanks,
B.J.

Registered: Jul 2002  |  IP: Logged
MinutiaeMan
Living the Geeky Dream
Member # 444

 - posted      Profile for MinutiaeMan     Send New Private Message       Edit/Delete Post   Reply With Quote 
I'd check it in IE7 first. Word has it that Microsoft will be force-feeding everyone IE7 through Windows Update by the end of the year, so IE6 will disappear fairly quickly.

Otherwise, I'd just add a little SSI code that tells IE users to get a real web browser.

(Sorry I don't have any real help at the moment; it's after 1AM and I have to work in the morning. Ask me again later.) [Wink]

--------------------
“Those people who think they know everything are a great annoyance to those of us who do.” — Isaac Asimov
Star Trek Minutiae | Memory Alpha

Registered: Nov 2000  |  IP: Logged
Ritten
A Terrible & Sick leek
Member # 417

 - posted      Profile for Ritten     Send New Private Message       Edit/Delete Post   Reply With Quote 
IE will be getting worse so I have to agree with MM, ditch IE, send them to a form of mozilla.

IE is getting bad enough that there are some mambo templates that will not work with it anymore, as they are shrugging off the anti trust suit and heading on their own path again.

With my IE 6.0.2800.1106 it looks okay, what is it not doing in your IE?

--------------------
"You are a terrible human, Ritten." Magnus
"Urgh, you are a sick sick person..." Austin Powers
A leek too, pretty much a negi.....

Registered: Sep 2000  |  IP: Logged
B.J.
Space Cadet
Member # 858

 - posted      Profile for B.J.     Send New Private Message       Edit/Delete Post   Reply With Quote 
Here's what it's doing (IE on left, Firefox on right):
 -

Those extra white spaces in IE (which is the container background showing through) aren't supposed to be there. The same thing shows up around the footer.

B.J.

Registered: Jul 2002  |  IP: Logged
Cartman
just made by the Presbyterian Church
Member # 256

 - posted      Profile for Cartman     Send New Private Message       Edit/Delete Post   Reply With Quote 
The box model bug in IE6 only shows up if it's in quirks rendering mode, which gets triggered by an invalid or missing DTD. Unfortunately, IE6 also considers a DTD "invalid" if you omit the system identifier (URI) on a HTML4 page, so...

Add this ==> "http://www.w3.org/TR/html4/strict.dtd" <== to your doctype declaration, and then cross your fingers.

Registered: Nov 1999  |  IP: Logged
B.J.
Space Cadet
Member # 858

 - posted      Profile for B.J.     Send New Private Message       Edit/Delete Post   Reply With Quote 
Wierd. That apparently helped get rid of the white space on the right, but not below the title image. So as a hack, I set the background color of the header the same as the bottom of the image, since it's all one color. I don't like it, but it works, so I'm declaring victory for now.

Thanks for everyone's help!

B.J.

Registered: Jul 2002  |  IP: Logged
MinutiaeMan
Living the Geeky Dream
Member # 444

 - posted      Profile for MinutiaeMan     Send New Private Message       Edit/Delete Post   Reply With Quote 
Also, try the star trick... it's perfectly valid CSS:

code:
* html p { /*IE-only rule*/ }

I use that myself for a few elements on my site...

--------------------
“Those people who think they know everything are a great annoyance to those of us who do.” — Isaac Asimov
Star Trek Minutiae | Memory Alpha

Registered: Nov 2000  |  IP: Logged
Daniel Butler
I'm a Singapore where is my boat
Member # 1689

 - posted      Profile for Daniel Butler     Send New Private Message       Edit/Delete Post   Reply With Quote 
What's this 'Holly Hack' I hear about?
Registered: Jul 2005  |  IP: Logged
Charles Capps
We appreciate your concern.
It is noted and stupid.
Member # 9

 - posted      Profile for Charles Capps     Send New Private Message       Edit/Delete Post   Reply With Quote 
http://www.justfuckinggoogleit.com/

*ahem*

BJ, for an additional challenge, you should turn your top menu into a set of list items. Figuring out how to fix THAT in IE is always fun.

Registered: Mar 1999  |  IP: Logged
Da_bang80
A few sectors short of an Empire
Member # 528

 - posted      Profile for Da_bang80     Send New Private Message       Edit/Delete Post   Reply With Quote 
I totally have to remember that site. So useful, yet so useless.

--------------------
Grant me the serenity to accept the things I cannot change.
The courage to change the things I cannot accept.
And the wisdom to hide the bodies of all the people I had to kill today because they pissed me off.

Remember when your parents told you it's dangerous to play in traffic?

Registered: Feb 2001  |  IP: Logged
Fulgrim
Junior Member
Member # 1906

 - posted      Profile for Fulgrim     Send New Private Message       Edit/Delete Post   Reply With Quote 
Telling people to 'ditch IE' is a bad way out. You want a website to be viewable by everyone, else you are basicly cutting your audience in half.

If you want a decent, free tool, try Notepad++. You can doanload language files so it will highlight syntax correctly and it lays out all functions in a nice collapsable treeview. Also has line numbers and various other operations beyond notepad.

Registered: Aug 2006  |  IP: Logged
Daniel Butler
I'm a Singapore where is my boat
Member # 1689

 - posted      Profile for Daniel Butler     Send New Private Message       Edit/Delete Post   Reply With Quote 
You don't want your site visible by everybody, you want your site visible by those enlightened enough to *ditch IE*...at least, that's honestly the way I design. If they can't see it I don't care, its not like I'm working for CNN or something...its just a place to put crap for any body that might...want crap.
Registered: Jul 2005  |  IP: Logged
B.J.
Space Cadet
Member # 858

 - posted      Profile for B.J.     Send New Private Message       Edit/Delete Post   Reply With Quote 
Yeah, try telling that to grandparents and great-grandparents who just want to see the kids' pictures. Some of them are lucky enough to find the "ON" switch.
Registered: Jul 2002  |  IP: Logged
Fulgrim
Junior Member
Member # 1906

 - posted      Profile for Fulgrim     Send New Private Message       Edit/Delete Post   Reply With Quote 
If you're really just hosting 'crap' then you wouldn't be running into compatability problems with your code, since its crap - even IE can read crap.
Registered: Aug 2006  |  IP: Logged
B.J.
Space Cadet
Member # 858

 - posted      Profile for B.J.     Send New Private Message       Edit/Delete Post   Reply With Quote 
What?
Registered: Jul 2002  |  IP: Logged
   

Quick Reply
Message:

HTML is enabled.
UBB Code™ is enabled.

Instant Graemlins
   


Post New Topic  New Poll  Post A Reply Close Topic   Feature Topic   Move Topic   Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:


© 1999-2024 Charles Capps

Powered by UBB.classic™ 6.7.3