开发者

Master page acting weird

开发者 https://www.devze.com 2023-01-13 07:55 出处:网络
So I applied this master page to two files..one inside the same folder(file1.aspx) as the master page..another outside(file2.aspx)..master 开发者_Go百科page is applying alright to file2.aspx BUT not c

So I applied this master page to two files..one inside the same folder(file1.aspx) as the master page..another outside(file2.aspx)..master 开发者_Go百科page is applying alright to file2.aspx BUT not completely..a TD's bgcolor is missing..and ONLY that..why so ?

BOTH files got no code of their own yet..just the application of the master page

[Edit]

this is the address to the master page in both the files

MasterPageFile="~/templates/master1.master"

both files got no tag..nothing..just the application of this master page


All css links all master page resolved relative to the page location, not the master location. Is it possible that you two pages are in folders at different nesting level and you did not account for it?

0

精彩评论

暂无评论...
验证码 换一张
取 消