The Web Just This Site

NM Web Tutorials

To avoid insanity, nervous breakdowns, or worse, READ THIS

Biggest problem about building web sites, is havening to accommodate other browsers. I know what a bloody pain, we all hate them, those things can all go to hell (especially certain browsers...you know the ones I’m talking about!).

What’s with the space?

A problem I discovered with positioning content is that Internet Explorer likes to put invisible borders around images, even though I told the XHTML that I didn’t want a border
(border="0"). Until you fix it, there is the slightest little gap between your content when you don’t necessarily want there to be one, and it is enough to make you have a %@$#*** aneurism. There is a Style Rule you can make to turn off this border, but be careful to specify what areas you apply this Style Rule to, if you know you wont have any borders around any of your images, you can apply this to all tags with img:

img {display: block; border: 0;}

Cablame! There all gone! You should be sure to still have your border="0" in your XHTML, because really old browsers like Netscape 4.0 don’t support CSS at all!

Other Problems with CSS

I can’t possibly tell you why there are still people who use browsers as old as Netscape 4.0, but a lot of people do. For browsers like that (or audio browsers) you want to be sure to list all your information in XHTML in the order you would want somebody to read it, both for audio browsers, and non CSS browsers (that will make for easy CSS editing anyway). But let me be VERY CLEAR, I’m NOT saying you shouldn’t use CSS, it IS a standard for designing websites, the vast, vast, VAST majority of professional websites use CSS, and those numbers are growing as web browsers improve. You really want to continue this section...trust me.