navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

FP .dwt acting bizarre

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> FP .dwt acting bizarre
Page: [1]
 
marlened

 

Posts: 4
Joined: 5/10/2007
Status: offline

 
FP .dwt acting bizarre - 6/29/2008 14:42:45   
This is a strange one to me. I've a .dwt which contains the following regions and classes. When making changes to the .dwt, the associated pages update but the class id appends a additional number or alph onto the page that is being updated not in the dwt file.

CSS File-
#leftcontent {
padding: 20px 24px;

}

#leftcontenta {
padding: 20px 24px;

}

#leftcontenta1 {
padding-left:24px; padding-right:24px; padding-top:2px; padding-bottom:4px
}
#leftcontenta2 {
padding-left:24px; padding-right:24px; padding-top:2px; padding-bottom:4px

}


DWT File

<!-- #BeginEditable "lefttoptitle" -->
<div id="leftcontenta">

<h2>Top left title... </h2></div>
<!-- #EndEditable -->
<div><!--webbot bot="Include" U-Include="../index_menu2.html" TAG="BODY" --></div>
<!-- #BeginEditable "midlefttitle" -->
<div id="leftcontenta1">

<h2>Mid left title... </h2></div>
<!-- #EndEditable -->
<!-- #BeginEditable "leftmidcontent" -->
<div id="leftcontent"><p>Content here.</p>
</div>
<!-- #EndEditable -->
<!-- #BeginEditable "leftbottitle" -->
<div id="leftcontenta2">
<h3>Bottom left title...</h3></div>
<!-- #EndEditable -->
<!-- #BeginEditable "leftbotcontent" -->
<div id="leftcontent">
<p>
<img src="my.jpg" alt="" width="180" height="144"> </p>
<p>Content area</p>
</div>
<!-- #EndEditable -->


Page Example

<h2>The question... </h2></div>
<!-- #EndEditable -->
<!-- #BeginEditable "leftmidcontent" -->
<div id="leftcontent0"><p>Content here?

</p>
The above class is leftcontent. I've tried a couple of things but nothing is working. Would creating additional class ids with the same attributes and assigning them to their respective content areas stop this behavior? I've tried so many things not sure if I've tried that yet, or is this just some funky quirk of FP when a class id is used more than once on a page?

jaybee

 

Posts: 14116
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: FP .dwt acting bizarre - 7/1/2008 4:36:41   
ID should only be used once per page, it's supposed to be unique. Class is for multiple use.

<h2>Mid left title... </h2></div>
<!-- #EndEditable -->
<!-- #BeginEditable "leftmidcontent" -->
<div id="leftcontent"><p>Content here.</p>
</div>
<!-- #EndEditable -->
<!-- #BeginEditable "leftbottitle" -->
<div id="leftcontenta2">
<h3>Bottom left title...</h3></div>
<!-- #EndEditable -->
<!-- #BeginEditable "leftbotcontent" -->
<div id="leftcontent">
<p>
<img src="my.jpg" alt="" width="180" height="144"> </p>
<p>Content area</p> 


_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to marlened)
Page:   [1]

All Forums >> Web Development >> Microsoft FrontPage Help >> FP .dwt acting bizarre
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts