This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2006 > CSS Shows in IE but not in FF





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author CSS Shows in IE but not in FF
FreakyJesus

2006-02-24, 10:14 am

Hi gang. This is the url for the very early stages of a site i am putting
together at work. My css values show perfectly in IE7, but nothing at all in
FF. It is not even a new site - just an update to an exisiting one, so the css
was fine when last anything was done with the site. All that's been done is a
couple of new IDs added.

http://www.taradiaries.com/asp/calendars.asp

I have never come across this before. No doubt someone else has though......

Osgood

2006-02-24, 10:14 am

FreakyJesus wrote:
> Hi gang. This is the url for the very early stages of a site i am putting
> together at work. My css values show perfectly in IE7, but nothing at all in
> FF. It is not even a new site - just an update to an exisiting one, so the css
> was fine when last anything was done with the site. All that's been done is a
> couple of new IDs added.
>
> http://www.taradiaries.com/asp/calendars.asp
>
> I have never come across this before. No doubt someone else has though......
>


Probably because the link to the style sheet is wrong.

<link
href="file:///C|/Documents%20and%20Settings/abertaut/My%20Documents/My%20Webs/Tara_Diaries/tara.css"
rel="stylesheet" type="text/css">

FreakyJesus

2006-02-24, 10:14 am

Ok....i see now that the damn template is saving the css link as my local path,
not the proper one. f**k DW templates this keeps happening. I dont know why
thats only affectign it in FF and not DW, and only that page, but for now i
have fixed it by detaching from template and uploading again. Still thats only
a workaround.

Murray *TMM*

2006-02-24, 10:14 am

> I dont know why

I do. You are not working in a properly defined site, or you are linking to
files outside the site.

> but for now i
> have fixed it by detaching from template and uploading again.


That's a terrible solution.

Show me your template, please.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"FreakyJesus" <webforumsuser@macromedia.com> wrote in message
news:dti5k3$70m$1@forums.macromedia.com...
> Ok....i see now that the damn template is saving the css link as my local
> path,
> not the proper one. f**k DW templates this keeps happening. I dont know
> why
> thats only affectign it in FF and not DW, and only that page, but for now
> i
> have fixed it by detaching from template and uploading again. Still thats
> only
> a workaround.
>



FreakyJesus

2006-02-24, 10:14 am

Here is the tamplate file. The css file shows as local in this, but i thought
that converted when a page was created from the temaplate. I have checked a few
pages in both ff and IE and same result...

Thanks.

<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Tara Diaries & Calendars 2007</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
background-color: #FCF5F5;
}
-->
</style>

<link
href="file:///C|/Documents%20and%20Settings/abertaut/My%20Documents/My%20Webs/Ta
ra_Diaries/tara.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="750" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="167" rowspan="2" valign="top"><img src="../images/left_bar.gif"
width="170" height="543" border="0" usemap="#Map"></td>
<td width="583" height="129" valign="top"><img src="../images/top_bar.gif"
width="742" height="131"></td>
</tr>
<tr>
<td align="left" valign="top" ><!-- TemplateBeginEditable
name="EditRegion1" -->EditRegion1<!-- TemplateEndEditable --></td>
</tr>
</table>
<map name="Map">
<area shape="rect" coords="114,469,162,499" href="../asp/links.asp"
alt="Links To Other Slevin Sites">
<area shape="rect" coords="96,433,163,460" href="../asp/contact.asp"
alt="Contact Tara Diaries">
<area shape="rect" coords="83,395,164,426" href="../asp/brochure.asp"
alt="Free Tara Brochure">
<area shape="rect" coords="40,322,162,353" href="../asp/special_offer.asp"
alt="Our Most Recent Special Offer">
<area shape="rect" coords="58,291,160,315" href="../asp/desk_easels.asp"
alt="Tara 2007 Desk Easels">
<area shape="rect" coords="23,255,160,278" href="../asp/christmas_cards.asp"
alt="2007 Christmas Cards">
<area shape="rect" coords="80,215,160,244" href="../asp/calendars.asp"
alt="Tara 2007 Calendars">
<area shape="rect" coords="100,183,161,208" href="../asp/diaries.asp"
alt="Tara 2007 Diaries">
</map>
</body>
</html>


Murray *TMM*

2006-02-24, 10:14 am

You are creating ASP/Javascript pages? Are you sure? What is the filename?

> <link
> href="file:///C|/Documents%20and%20Settings/abertaut/My%20Documents/My%20Webs/Ta
> ra_Diaries/tara.css" rel="stylesheet" type="text/css">


Obviously this link is not going to work. Please try remaking it in the
template, saving the template, and allowing all local files to update.

