HighDots Forums  

Confused... .

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Confused... . in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Steve Grosz
 
Posts: n/a

Default Confused... . - 12-02-2005 , 11:40 AM






Ok, I added a simple .inc file to some of my pages. On some it is
positioned correctly, and others it moves around.

The pages are:

www.scootervilleusa.com/default2.htm (for the correct page)
www.scootervilleusa.com/accessories2.htm (for the incorrect page)

The code I'm using for the included page is:

<link href="../CSS/scoot1.css" rel="stylesheet" type="text/css">

<div id="Search" style="width:747px; margin:0 auto;">
<form style="margin-top:0;" action="../CF/collectionsearch.cfm"
method="post"><div><strong>Search</strong></div>
<div id="SearchBox">
<label>Keywords or search phrase:
<input type="text" name="searchstring">
</label>
<label>
<input type="image" name="imageField"
src="/images/hpweb_1-2_arrw_sbmt.gif" alt="Begin your search"
title="Begin your search">
</label>
</div>
<div id="SearchOption"><input name="test1" type="radio"
value="Scooterville,Scooterville2,manuals" checked>
Products / Information
<input name="test1" type="radio" value="">
Information Only</div>

<input type="hidden" name="MaxRows" value="10">
<input type="hidden" name="StartRow" value="1"></form>
</div>
</div>

And for the CSS, I have:

#Search #SearchBox {
position: relative;
width: 400px;
top: 3px;
margin-left: 125px;
font-family: Arial, Helvetica, sans-serif;
font-size: 9px;
}
#Search #SearchOption {
position: relative;
width: 250px;
top: 3px;
margin-left: 260px;
font-size: 10px;
}
#Search div {
width: 45px;
margin-left: 50px;
position: relative;
top: 5px;
}
#Search {
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #333333;
border-right-color: #333333;
border-bottom-color: #333333;
border-left-color: #333333;
position: relative;
width: 747px;
background-color: #CCCCCC;
height: 70px;
}

Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Confused... . - 12-02-2005 , 11:49 AM






Don't put stylesheet links in an include file.

--
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
==================


"Steve Grosz" <boise_bound (AT) hotmail (DOT) com> wrote

Quote:
Ok, I added a simple .inc file to some of my pages. On some it is
positioned correctly, and others it moves around.

The pages are:

www.scootervilleusa.com/default2.htm (for the correct page)
www.scootervilleusa.com/accessories2.htm (for the incorrect page)

The code I'm using for the included page is:

link href="../CSS/scoot1.css" rel="stylesheet" type="text/css"

div id="Search" style="width:747px; margin:0 auto;"
form style="margin-top:0;" action="../CF/collectionsearch.cfm"
method="post"><div><strong>Search</strong></div
div id="SearchBox"
label>Keywords or search phrase:
input type="text" name="searchstring"
/label
label
input type="image" name="imageField"
src="/images/hpweb_1-2_arrw_sbmt.gif" alt="Begin your search" title="Begin
your search"
/label
/div
div id="SearchOption"><input name="test1" type="radio"
value="Scooterville,Scooterville2,manuals" checked
Products / Information
input name="test1" type="radio" value=""
Information Only</div

input type="hidden" name="MaxRows" value="10"
input type="hidden" name="StartRow" value="1"></form
/div
/div

And for the CSS, I have:

#Search #SearchBox {
position: relative;
width: 400px;
top: 3px;
margin-left: 125px;
font-family: Arial, Helvetica, sans-serif;
font-size: 9px;
}
#Search #SearchOption {
position: relative;
width: 250px;
top: 3px;
margin-left: 260px;
font-size: 10px;
}
#Search div {
width: 45px;
margin-left: 50px;
position: relative;
top: 5px;
}
#Search {
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-top-color: #333333;
border-right-color: #333333;
border-bottom-color: #333333;
border-left-color: #333333;
position: relative;
width: 747px;
background-color: #CCCCCC;
height: 70px;
}



Reply With Quote
  #3  
Old   
darrel
 
Posts: n/a

Default Re: Confused... . - 12-02-2005 , 11:53 AM




Quote:
Don't put stylesheet links in an include file.
Why not?

I do it all the time.

-Darrel




Reply With Quote
  #4  
Old   
Steve Grosz
 
Posts: n/a

Default Re: Confused... . - 12-02-2005 , 11:54 AM



Ok, its not in there anymore, but that still doesn't resolve the problem...

Murray *TMM* wrote:
Quote:
Don't put stylesheet links in an include file.


Reply With Quote
  #5  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Confused... . - 12-02-2005 , 12:03 PM



Because it will wind up in the body of the page, and will be ignored.

--
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
==================


"darrel" <notreal (AT) nowhere (DOT) com> wrote

Quote:
Don't put stylesheet links in an include file.

Why not?

I do it all the time.

-Darrel




Reply With Quote
  #6  
Old   
Joe Makowiec
 
Posts: n/a

Default Re: Confused... . - 12-02-2005 , 12:12 PM



On 02 Dec 2005 in macromedia.dreamweaver, Murray *TMM* wrote:

Quote:
Because it will wind up in the body of the page, and will be ignored.
It doesn't have to. I've got pages with head content from an include
file.

--
Joe Makowiec
http://makowiec.net/
Email: http://makowiec.net/email.php


Reply With Quote
  #7  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Confused... . - 12-02-2005 , 12:18 PM



The example was clearly not that.

--
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
==================


"Joe Makowiec" <makowiec (AT) invalid (DOT) invalid> wrote

Quote:
On 02 Dec 2005 in macromedia.dreamweaver, Murray *TMM* wrote:

Because it will wind up in the body of the page, and will be ignored.

It doesn't have to. I've got pages with head content from an include
file.

--
Joe Makowiec
http://makowiec.net/
Email: http://makowiec.net/email.php



Reply With Quote
  #8  
Old   
Gary White
 
Posts: n/a

Default Re: Confused... . - 12-02-2005 , 02:39 PM



On Fri, 02 Dec 2005 09:40:13 -0700, Steve Grosz
<boise_bound (AT) hotmail (DOT) com> wrote:

Quote:
Ok, I added a simple .inc file to some of my pages. On some it is
positioned correctly, and others it moves around.

See http://tinyurl.com/ay7s7

Pay particular attention to errors number 1, 2 and 22.

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.