ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've been battling with Internet Explorer for weeks trying to get my homepage to show up "correctly". For some reason it chooses to ignore certain things which other browsers do not, such as "min-width", and is inconsistent with how it interprets "width" in the first place. The biggest problem is centering portions of the page when the window is smaller than the minimum width allowed. My page shows up how I want it to (I'm really not asking that much...) on Konqueror, Mozilla, Netscape, and whichever IE came with Windows ME years ago. As of now I've decided that I am going to not bother with trying to please IE anymore since my site is mostly intended for Linux users.
Is there some trick to writing HTML for IE which differs from "real" HTML? Is it even worth the effort of trying to get it to work? Here is my site, in case you'd like to see what I am talking about. Thanks.
Well, it might help if you were actually using "real" HTML. The code on that page is a big mess that doesn't even come close to being valid. Frankly, I'm a little surprised it renders correctly in any browser. It's true that IE has lots of rendering bugs, but you don't have any business complaining about those until your code validates cleanly, which your page doesn't.
It's true that IE has lots of rendering bugs, but you don't have any business complaining about those until your code validates cleanly, which your page doesn't.
That's enlightening. I'm used to C++ compilers telling me that I have errors; I assumed that since nothing told me I had errors (and that something actually showed up, and it looked right on something) that I was good to go.
As far as the errors, however, 99% are from , which is what Quanta uses. Then there are some errors which are in the frame added by GeoCities. In all, there are about 5 things that I legitimately did wrong, but hardly enough for the entire document to be considered invalid.
By the way, a lot of that garbage wasn't in there originally; I added it because that is what it took for IE to show what I wanted.
Originally Posted by dmail
No offense meant ta0kira but the colours and layout used are awful. By the way Im using firefox.
Yes, it does come out looking pretty bad on a few computers I've used. The colors actually work out quite nicely on several computers, however (those with accurate color display, without the hazing that older/cheaper monitors provide.) I'm downloading Firefox to see what it looks like (someone I know looked at it on Firefox on Windows and said it came out right.)
As far as the errors, however, 99% are from , which is what Quanta uses.
Actually, you're wrong - those nbsp errors are red-herrings. It's just like with C compilers - the errors above confused the parser and it started spitting out bogus error messages. That happens when you omit the DOCTYPE, the outer <html> tag, the entire <head> section, and put the <title> tag in the body section. If you fix those, the nbsp errors will go away.
In all, there are about 5 things that I legitimately did wrong, but hardly enough for the entire document to be considered invalid.
You left out some of the key structural elements of the document. How is that not enough to invalidate it? At any rate, browsers have historically been unreasonably tolerant of garbage markup, but if your code isn't valid, you shouldn't count on the browser getting it right. IE definitely has its problems with adhering to web standards, but you can't complain about that if you're not adhering to them either.
as was said ie does not support the standards.. so to make it look good you will have to put in ugly hacks.. i usually offer a stripped down alternative page for ie users.. just make a stylesheet for ie users to load if the main one does not render correctly..