Jump to content

CSS font-size


Sayali

Recommended Posts

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...