[teaching with drupal] funky table problem

Dan Butcher dan at danbutcher.com
Mon Apr 28 13:32:12 EDT 2008


I realized that my last comment didn't make sense because I failed to send
an earlier message in the thread:

This is the css for the sidebars:

#container .sidebar {
  margin: 0;
  float: left;
  z-index: 2;
  position: relative;
}

The z-index makes the sidebar float on top. I think the root of the issue is
that the zen theme was not designed for content in the center column that
wouldn't resize--like a table of images.

If you want the display to fit a smaller display, then you can either remove
a column on the table, as I suggested earlier, OR you can go table-less and
use css to position the images so that they line up *and* rearrange
themselves as the size of the window shrinks. Depends on how much time you
have to fiddle with it.

Dan

On Mon, Apr 28, 2008 at 12:26 PM, Dan Butcher <dan at danbutcher.com> wrote:

> And this works without having to change the z-index value or anything
> else.--Dan
>
>
> On Mon, Apr 28, 2008 at 12:25 PM, Dan Butcher <dan at danbutcher.com> wrote:
>
> > If you  change min-width in layout.css (it's near the top) so that it's
> > set to 1255px, the overlap stops:
> >
> > body.two-sidebars {
> >   min-width: 1255px;
> > }
> >
> > Dan
> >
> >
> > On Mon, Apr 28, 2008 at 12:23 PM, Bleck, Bradley <BradB at spokanefalls.edu>
> > wrote:
> >
> > > I tried that Jim, and had pretty much the same problem I do now.
> > >
> > > Bradley Bleck
> > > English Department
> > > Spokane Falls CC
> > > http://bleckblog.org
> > > http://biketoworkspokane.org
> > >
> > >
> > > -----Original Message-----
> > > From: teaching-bounces at drupaled.net [mailto:
> > > teaching-bounces at drupaled.net] On Behalf Of Jim kalmbach
> > > Sent: Monday, April 28, 2008 10:18 AM
> > > To: teaching with drupal
> > > Subject: Re: [teaching with drupal] funky table problem
> > >
> > > You might try converting the table to pixels rather than percentages.
> > > You may need to download the images to your site and resize them.
> > >
> > > Jim
> > > On Apr 28, 2008, at 12:10 PM, Bleck, Bradley wrote:
> > >
> > > > Thanks Dan. One thing that doesn't make sense is I'm looking at it
> > > > on two different 17" monitors, though one is formatted more for
> > > > movie viewing (my laptop) and the desktop monitor is squarer, kinda
> > > > the standard box screen. But I'm not sure the laptop screen is all
> > > > that much wider. Also, if I set the table width as low as 50
> > > > percent, it still spills over with no appreciable narrowing.
> > > >
> > > > Bradley Bleck
> > > > English Department
> > > > Spokane Falls CC
> > > > http://bleckblog.org
> > > > http://biketoworkspokane.org
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: teaching-bounces at drupaled.net [mailto:teaching-
> > > > bounces at drupaled.net] On Behalf Of Dan Butcher
> > > > Sent: Monday, April 28, 2008 10:06 AM
> > > > To: teaching with drupal
> > > > Subject: Re: [teaching with drupal] funky table problem
> > > >
> > > > It looks the problem is with the sidebar on the right--if the
> > > > browser window
> > > > is too narrow, the sidebar positions itself over the center content
> > > > section.
> > > > I think this is a css issue. I'm going to play with it in cssedit
> > > > and see
> > > > what happens--
> > > >
> > > > Dan
> > > >
> > > > On Mon, Apr 28, 2008 at 11:54 AM, Bleck, Bradley
> > > > <BradB at spokanefalls.edu>
> > > > wrote:
> > > >
> > > >> Could you please look at th below table of images I've put
> > > >> together. For
> > > >> some reason I can't get it to stay where it should. Depending upon
> > > >> the
> > > >> computer (not browser as near as I can tell), the images in the
> > > >> middle stay
> > > >> within the middle space. On other machines, such as my work
> > > >> desktop, the
> > > >> images push into the right column. The whole table is set at 100
> > > >> percent
> > > >> width. Do I need to do something with the embedded tables maybe?
> > > >> I'll send
> > > >> you the code if you want.
> > > >>
> > > >> http://biketoworkspokane.org/sponsors
> > > >>
> > > >> Thanks for your thoughts on this because I thought I had it
> > > >> figured out,
> > > >> and I clearly don't (depending upon the machine).
> > > >>
> > > >> Bradley Bleck
> > > >> English Department
> > > >> Spokane Falls CC
> > > >> http://bleckblog.org
> > > >> http://biketoworkspokane.org
> > > >> stinfo/teaching_drupaled.net
> > > >>
> > > >> _______________________________________________
> > > >> teaching mailing list
> > > >> teaching at drupaled.net
> > > >> http://mail.drupaled.net/mailman/listinfo/teaching_drupaled.net
> > > >>
> > > > _______________________________________________
> > > > teaching mailing list
> > > > teaching at drupaled.net
> > > > http://mail.drupaled.net/mailman/listinfo/teaching_drupaled.net
> > > >
> > > > _______________________________________________
> > > > teaching mailing list
> > > > teaching at drupaled.net
> > > > http://mail.drupaled.net/mailman/listinfo/teaching_drupaled.net
> > >
> > >
> > > _______________________________________________
> > > teaching mailing list
> > > teaching at drupaled.net
> > > http://mail.drupaled.net/mailman/listinfo/teaching_drupaled.net
> > >
> > > _______________________________________________
> > > teaching mailing list
> > > teaching at drupaled.net
> > > http://mail.drupaled.net/mailman/listinfo/teaching_drupaled.net
> > >
> >
> >
>


More information about the teaching mailing list