473,387 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

the contents r display properly but css is not working??

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3.  
  4.  
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  7. <title>External Style Sheet</title>
  8. <link rel="stylesheet" type="text/css" href="css/ex1.css" />
  9. </head>
  10.  
  11. <body>
  12. <h1>
  13. <center> This page is created using External Style Sheet 
  14. </center> 
  15. </h1>
  16.  
  17. <h2> This line is aligned left and red colored. </h2>
  18.  
  19. <p> The External Style Sheet is the compact representation of Cascading Style Sheets
  20.     This paragraph is written in Monotype corsiva font with font size of 14
  21. </p>
  22.  
  23. <h3> This is a blue <a href="colorname.html"> colored </a> line
  24. </h3>
  25.  
  26. </body>
  27. </html>
  28.  
  29.  
  30. ----------CSS------------
  31.  
  32.     h1
  33.     {
  34.     font-family: Arial, Helvetica, sans-serif;
  35.     }
  36.     h2
  37.     {
  38.     font-family: Geneva, Arial, Helvetica, sans-serif;
  39.     color: red;
  40.     left: 20px;
  41.     }
  42.     h3
  43.     {
  44.     font-family: Arial, Helvetica, sans-serif;
  45.     color: blue;
  46.     }
  47.     p
  48.     {
  49.     font-size: 14px;
  50.     font-family: "Courier New", Courier, monospace;
  51.     }
Jan 16 '15 #1
0 905

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: stewart | last post by:
I'm writing an app that requires a 3-level optionMenu display. Basically I'm showing the contents of a 3-dimensional matrix. You choose the first level in the first optionMenu, the 2nd level in...
33
by: selowitch | last post by:
I've been searching in vain for a way to present typographically correct fractions (not resorting to <sup> and <sub> tags) but have been frustrated by the fact that the glyphs for one-half,...
2
by: MLH | last post by:
Using A97, I have tables with 10-char text phone number fields to allow entry of xxxyyyyyyy phone numbers - where xxx is the 3-digit area code and yyyyyyy is the 7-digit phone number. I wish to...
1
by: SWu | last post by:
Hi all, The treeview that displays on the left side of the report viewer doesn't display properly on my production server (it displays properly on my development machine). I see the X's...
1
by: Ben | last post by:
I've setup a asp.net application in a new machine. A funny thing happen when attempt to display the aspx page - it fails to display properly. The server controls like textboxes, lables, & 3rd party...
2
by: camphor | last post by:
hi, if you go to www.christinebec.com/About CB/selected_editorials to view the images, I tested it out in Firefox and it displays properly but in IE7 the larger images overlap and don't display...
7
by: Hong | last post by:
Hi I have a main form with 7 subforms where the master/child link is the RefID in the main form where the Main form is 1-many relationship to those subforms. All the subform have the same...
0
by: adarshyam | last post by:
Hi, I am working on a web application in which user must be able to Open an Excel file from his computer and the contents must be displayed in TextBoxes in the form(each cells in excel to...
2
by: dgourd | last post by:
I cant get the style.display property to work properly. I have this test html page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
7
Samishii23
by: Samishii23 | last post by:
http://hoa.ath.cx/~dm2/ ( My Home computer, might be slow ) My navigation bar is having float issues. I want the sub Items to appear under the main items. But sadly, not the case right now. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.