Jump to content

CSWotton

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by CSWotton

  1.  

    Works for me...

    You are right, davej, it works if I place it on the header, but not as a separate file. This will do, though!

     

    Setting header tags to font-weight: bold; is pointless as they are already bold.. Using font-size: large; is not advisable as there is not a fixed standard on what this should be, so different browsers will show different sizes of font, use em or percentages instead.

    Thank you dsonesuk! I didn't know headers were already bold, I have also used the percentages for the font-size as you suggested. Thank you both for helping me! :)

  2. Hello, this is my first post on this forum and I hope you can help me because I am a css noob.

     

    My problem is really weird: my whole css file works, except for the attributes for h1. I tried tagging these HTML lines with h2, h3... and they all work, but not h1.

     

    Here you are my (very basic) css stylesheet, I hopw you can see my mistake and help me. Thanks in advance!!!

    h1 {font-weight: bold;            font-family: arial, helvetica, sans-serif;    color: #153520;    font-size: large;}h2 {	font-family: arial, helvetica, sans-serif;	color: #007A29;}h3 {	font-family: arial, helvetica, sans-serif;	color: green;}h4 {    font-weight: bold;    font-family: arial, helvetica, sans-serif;    }p {	font-family: arial, helvetica, sans-serif;	color: black;}a {	font-family: arial, helveetica, sans-serif;	        color: #00FF00;}body {background-color: #D6F5D6}img {float: right;}
×
×
  • Create New...