There is something else wrong with this template. It does not have an
editable region around the <title> tag, and it does not have an empty
editable region in the head of the page, as a normal template does. It
appears that you have created it improperly by using FILE | Save As..., and
then saving in the Templates folder. That is not correct. You should have
used FILE | Save As Template....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"FreakyJesus" <webforumsuser@macromedia.com> wrote in message
news:dtjs7i$ftk$1@forums.macromedia.com...
> Here is the tamplate file. The css file shows as local in this, but i
> thought
> that converted when a page was created from the temaplate. I have checked
> a few
> pages in both ff and IE and same result...
>
> Thanks.
>
> <%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
> <html>
> <head>
> <title>Tara Diaries & Calendars 2007</title>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <style type="text/css">
> <!--
> body {
> margin-left: 0px;
> margin-top: 0px;
> background-color: #FCF5F5;
> }
> -->
> </style>
>
> <link
> href="file:///C|/Documents%20and%20Settings/abertaut/My%20Documents/My%20Webs/Ta
> ra_Diaries/tara.css" rel="stylesheet" type="text/css">
> </head>
>
> <body>
> <table width="750" border="0" cellspacing="0" cellpadding="0">
> <tr>
> <td width="167" rowspan="2" valign="top"><img
> src="../images/left_bar.gif"
> width="170" height="543" border="0" usemap="#Map"></td>
> <td width="583" height="129" valign="top"><img
> src="../images/top_bar.gif"
> width="742" height="131"></td>
> </tr>
> <tr>
> <td align="left" valign="top" ><!-- TemplateBeginEditable
> name="EditRegion1" -->EditRegion1<!-- TemplateEndEditable --></td>
> </tr>
> </table>
> <map name="Map">
> <area shape="rect" coords="114,469,162,499" href="../asp/links.asp"
> alt="Links To Other Slevin Sites">
> <area shape="rect" coords="96,433,163,460" href="../asp/contact.asp"
> alt="Contact Tara Diaries">
> <area shape="rect" coords="83,395,164,426" href="../asp/brochure.asp"
> alt="Free Tara Brochure">
> <area shape="rect" coords="40,322,162,353"
> href="../asp/special_offer.asp"
> alt="Our Most Recent Special Offer">
> <area shape="rect" coords="58,291,160,315" href="../asp/desk_easels.asp"
> alt="Tara 2007 Desk Easels">
> <area shape="rect" coords="23,255,160,278"
> href="../asp/christmas_cards.asp"
> alt="2007 Christmas Cards">
> <area shape="rect" coords="80,215,160,244" href="../asp/calendars.asp"
> alt="Tara 2007 Calendars">
> <area shape="rect" coords="100,183,161,208" href="../asp/diaries.asp"
> alt="Tara 2007 Diaries">
> </map>
> </body>
> </html>
>
>



FreakyJesus

2006-02-24, 10:15 am

Yea all of the pages are asp/javascript. I reapplied the css file and resaved
as you suggested and so far so good. (How the hell can you tell if i did save
as template or not??? lol) I usually do it the right way but its possible i
goofed it this time .
The editable region around the title tag doesn't both me so much but I had no
idea about the edible region in the header....this explains the trouble i have
inserting SO many behaviours!!!
Thanks again.

Murray *TMM*

2006-02-24, 10:15 am

> Yea all of the pages are asp/javascript.

Weird....

> The editable region around the title tag doesn't both me so much


A descriptive title on each page is one of your most important SE tools.
WIthout an editable region there, you will not be able to do that.

> How the hell can you tell if i did save as template or not???


The missing editable regions in the head of the page are a dead giveaway.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"FreakyJesus" <webforumsuser@macromedia.com> wrote in message
news:dtkmer$o8t$1@forums.macromedia.com...
> Yea all of the pages are asp/javascript. I reapplied the css file and
> resaved
> as you suggested and so far so good. (How the hell can you tell if i did
> save
> as template or not??? lol) I usually do it the right way but its possible
> i
> goofed it this time .
> The editable region around the title tag doesn't both me so much but I had
> no
> idea about the edible region in the header....this explains the trouble i
> have
> inserting SO many behaviours!!!
> Thanks again.
>



FreakyJesus

2006-02-24, 10:15 am

Why weird?
And i didnt know that about SE....I will add an editable tregion first thing tomorrow and get to work. Cheers.
Murray *TMM*

2006-02-24, 10:15 am

I just don't know many people who do server-side javascript....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"FreakyJesus" <webforumsuser@macromedia.com> wrote in message
news:dtl31p$d5t$1@forums.macromedia.com...
> Why weird?
> And i didnt know that about SE....I will add an editable tregion first
> thing tomorrow and get to work. Cheers.



FreakyJesus

2006-02-24, 10:15 am

What serverside javascript? I dont think I am doing anything unusual, but hell i've been way wrong before! The only javascript i use are DW behaviours or extensions...
Murray *TMM*

2006-02-24, 10:15 am

A page with that prolog is declared to be using server-side javascript. If
you are building ordinary ASP pages and don't know from server-side
javascript, then you want to use the ASP/VBScript option, not the
ASP/Javascript option.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"FreakyJesus" <webforumsuser@macromedia.com> wrote in message
news:dtmp9u$m99$1@forums.macromedia.com...
> What serverside javascript? I dont think I am doing anything unusual, but
> hell i've been way wrong before! The only javascript i use are DW
> behaviours or extensions...



FreakyJesus

2006-02-24, 10:15 am

Are there any advantages/disadvantages to this? I went for asp/javasc when i started dynamic work because i new NOTHING about VB....I'd happliy switch if there was any advantage to it.
FreakyJesus

2006-02-24, 10:15 am

PS.....I notice the template now has ".dwt.asp" as its extension.....Is this totally goofed?
Murray *TMM*

2006-02-24, 10:15 am

No, if you are creating ASP pages, that's how it should be.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"FreakyJesus" <webforumsuser@macromedia.com> wrote in message
news:dtmtmn$s9s$1@forums.macromedia.com...
> PS.....I notice the template now has ".dwt.asp" as its extension.....Is
> this totally goofed?



Murray *TMM*

2006-02-24, 10:15 am

Most people who are using ASP are using ASP/VBScript. I suspect you are
too.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"FreakyJesus" <webforumsuser@macromedia.com> wrote in message
news:dtmtj0$s4g$1@forums.macromedia.com...
> Are there any advantages/disadvantages to this? I went for asp/javasc when
> i started dynamic work because i new NOTHING about VB....I'd happliy
> switch if there was any advantage to it.



FreakyJesus

2006-02-24, 10:15 am

Thanks. I will go on on this line, now that i know where i was goofing it.
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews