Sheet Cross

Yesterday I wrote that his first goal of optimizing the load time "> web site design should be optmizing load time. After all, no matter how well the design, features and information can be put into practice, this means nothing if the audience is not going to wait to see your site. But it must also devote equal time to ensure cross-browser compatibility as does the web site optimization. As bad as it is that your visitors have to wait to view the page, its so bad if their content is in disarray.
This is not an article that bash Internet Explorer or Firefox, or taking sides with either of the browsers most popular. You can preach a browser over the other, and even promote your favorite website. But there's always a good number of users that are using other browsers. Even if you are using Internet Explorer or Firefox, they may be using older versions. And all this can expose the weakness in your website.
Internet Explorer has a reputation of not supporting as many CSS features other browsers. Many programmers have learned to overcome this problem by using hacks. Hacks are pieces code that are not considered part of the library of CSS, but can keep information visible to a browser, while invisible to another. For Internet Explorer, the trick is usually simple. The following example is a common trick for 3-column layouts:
# Wrap (
min-height: 100%;
width: 780px;
margin: auto;
position: relative;
)
* Line. Note the asterisk (*) as the beginning of the last line. The asterisk allows Internet Explorer to read the line, applying a height of 100%, while Firefox and other browsers could not read the line.
I know some programmers (including myself) that in a moment in time, instead of playing with hacks, just use a tender little PHP or Javascript to include style sheets. You have a sheet of style for Firefox and other Mozilla engine, one for Internet Explorer, one third of the Opera, etc, etc. Yes, you can write more in the process. But for me, at least, always seems easier to get a style sheet to accommodate multiple browsers.
So how do you know what your site web browser in search of other people and combined management sytem? There are tools out there. The two I use are BrowserCam.com and BrowserShots.org. Offers a free trial BrowserCam small, but also has many more features and is much faster than BrowserShots.
Finally, note that it is your obligation as a programmer or web designer to everyone who visits your site can see clearly. a number of users who use other browsers "target =" _blank "> Although the vast majority of users prefer Internet Explorer or Firefox, there are a number of users who use other browsers. Although the percentages may be low (less than 5% of total), can make a big difference when your running an affiliate or ecommerce website. Creating a website for everyone to use, and you will be rewarded.
About the Author:
Article Source: ArticlesBase.com - Making your Website Cross Browser Compatible
Sheet Cross
Sheet Cross
















