[Web4lib] CSS Margins
Bill Teschek
bteschek at hampton.lib.nh.us
Tue May 29 16:30:20 EDT 2007
This will be applied to every page of our website (home page:
http://www.hampton.lib.nh.us/). I want the toolbars at the top (which are put
there with the server side include of a .txt file) to spread the entire width
of the page, while the rest of the page has indented margins. Right now the SSI
link is inside the <body> tags, and moving them outside doesn't seem to make a
difference. I'm looking for a solution that won't require a major adjustment to
the entire website, if possible. My knowledge of CSS is very rudimentary.
Bill Teschek
bteschek at hampton.lib.nh.us
Pons, Lisa (ponslm) wrote:
> As someone else will no doubt say, it is always best to send a url.
> Without that, it's very hard to tell how to do this because of
> inheritance...
> Can you change the code? The easiest way is to put a wrapper div to wrap
> everything in the fixed width to that width, and another div for the
> 100% content.
>
> Lisa
> > -----Original Message-----
> > From: web4lib-bounces at webjunction.org
> > [mailto:web4lib-bounces at webjunction.org] On Behalf Of Bill Teschek
> > Sent: Tuesday, May 29, 2007 3:47 PM
> > To: web4lib at webjunction.org
> > Subject: [Web4lib] CSS Margins
> >
> > I've been using the margin-left and margin-right CSS commands
> > to control width of the body element of our web pages. I'd
> > like to be able to have one small part of the page NOT use
> > these settings and display to the full width of the page.
> > What is the best way to go about doing that?
> >
> > Bill Teschek
> > bteschek at hampton.lib.nh.us
> >
> > _______________________________________________
> > Web4lib mailing list
> > Web4lib at webjunction.org
> > http://lists.webjunction.org/web4lib/
> >
> _______________________________________________
> Web4lib mailing list
> Web4lib at webjunction.org
> http://lists.webjunction.org/web4lib/
>
More information about the Web4lib
mailing list