473,402 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 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;
</p>
</div>
Feb 14 '07 #1
3 1311
Tog
11
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
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
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

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

Similar topics

5
by: Richard | last post by:
I am filling a TEXTAREA with text and links from a database. I need to display the <a href....> code in the TEXTAREA as a clickable link with _blank targetting. I realise I could simply use a TD...
2
by: Andrew | last post by:
I have a <div> section of text in my page that I want to make visible via an input check box associated with an OnClick javascript. I can do this OK but the problem is that the space for the hidden...
5
by: bulk88 | last post by:
I know Netscape 4 is Ancient and horrible but I need to make my site Netscape 4.8 compatible. But how can I rewrite HTML code/do minor DTHML on my site with Netscape 4/4.8, document.write works,...
2
by: Radu Ciurlea | last post by:
Hello. I want to make the browser show some suggestions under a text box (like the To: field in webmail interfaces that displays addresses in the addressbook). Basically whenever something changes...
2
by: Hazzard | last post by:
I just realized that the code I inherited is using all asp.net server controls (ie. webform controls) and when I try to update textboxes on the client side, I lose the new value of the textbox when...
5
by: acord | last post by:
Hi, I m getting annoying display problem when placing javascript tags in a html page. Should the javasscript tags placed at the beginning of a html page before anything start? or placed between...
3
by: fjm67 | last post by:
I am new to PHP but not so new to Postgres. If someone can either direct me to some howto or even provide me with an example, I would be grateful. I would like to know if it is possible to...
1
by: robbiesmith79 | last post by:
Just so this is out there on the web, I battled the past 24 hours about this. Background info... I developed a ecommerce website in PHP 4 on a shared linux hosting plan from GoDaddy and had the...
7
crystal2005
by: crystal2005 | last post by:
Hi all, I'm currenty creating a website. I got one confusing problem related to CSS and JavaScript actually, not really html. The problem is, I actually want my welcome screen page is to be random...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.