View Full Version : HTML Change style for different browsers
vinothsn
December 28th, 2008, 11:53 PM
am trying to change to style for when different browsers load
for IE 6
am using like some :
<!--[if gte IE 6]>
#table {
margin-top:20px;
}
<![endif]-->
like this how to change for when mozilla load
????????????????????????
littleking84
December 29th, 2008, 12:05 AM
the IE specifiers are really created because Microsoft was too lazy to make their browsers standard so they shoveled the job off to web designers, there isn't really a tag for firefox or safari. However you could use javascript to figure out what browser they have. But usually if you account for IE 6 and above it's safe to assume if they don't have IE 6 or above they have firefox and maybe safari
vinothsn
December 29th, 2008, 12:10 AM
thanxs for information
am till searching .................
ramie
December 29th, 2008, 07:03 AM
Use javascript. http://www.w3schools.com/js/js_browser.asp
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.