Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 31st, 2007, 9:30 PM   #1
ccarter1971
Newbie
 
Join Date: Dec 2006
Posts: 3
Rep Power: 0 ccarter1971 is on a distinguished road
Unhappy CSS is lost when I change Dreamweaver html tag to accomodate Javascript

I have a hidden thumbnail of an image that appear upon rollover of text within my document. The thumb is supposed to appear in the immediate general area below the text. Within my include file (without html, title, head and body tags), it wrks great! However the minute I open the include within the page (with the tags), the position is random and no where near where it is supposed to be. I have stripped the page of all code piece-by-piece (took a while), and the reason it is having these problems is this code here:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

Here are two pages:
http://d17409300.r229.radiowebworks....sting00121.php
http://d17409300.r229.radiowebworks....sting00122.php

The first contains that code, the second contains this:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

The problem is that for whatever reason, with the second code, I lose my css on the links and it alters the page. How can I fix this problem? Please advise asap, as I have wasted WAY to much time trying to figure this out!

Thanks so much, Everyone! I truly appreciate it!

Sincerely-
Charles Carter
ccarter1971 is offline   Reply With Quote
Old May 31st, 2007, 9:50 PM   #2
Wizard1988
Professional Programmer
 
Wizard1988's Avatar
 
Join Date: Oct 2005
Location: Chitown
Posts: 417
Rep Power: 4 Wizard1988 is on a distinguished road
Send a message via AIM to Wizard1988
Why don't you just write one page and then copy and rename it to whatever pages you need. Then you can edit the contents as needed.
__________________
JG-Webdesign
Wizard1988 is offline   Reply With Quote
Old Jun 1st, 2007, 8:45 AM   #3
ccarter1971
Newbie
 
Join Date: Dec 2006
Posts: 3
Rep Power: 0 ccarter1971 is on a distinguished road
I did write one page. I have two pages to show the difference as to what works and what does not.
ccarter1971 is offline   Reply With Quote
Old Jun 1st, 2007, 10:20 AM   #4
Wizard1988
Professional Programmer
 
Wizard1988's Avatar
 
Join Date: Oct 2005
Location: Chitown
Posts: 417
Rep Power: 4 Wizard1988 is on a distinguished road
Send a message via AIM to Wizard1988
Could this be the problem http://www.quirksmode.org/css/quirksmode.html??
__________________
JG-Webdesign
Wizard1988 is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Start Learning Java script smita JavaScript and Client-Side Browser Scripting 0 Mar 15th, 2007 7:47 AM
start Learning HTMl smita HTML / XHTML / CSS 0 Mar 15th, 2007 7:38 AM
Basic HTML Tutorial - Reuben Keeney ReubenK HTML / XHTML / CSS 14 Mar 26th, 2006 5:50 AM
HTML page not reading external Javascript file aznluvsmc JavaScript and Client-Side Browser Scripting 9 Nov 21st, 2005 9:17 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:08 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC