html layer text problems

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • splinternet
    New Member
    • Feb 2007
    • 1

    #1

    html layer text problems

    when i insert text copyed straight from notepad into a layer in dreamweaver i get the following problem.

    when uploaded to the web you cant copy and paste the page text which is odd bedauce all the other pages i have created are fine.

    I cant see anything in the code that stands out so any help would be much appreciated.

    <div id="Layer2" style="position :absolute; width:500px; height:337px; z-index:2; left: 158px; top: 280px;">
    <p> <span class="style3"> <span class="style30" >Welcome to Moody Terrace Dental Practice</span><span class="style32" > <br>
    Based in Congleton, Cheshire we <span class="style13" >are a private dentists surgery providing dental services to Congleton, Biddulph, Scholar Green, Macclesfield, Holmes Chapel and the surrounding areas of Cheshire and Staffordshire. <br>
    We specialise in teeth whitening, Cosmetic and restorative dentistry and are licensed to use the Invisalign teeth straightening system. </span></span></span></p>
    <p><span class="style3"> <B><BR>
    </B><span class="style24" ><span class="style29" >Good Practice</span><br>
    </span><span class="style26" >At Moody Terrace we strive to maintain the high standards you expect. This covers everything from the latest equipment, techniques and materials through &ldquo;Healt h and Safety&rdquo; protocols to staff training.<br>
    The British Dental Association (BDA) &ldquo;Good Practice Scheme&rdquo; is proof of this philosophy. It is a quality mark awarded by dentistry&rsquo ;s professional association which embodies the practice&rsquo; s dedication to providing a high level of service.When we joined the scheme at the end of 2005, we had to satisfy over 90 relevant standards, all of which are based upon a consensus of what is regarded as good practice by the profession. </span></span></p>
    <p class="style3"> &nbsp;</p>
    <p class="style16" ><span class="style16" ><br>
    </span> </p>
    <p class="style3"> &nbsp;
    </p>
    </div>
  • Tog
    New Member
    • Feb 2007
    • 11

    #2
    Hello,

    You might consider cleaning up your tag orders. Nesting span tags is not a good idea, and you also have other unnecessary ones. For exampokle you have a <B><br></B>. Why would you want a bold line break?

    Maybe if you do away with the unnecessary stuff and create css elements which do not require nesting you will get a more acceptable piece of code that will do what you want it to do.

    I hope this helps.

    Tog

    Comment

    • TonyMacaroni
      New Member
      • Jan 2007
      • 9

      #3
      Just a suggestion but you may want to name your "styles" a little bit better so they are easier to read and understand what style you're applying.

      Also try to structure your code using indents as it makes it easier to read and go through when searching for problems and bugs.

      HTH,

      Tony

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        I also don't see this inability to copy/paste the text. Can we have a link to the server?

        Comment

        Working...