Layout question
am 13.05.2007 11:46:47 von duzhidianHello:
When I check the source code of
http://www.gnu.org/
I found that the source code of
is displayed on the right side. How did they control the position in
this part of div? When I printed it, the sidebar will not be
printed.
Thanks.
Z. D.
Re: Layout question
am 13.05.2007 13:02:55 von Shionduzhidian@gmail.com wrote:
> Hello:
>
> When I check the source code of
> http://www.gnu.org/
>
> I found that the source code of
>
>
>
> is displayed on the right side. How did they control the position in
> this part of div?
#sidebar {
position: absolute;
top: -1em;
right: 1em;
margin-top: 1em;
font-size: 0.9em;
float: right;
margin-left: 1.5em;
margin-bottom: 1em;
padding: 1em;
background-color: #e5e5e5;
border: 3px solid #ddd;
}
--
//Aho
Re: Layout question
am 13.05.2007 17:19:52 von lws4artduzhidian@gmail.com wrote:
> is displayed on the right side. How did they control the position in
> When I printed it, the sidebar will not be
> printed.
>
in the print CSS
..netscape4, #sidebar, #navigation-bar, #fsflinks, #gnulogo, #dbdlogo,
#links, #translations, #searcher {display: none !important;}
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com