Adobe Dreamweaver Forums



Last 10 THreads :         Problem with navigateToURL to a certain frame (Last Post : Ibsie - Replies : 0 - Views : 1 )           »          html view - how to wrap the text (Last Post : lmckh - Replies : 1 - Views : 2 )           »          Help! Prob with CSS display (Last Post : hnajskmei - Replies : 0 - Views : 1 )           »          DW help urgently needed, lost my connection to site (Last Post : Ronnie MacGregor - Replies : 11 - Views : 12 )           »          Connecting to a Database (Last Post : Ronnie MacGregor - Replies : 11 - Views : 12 )           »          application.cfm/webservice (Last Post : BKBK - Replies : 1 - Views : 2 )           »          Random positions for Movieclips (Last Post : arnhemcs - Replies : 4 - Views : 8 )           »          Generating LEGAL size Word doc (Last Post : BKBK - Replies : 2 - Views : 3 )           »          This Tough Economy and Flex/AIR (Last Post : LuigiL - Replies : 2 - Views : 109 )           »          Fireworks images seem jaggy or kind of blurry (Last Post : azmatswabi - Replies : 5 - Views : 7 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Dreamweaver: Main > Dreamweaver General
 
Tags:



Reply
  #1 (permalink)  
Old 10-06-2008, 06:13 PM
G. Schnitzelberger
 
Posts: n/a
Diggs:
Default Dreamweaver keeps creating files where not wanted

Hi folks,

I got a little problem with DW (CS3) lately: It creates files intuitively,
for example it will create a file Style.css if include a Style.css in my
index file.
I do not want this though. Any way to prevent DW from doing this?

--
Regards,
G. Schnitzelberger



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-06-2008, 06:23 PM
Walt F. Schaefer
 
Posts: n/a
Diggs:
Default Re: Dreamweaver keeps creating files where not wanted

>>if include a Style.css in my index file.

Please explain what that means.
--

Walt


"G. Schnitzelberger" <g.schnitzelberger@gmail.com> wrote in message
news:gcdgjc$3lm$00$1@news.t-online.com...
> Hi folks,
>
> I got a little problem with DW (CS3) lately: It creates files intuitively,
> for example it will create a file Style.css if include a Style.css in my
> index file.
> I do not want this though. Any way to prevent DW from doing this?
>
> --
> Regards,
> G. Schnitzelberger



Reply With Quote
  #3 (permalink)  
Old 10-06-2008, 07:14 PM
G. Schnitzelberger
 
Posts: n/a
Diggs:
Default Re: Dreamweaver keeps creating files where not wanted

Walt F. Schaefer wrote:
>>> if include a Style.css in my index file.

>
> Please explain what that means.
>
> "G. Schnitzelberger" <g.schnitzelberger@gmail.com> wrote in message
> news:gcdgjc$3lm$00$1@news.t-online.com...
>> Hi folks,
>>
>> I got a little problem with DW (CS3) lately: It creates files
>> intuitively, for example it will create a file Style.css if include
>> a Style.css in my index file.
>> I do not want this though. Any way to prevent DW from doing this?


A CSS file has to be included like this:
<link rel="stylesheet" type="text/css" hrefStyle.css" />

If I put this line into a file (html or php), and save that file,
Dreamweaver creates the Style.css (if it doesn`t exist).

--
Gruß,
G. Schnitzelberger

Reply With Quote


  #4 (permalink)  
Old 10-06-2008, 08:00 PM
Walt F. Schaefer
 
Posts: n/a
Diggs:
Default Re: Dreamweaver keeps creating files where not wanted

> If I put this line into a file (html or php), and save that file,
> Dreamweaver creates the Style.css (if it doesn`t exist).


Ok. And how is that bad? If DW didn't do that you would have a link to
nowhere. How would that help?
--

Walt


"G. Schnitzelberger" <g.schnitzelberger@gmail.com> wrote in message
news:gcdig6$7db$00$1@news.t-online.com...
> Walt F. Schaefer wrote:
>>>> if include a Style.css in my index file.

>>
>> Please explain what that means.
>>
>> "G. Schnitzelberger" <g.schnitzelberger@gmail.com> wrote in message
>> news:gcdgjc$3lm$00$1@news.t-online.com...
>>> Hi folks,
>>>
>>> I got a little problem with DW (CS3) lately: It creates files
>>> intuitively, for example it will create a file Style.css if include
>>> a Style.css in my index file.
>>> I do not want this though. Any way to prevent DW from doing this?

>
> A CSS file has to be included like this:
> <link rel="stylesheet" type="text/css" hrefStyle.css" />
>
> If I put this line into a file (html or php), and save that file,
> Dreamweaver creates the Style.css (if it doesn`t exist).
>
> --
> Gruß,
> G. Schnitzelberger



Reply With Quote
  #5 (permalink)  
Old 10-06-2008, 08:51 PM
G. Schnitzelberger
 
Posts: n/a
Diggs:
Default Re: Dreamweaver keeps creating files where not wanted

Walt F. Schaefer wrote:
>> If I put this line into a file (html or php), and save that file,
>> Dreamweaver creates the Style.css (if it doesn`t exist).

>
> Ok. And how is that bad? If DW didn't do that you would have a link to
> nowhere. How would that help?
>
> "G. Schnitzelberger" <g.schnitzelberger@gmail.com> wrote in message
> news:gcdig6$7db$00$1@news.t-online.com...
>> Walt F. Schaefer wrote:
>>>>> if include a Style.css in my index file.
>>>
>>> Please explain what that means.
>>>
>>> "G. Schnitzelberger" <g.schnitzelberger@gmail.com> wrote in message
>>> news:gcdgjc$3lm$00$1@news.t-online.com...
>>>> Hi folks,
>>>>
>>>> I got a little problem with DW (CS3) lately: It creates files
>>>> intuitively, for example it will create a file Style.css if include
>>>> a Style.css in my index file.
>>>> I do not want this though. Any way to prevent DW from doing this?

>>
>> A CSS file has to be included like this:
>> <link rel="stylesheet" type="text/css" hrefStyle.css" />
>>
>> If I put this line into a file (html or php), and save that file,
>> Dreamweaver creates the Style.css (if it doesn`t exist).


Because I am used to high-level coding, and thatfore used to
non-straight-forward including-structures.
Just because I state that my CSS file is calle Style.css it does not have to
be in that very directory.
DW let me decide that in the past, but for some reason it took that decision
from me.

So do you have actual advice on the topic?

--
Gruß,
G. Schnitzelberger

Reply With Quote
  #6 (permalink)  
Old 10-06-2008, 09:31 PM
Walt F. Schaefer
 
Posts: n/a
Diggs:
Default Re: Dreamweaver keeps creating files where not wanted

Advice? Sure. Don't make the link until you have created the CSS file.
Without the file the link has no purpose or value anyway so why create it
prematurely?

--

Walt


"G. Schnitzelberger" <g.schnitzelberger@gmail.com> wrote in message
news:gcdnq3$td3$02$1@news.t-online.com...
> Walt F. Schaefer wrote:
>>> If I put this line into a file (html or php), and save that file,
>>> Dreamweaver creates the Style.css (if it doesn`t exist).

>>
>> Ok. And how is that bad? If DW didn't do that you would have a link to
>> nowhere. How would that help?
>>
>> "G. Schnitzelberger" <g.schnitzelberger@gmail.com> wrote in message
>> news:gcdig6$7db$00$1@news.t-online.com...
>>> Walt F. Schaefer wrote:
>>>>>> if include a Style.css in my index file.
>>>>
>>>> Please explain what that means.
>>>>
>>>> "G. Schnitzelberger" <g.schnitzelberger@gmail.com> wrote in message
>>>> news:gcdgjc$3lm$00$1@news.t-online.com...
>>>>> Hi folks,
>>>>>
>>>>> I got a little problem with DW (CS3) lately: It creates files
>>>>> intuitively, for example it will create a file Style.css if include
>>>>> a Style.css in my index file.
>>>>> I do not want this though. Any way to prevent DW from doing this?
>>>
>>> A CSS file has to be included like this:
>>> <link rel="stylesheet" type="text/css" hrefStyle.css" />
>>>
>>> If I put this line into a file (html or php), and save that file,
>>> Dreamweaver creates the Style.css (if it doesn`t exist).

>
> Because I am used to high-level coding, and thatfore used to
> non-straight-forward including-structures.
> Just because I state that my CSS file is calle Style.css it does not have
> to be in that very directory.
> DW let me decide that in the past, but for some reason it took that
> decision from me.
>
> So do you have actual advice on the topic?
>
> --
> Gruß,
> G. Schnitzelberger



Reply With Quote


  #7 (permalink)  
Old 10-07-2008, 05:52 PM
G. Schnitzelberger
 
Posts: n/a
Diggs:
Default Re: Dreamweaver keeps creating files where not wanted

Walt F. Schaefer wrote:
> Advice? Sure. Don't make the link until you have created the CSS file.
> Without the file the link has no purpose or value anyway so why
> create it prematurely?


So you still don`t understand, huh? :-)

Ok, check this out: I got a file x.php, which links to the file style.css.
style.css is not located in the same directory.
Here is the but: x.php gets included in y.php, which is one level higher.
style.css is in the same dir as y.php. So the path is correct now.
But: DW creates a file style.css in x.php`s dir, which will never be usded.

Got it now? I am really looking for help here...

--
Gruß,
G. Schnitzelberger

Reply With Quote
  #8 (permalink)  
Old 10-07-2008, 06:02 PM
Gary White
 
Posts: n/a
Diggs:
Default Re: Dreamweaver keeps creating files where not wanted

On Tue, 7 Oct 2008 18:35:56 +0200, "G. Schnitzelberger"
<g.schnitzelberger@gmail.com> wrote:

>Ok, check this out: I got a file x.php, which links to the file style.css.
>style.css is not located in the same directory.
>Here is the but: x.php gets included in y.php, which is one level higher.
>style.css is in the same dir as y.php. So the path is correct now.
>But: DW creates a file style.css in x.php`s dir, which will never be usded.


I'm not sure that I understand either, but I use a lot of PHP
includes. I always make any links in include files as site root
relative links. That way they will work regardless of where the file
gets included.

Gary
Reply With Quote
  #9 (permalink)  
Old 10-07-2008, 06:55 PM
G. Schnitzelberger
 
Posts: n/a
Diggs:
Default Re: Dreamweaver keeps creating files where not wanted

Gary White wrote:
> On Tue, 7 Oct 2008 18:35:56 +0200, "G. Schnitzelberger"
> <g.schnitzelberger@gmail.com> wrote:
>
>> Ok, check this out: I got a file x.php, which links to the file
>> style.css. style.css is not located in the same directory.
>> Here is the but: x.php gets included in y.php, which is one level
>> higher. style.css is in the same dir as y.php. So the path is
>> correct now.
>> But: DW creates a file style.css in x.php`s dir, which will never be
>> usded.

>
> I'm not sure that I understand either, but I use a lot of PHP
> includes. I always make any links in include files as site root
> relative links. That way they will work regardless of where the file
> gets included.


Jep, that works for sure. Not flexible enough for me though.
If you`re moving depth-wise you gotta change your links...

And again: DW did not always do that. So there must be a way for me :-)

--
Gruß,
G. Schnitzelberger

Reply With Quote


  #10 (permalink)  
Old 10-07-2008, 11:56 PM
Gary White
 
Posts: n/a
Diggs:
Default Re: Dreamweaver keeps creating files where not wanted

On Tue, 7 Oct 2008 19:45:37 +0200, "G. Schnitzelberger"
<g.schnitzelberger@gmail.com> wrote:

>Jep, that works for sure. Not flexible enough for me though.
>If you`re moving depth-wise you gotta change your links...


Okay, then I was right. I don't understand because a root relative
link will always be correct for me.

Gary
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 12:17 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk