зеркало из https://github.com/mozilla/gecko-dev.git
Added fixed poistioning
This commit is contained in:
Родитель
0ddefa7a6c
Коммит
0e35c0da47
|
@ -29,6 +29,7 @@ EXPORT_RESOURCE_SAMPLES = \
|
|||
$(srcdir)/status.html \
|
||||
$(srcdir)/toolbar.xml \
|
||||
$(srcdir)/BrowserInitPage.html \
|
||||
$(srcdir)/sidebar.html \
|
||||
$(srcdir)/xul.css \
|
||||
$(NULL)
|
||||
|
||||
|
|
|
@ -18,13 +18,69 @@ BODY,TD,INPUT {
|
|||
BODY {
|
||||
margin: 0px 0px 0px 0px;
|
||||
}
|
||||
#header {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 80px;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: auto;
|
||||
left: 0;
|
||||
background-color: #cccccc;
|
||||
}
|
||||
#sidebar {
|
||||
position: fixed;
|
||||
width: 10em;
|
||||
height: auto;
|
||||
top: 80px;
|
||||
right: auto;
|
||||
bottom: 34px;
|
||||
left: 0;
|
||||
font-style: italic;
|
||||
background-color: #ffffe0;
|
||||
}
|
||||
#main {
|
||||
position: fixed;
|
||||
width: auto;
|
||||
height: auto;
|
||||
top: 80px;
|
||||
right: 0;
|
||||
bottom: 34px;
|
||||
left: 10em;
|
||||
overflow: auto;
|
||||
padding: 2px .5em;
|
||||
border: solid 1px black;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
#footer {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 34px;
|
||||
top: auto;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
text-align: center;
|
||||
margin-top: auto;
|
||||
background-color: #cccccc;
|
||||
}
|
||||
</style>
|
||||
|
||||
<iframe src="toolbar.xml" name="browser.toolbar" width="100%" height="80" >
|
||||
<DIV id="header">
|
||||
<iframe src="toolbar.xml" name="browser.toolbar" width="100%" height="80" ></iframe>
|
||||
</DIV>
|
||||
|
||||
<iframe src="BrowserInitPage.html" name="browser.webwindow" width="100%" height="500" >
|
||||
<DIV id="main">
|
||||
<iframe src="BrowserInitPage.html" name="browser.webwindow" width="100%" height=450></iframe>
|
||||
</DIV>
|
||||
|
||||
<iframe src="status.html" name="browser.status" width="100%" height="34" >
|
||||
<DIV id="sidebar">
|
||||
<iframe src="sidebar.html" name="browser.sidebar" width="100%" height="100%"></iframe>
|
||||
</DIV>
|
||||
|
||||
<DIV id="footer">
|
||||
<iframe src="status.html" name="browser.status" width="100%" height="34" ></iframe>
|
||||
</DIV>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -67,6 +67,7 @@ install:: $(DLL)
|
|||
$(MAKE_INSTALL) status.html $(DIST)\bin\res\samples
|
||||
$(MAKE_INSTALL) toolbar.xml $(DIST)\bin\res\samples
|
||||
$(MAKE_INSTALL) BrowserInitPage.html $(DIST)\bin\res\samples
|
||||
$(MAKE_INSTALL) sidebar.html $(DIST)\bin\res\samples
|
||||
$(MAKE_INSTALL) xul.css $(DIST)\bin\res\samples
|
||||
|
||||
clobber::
|
||||
|
@ -74,4 +75,5 @@ clobber::
|
|||
rm -f $(DIST)\res\samples\appshell.html
|
||||
rm -f $(DIST)\res\samples\status.html
|
||||
rm -f $(DIST)\res\samples\BrowserInitPage.html
|
||||
rm -f $(DIST)\res\samples\sidebar.html
|
||||
rm -f $(DIST)\res\samples\xul.css
|
||||
|
|
|
@ -0,0 +1,42 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Example 0</title>
|
||||
</head>
|
||||
|
||||
<script>
|
||||
|
||||
</script>
|
||||
|
||||
<body bgcolor="#FFFFFF" text="#000000">
|
||||
<small>
|
||||
<A HREF=http://info.netscape.com/fwd/hom12rabc/http://www.abcnews.com><B><FONT FACE=Arial COLOR="#6699ff">ABC</FONT><FONT FACE=Arial COLOR="#000000">NEWS.com</FONT></B></A>
|
||||
<TABLE BORDER=0 CELLSPACING=0>
|
||||
<!-- ReplaceHeadline -->
|
||||
<TR><TD VALIGN=TOP ALIGN=LEFT><LI> </TD><TD><FONT SIZE=-1><A HREF="http://info.netscape.com/fwd/homabcnews/http://www.abcnews.com/sections/US/index.html">FLASH: Acquittal on Both Articles; No Majority</A></FONT></TD></TR>
|
||||
<TR><TD VALIGN=TOP ALIGN=LEFT><LI> </TD><TD><FONT SIZE=-1><A HREF="http://info.netscape.com/fwd/homabcnews/http://www.abcnews.com/sections/Travel/index.html">Coping with American Airlines Slowdown</A></FONT></TD></TR>
|
||||
<TR><TD VALIGN=TOP ALIGN=LEFT><LI> </TD><TD><FONT SIZE=-1><A HREF="http://info.netscape.com/fwd/homabcnews/http://www.abcnews.com/sections/US/index.html">Mystery Fumes Sicken Riders</A></FONT></TD></TR>
|
||||
<TR><TD VALIGN=TOP ALIGN=LEFT><LI> </TD><TD><FONT SIZE=-1><A HREF="http://info.netscape.com/fwd/homabcnews/http://www.abcnews.com/sections/World/index.html">Anger in Italian Rape Case</A></FONT></TD></TR>
|
||||
<!-- ReplaceHeadline -->
|
||||
|
||||
<TR><TD COLSPAN=2><BR><B><FONT FACE=Arial COLOR="#6699ff" SIZE=-1>Today </FONT><FONT FACE=Arial COLOR="#000000" SIZE=-1>Inside Netcenter</FONT></B></TD></TR>
|
||||
<TR><TD VALIGN=TOP><LI> </TD><TD><small><A HREF="http://info.netscape.com/fwd/hom02flh1/http://www.ftd.com/netscapept/">Send flowers to your special valentine</A>.</small></TD></TR>
|
||||
<TR><TD VALIGN=TOP><LI> </TD><TD><small><A HREF="http://info.netscape.com/fwd/hom02flh2/http://digitalcity.netscape.com/dining/">Plan a romantic dinner for two</A>.</small></TD></TR>
|
||||
<TR><TD VALIGN=TOP><LI> </TD><TD><small><A HREF="http://info.netscape.com/fwd/hom02flh3/http://excite.netscape.com/shopping/">Flaunt your love this V-Day</A>.</small></TD></TR>
|
||||
<TR><TD VALIGN=TOP><LI> </TD><TD><small><A HREF="http://info.netscape.com/fwd/hom02flh4/http://classifieds2000.com/cgi-cls/display.exe?partner=Netcenter&path=personal~searchPersonalCategories&template=none">Find a date for Valentine's</A>.</small></TD></TR>
|
||||
<TR><TD VALIGN=TOP><LI> </TD><TD><small><A HREF="/promotions/acqcls1.html?cp=hom02flh5">Enter to win a free trip to Paris</A>.</small></TD></TR>
|
||||
<TR><TD COLSPAN=2> </TD></TR>
|
||||
<TR><TD VALIGN=TOP><LI> </TD><TD><small><A HREF="http://form.netscape.com/ibd/cgi-bin/ibd-x.cgi?cp=hom02ribd">In-Box Direct: Free E-Magazines</A></small></TD></TR>
|
||||
<TR><TD VALIGN=TOP><LI> </TD><TD><small><A HREF="/netcenter/index.html?cp=hom02rabt">About Netcenter</A></small></TD></TR>
|
||||
</TR>
|
||||
</TABLE><P>
|
||||
<TR><TD COLSPAN=4 BGCOLOR="#99cccc"><table BORDER=0 cellspacing=0 cellpadding=0><tr><td height=1></td></tr></table> </TD></TR> </TABLE>
|
||||
<TABLE WIDTH=600><TR><TD ALIGN=CENTER WIDTH=150 ROWSPAN=2><A HREF="http://info.netscape.com/fwd/hom02prb1/http://excite.netscape.com/shopping/"><FONT SIZE=2 FACE=Arial COLOR="#0066FF">Find the Perfect Valentine's Day Gift</FONT></A></TD>
|
||||
<TH WIDTH=300><small>Visit Other Netscape Web Sites:</small></TH>
|
||||
<TD ALIGN=CENTER WIDTH=150 ROWSPAN=2><A HREF="/download/su1.html?cp=hom02prb2"><FONT SIZE=2 FACE=Arial COLOR="#0066FF">Upgrade Your Software for Free</FONT></A> </TD>
|
||||
</TR><TR><TD ALIGN=CENTER>
|
||||
<small><A HREF="/au/index.html?cp=hom02inau">Australia</A> -
|
||||
<A HREF="/pt/index.html?cp=hom02inpt">Brazil</A> - <A HREF="/en/ca/index.html?cp=hom02inca">Canada</A> - <A HREF="/zh/cn/index.html?cp=hom02inzh">China</A> - <A HREF="/da/index.html?cp=hom02inda">Denmark</A> - <A HREF="/fr/index.html?cp=hom02infr">France</A> - <A HREF="/de/index.html?cp=hom02inde">Germany</A> - <A HREF="/zh/tw/index.html?cp=hom02inhk">Hong Kong</A> - <A HREF="/it/index.html?cp=hom02init">Italy</A> - <A HREF="/ja/index.html?cp=hom02inja">Japan</A> - <A HREF="/ko/index.html?cp=hom02inko">Korea</A> - <A HREF="/es/index.html?cp=hom02inla">Latin Amer.</A> - <A HREF="/nl/index.html?cp=hom02innl">Netherlands</A> - <A HREF="/es/es/index.html?cp=hom02ines">Spain</A> - <A HREF="/sv/index.html?cp=hom02insw">Sweden</A> - <A HREF="/zh/tw/index.html?cp=hom02intw">Taiwan</A> - <A HREF="/uk/index.html?cp=hom02inuk">UK</A> - <A HREF="/netscape/index.html?cp=hom02inus">USA</A>
|
||||
</small>
|
||||
|
||||
</body>
|
||||
</html>
|
Загрузка…
Ссылка в новой задаче