Sayali Posted March 16, 2010 Report Share Posted March 16, 2010 I am using IE version 6.0 My query is --- font-size: 18px; or font-size:18pt; or font-size:200% is not being recognised by IE. what can i do ? kindly help. Quote Link to comment Share on other sites More sharing options...
falkencreative Posted March 16, 2010 Report Share Posted March 16, 2010 What are the lines around your font-size line? For example, if you are missing a ";" on the line before, it will cause the next line not to work. Is this not working on IE6, but working on all other browsers? Quote Link to comment Share on other sites More sharing options...
administrator Posted March 21, 2010 Report Share Posted March 21, 2010 This sounds like a simple typo ... IE6 supports font sizes. Stefan Quote Link to comment Share on other sites More sharing options...
Sayali Posted March 22, 2010 Author Report Share Posted March 22, 2010 This sounds like a simple typo ... IE6 supports font sizes. Stefan Sir, the program goes like this --------- regards, Sayali Bhaleraoex1.html Quote Link to comment Share on other sites More sharing options...
Wickham Posted March 22, 2010 Report Share Posted March 22, 2010 It works in my IE6 to show 25px colored text for the p tag, but your page needs some extra code. You should have a doctype as the first code and also a title and charset:- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>Test</title> <style type="text/css"> p { color:#9900FF; text-align:center; font-size:25px; font-weight:bold; font-style:italic; line-height:22px; background-color:#e0ffff; } h1 {color:#FF0099;} hr {color:sienna;} </style> </head> <body bgcolor=#FFFF99 text="blue"> <h1><Center> Remedi Polyclinic</center></h1> <h3><Center> 1929 Sadashiv peth, Bajirao road, Opp. Telephone exchange, Pune 411030 </center></h3> <hr> <p> In 1991, Dr. D. N. Bhalerao pioneered the concept of polyclinic in Pune. It is a multi-speciality clinic, located in the heart of Pune city i.e. in Sadashiv peth. For the convinience of patients, the polyclinic is housed on the ground floor. Kindly refer to the Google maps for directions - http://maps.google.co.in/maps/place?cid=16677893969031170043</p> <Img src="C:\Documents and Settings\Intel\My Documents\My Pictures\Mangalmurti.gif"> <br><br> <Input type="button" name="contact" value="Contact Us" onClick="f1.asp"> </body> </html> You should check for errors here:- http://validator.w3.org/ there are some errors which I have not corrected. Quote Link to comment Share on other sites More sharing options...
Andrea Posted March 22, 2010 Report Share Posted March 22, 2010 And if you want your h1 and h3 tag to center, don't use the <center> tag, it's deprecated. Use your CSS: h1, h3 { text-align: center; } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.