471,892 Members | 2,104 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,892 software developers and data experts.

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;Health 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;
Feb 14 '07 #1
3 1273

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.

Feb 14 '07 #2
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.


Feb 14 '07 #3
7,435 Expert 4TB
I also don't see this inability to copy/paste the text. Can we have a link to the server?
Feb 14 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Andrew | last post: by
5 posts views Thread by bulk88 | last post: by
2 posts views Thread by Radu Ciurlea | last post: by
3 posts views Thread by fjm67 | last post: by
1 post views Thread by robbiesmith79 | last post: by
reply views Thread by YellowAndGreen | last post: by
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.