Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2013
    Posts
    20
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Code is hiding my text

    Can you all tell me why this code will cause the beginning words "Featured Brand Names:" to not show up in the html box? If I highlight that area of text, I can see its there, but otherwise its not showing.

    <fieldset style="WIDTH: 964px; HEIGHT: 48px"><font style="font-size: 12px;"><font style="font-size: 11px;"><u><span style="color: black;"><font color="#c00000"><b><a href="/Manufacturer.aspx">Featured Brand Names:</a></b></font>&nbsp; </span><font style="font-size: 11px;" color="#c00000"><b><a href="http://www.abc.com/Manufacturers/3M.aspx"><font style="font-size: 11px;" color="#c00000">3M<span>

  • #2
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    you did not close the span properly after 3M and there is no closing </a> for your link ( I think this is the problem, but I also think you are nto showing enough of the html for a proper diagnosis)
    . Also the font element is deprecated. and Inline styling is very very difficult to maintain. I would advise you learn about using styelsheets.

    ref: http://www.htmldog.com/guides/css/beginner/
    Last edited by DanInMa; 08-12-2013 at 05:53 PM.

  • Users who have thanked DanInMa for this post:

    tybrantt (08-12-2013)


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •