By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,445 Members | 1,160 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,445 IT Pros & Developers. It's quick & easy.

html layer text problems

P: 1
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;
</p>
</div>
Feb 14 '07 #1
Share this Question
Share on Google+
3 Replies


Tog
P: 11
Tog
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
Feb 14 '07 #2

P: 9
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
Feb 14 '07 #3

drhowarddrfine
Expert 5K+
P: 7,435
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.