Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with HTML coding

Status
Not open for further replies.

Jfish1590

IS-IT--Management
Jan 17, 2013
1
0
0
I am desperately trying to figure out how to make "Past Investments" look like "Active Investments" on my company's website. I am the website editor and cannot figure out why past investments isnt matching Active Investments.
My code is: <div class="portfolio-listing">

<p><strong>PCM Capital</strong> is a specialty finance company providing lease financing for niche businesses such as PODS (Portable On Demand Storage).<br />
</p>
<div align="center"><img src="images/pcm-capital.jpg" alt="PCM Capital, LLC" width="111" height="50" class="portfolio-image" /> </div>
</div>

<div id="copy">
<br /> <h3>Active Portfolio Companies </h3>
</div>


<div class="portfolio-listing">



<p><strong>Cogent Partners</strong> is a boutique investment bank and financial services company working with large institutional investors to manage their private equity portfolios, including sales in the secondary market.<br />
</p>
<div align="center"><a href=" target="_blank"><img src="images/cogent.jpg" alt="Cogent Partners" width="62" height="42" class="portfolio-image" /></a> </div>
</div>
 
It looks like you have a set of "portfolio-listing" classes nested in another instance of the "portfolio-listing" class. Double-check that you close each DIV for this class in the correct spot.
 
Close up the DIVs for Medcall and Medsurant sections.
 
as spamjim points out you have incorrectly closed Divs, which cuase CSS classes to be wrongly applied to the title.
Code:
 <p><strong>Medcall</strong> is a specialty PBM providing services to the long-term care industry.</p>
           <p><strong>Outcome Resources</strong> is a specialty PBM focused on serving hospices.</p>   
<div align="center"><a href="[URL unfurl="true"]http://www.medcallrx.com"[/URL] target="_blank"><img src="images/medcall.jpg" alt="Medcall" width="62" height="20"  class="portfolio-image" /></a> </div><a href="[URL unfurl="true"]http://www.outcomeresources.com"[/URL] target="_blank"><img src="images/or.jpg" alt="OR" width="120" height="61" class="portfolio-image" /></a> [b]</div</div>[/b]
             
           [b][COLOR=#A40000]<div class="portfolio-listing"[/color]>[/b]

          <p><strong>Medsurant Monitoring</strong> provides intraoperative monitoring (IOM) services for complex brain and spine surgeries.</p>  
[b][COLOR=#8F5902]<div align="center">[/color][/b]<a href="[URL unfurl="true"]http://www.medsurantmonitoring.com"[/URL] target="_blank"><img src="images/medsurant.jpg" alt="Medsurant" width="120" height="49"  class="portfolio-image" /></a> [COLOR=#C4A000][b]</div>[/b][/color]

The first one is a miss closed DIV tag, and the second is a Div tag that just never closes at all.

Running the site through a validator would point these errors out:

Validation



----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Web & Tech
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top