ASCX作为页眉/页脚 [英] ASCX as Header/Footer

查看:65
本文介绍了ASCX作为页眉/页脚的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我想为我构建的每个ASPX页面创建一个页眉和页脚。我分别创建了两个Web用户控件并将它们放在一个ASPX页面中。

问题是我无法将页脚定位在

页面底部。页眉和页脚总是在页面顶部




我错过了什么吗?谢谢!


-

Peter Wu

由Microsoft Windows XP提供[版本5.1.2600]

Hello,

I want to create a Header and Footer for every ASPX page I build. I
created 2 Web user controls respectively and placed them in an ASPX page.
The problem is that I cannot position the Footer to be always at the
bottom of the page. The Header and Footer are always together at the top
of the page.

Was I missing anything? Thanks!

--
Peter Wu
Powered by Microsoft Windows XP [Version 5.1.2600]

推荐答案

听起来像一个HTML概率。


用户控件将显示它在文档中放置的位置

结构。与SSI类似。


" Peter Wu" < PE ***** @ hotmail.com>在消息中写道

news:bg ************ @ ID-117651.news.uni-berlin.de ...
Sounds like an html prob.

A usercontrol will show up where it has been placed with in your document
structure. Similar to SSI.

"Peter Wu" <pe*****@hotmail.com> wrote in message
news:bg************@ID-117651.news.uni-berlin.de...
你好,

我想为我构建的每个ASPX页面创建一个页眉和页脚。我分别创建了2个Web用户控件并将它们放在ASPX页面中。
问题是我无法将页脚定位在页面底部。页眉和页脚总是在页面的顶部。

我错过了什么吗?谢谢!

-
Peter Wu
由Microsoft Windows XP提供[版本5.1.2600]
Hello,

I want to create a Header and Footer for every ASPX page I build. I
created 2 Web user controls respectively and placed them in an ASPX page.
The problem is that I cannot position the Footer to be always at the
bottom of the page. The Header and Footer are always together at the top
of the page.

Was I missing anything? Thanks!

--
Peter Wu
Powered by Microsoft Windows XP [Version 5.1.2600]



Ron Vecchi< ve ****** @ comcast.net>写道:
Ron Vecchi <ve******@comcast.net> wrote:
听起来像一个HTML概率。

用户控件将显示它在
文档结构中的位置。与SSI类似。
Sounds like an html prob.

A usercontrol will show up where it has been placed with in your
document structure. Similar to SSI.




问题是我无法将其移动到页面底部。 :-(


-

Peter Wu

由Microsoft Windows XP提供[版本5.1.2600]



The problem is that I cannot move it to the bottom of the page. :-(

--
Peter Wu
Powered by Microsoft Windows XP [Version 5.1.2600]


仔细检查以确保您的HTML在页面中形成良好且ASCX

(以及组合的HTML输出。)

即使它开始时形成良好,有时设计师通过在你不想要它们的地方添加关闭HTML元素来帮助你b $ b。


-

我希望这会有所帮助,

Steve C. Orr,MCSD
http://Steve.Orr.net

Peter Wu< pe ***** @ hotmail。 com>在消息中写道

news:bg ************ @ ID-117651.news.uni-berlin.de ...
Double check to make sure your HTML is well formed in your page and ASCX
(and the combined HTML output.)
Even if it was well formed to begin with, sometimes the designer "helps" you
by adding closing HTML elements in places where you didn''t want them.

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
"Peter Wu" <pe*****@hotmail.com> wrote in message
news:bg************@ID-117651.news.uni-berlin.de...
Ron Vecchi< ve ****** @ comcast.net>写道:
Ron Vecchi <ve******@comcast.net> wrote:
听起来像一个HTML概率。

用户控件将出现它放在您的
文档结构中的位置与SSI类似。
Sounds like an html prob.

A usercontrol will show up where it has been placed with in your
document structure. Similar to SSI.



问题是我无法将其移到页面底部。 :-(

-
Peter Wu
由Microsoft Windows XP提供[版本5.1.2600]



The problem is that I cannot move it to the bottom of the page. :-(

--
Peter Wu
Powered by Microsoft Windows XP [Version 5.1.2600]



这篇关于ASCX作为页眉/页脚的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