Hi, can anyone help me with this please.

I have a class .pmi in my page and I want style the first line of
differently so that the first line is smaller than the second line. The
code below doesn't seem to work and I was wondering if it was because of
the <br/> tag in my html.

 <p class="pmi">Read more about the PMBOK<br />
      <a href="http://www.pmi.org/info/pp_pmbok2000welcome.asp"; target="
_blank">Project Management Institute: PMBOK Guide</a> </p>

.pmi {
      background-image: url(../images/pmi.gif);
      background-position: left top;
      background-repeat: no-repeat;
      color: #7B3000;
      font-family: "Times New Roman", Times, serif;
      font-size: 1.5em;
      height: 35px;
      padding-left: 50px;
}
.pmi p:first-line {
font-size: 1.2em;
}

.pmi a:link{
      border-bottom-color: #7B3000;
      border-bottom-style: dashed;
      border-bottom-width: 1px;
      color: #7B3000;
      padding-bottom: 3px;
      text-decoration: none;
}

Thanks for all your wonderful help, this list is a lifesaver.

***********************************************
Helen Rysavy
Web Designer, Teaching & Learning Development
Charles Darwin University, Northern Territory 0909
Tel: 8946 7779 Mobile: 0403 290 842
mailto:[EMAIL PROTECTED]
www.cdu.edu.au
CRICOS Provider No: 00300K
***********************************************


******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to