![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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; } |
#3
| |||
| |||
|
|
Don't put stylesheet links in an include file. |
#4
| |||
| |||
|
|
Don't put stylesheet links in an include file. |
#5
| |||
| |||
|
|
Don't put stylesheet links in an include file. Why not? I do it all the time. -Darrel |
#6
| |||
| |||
|
|
Because it will wind up in the body of the page, and will be ignored. |
#7
| |||
| |||
|
|
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 |
#8
| |||
| |||
|
|
Ok, I added a simple .inc file to some of my pages. On some it is positioned correctly, and others it moves around. |
![]() |
| Thread Tools | |
| Display Modes | |
| |