[optical pork] CSS fix for firefox pushing content downward

daelic

Joined: 2007-07-03
Posts: 17
Posted: Sun, 2007-07-08 23:36

Hi,

It's me again! This time, I noticed that when viewing my embedded gallery inside firefox, the content was getting pushed down below the hidden lightbox frame. This could very well be unique to my environment, considering my entire site layout is done in CSS, and the embed is displayed within my own content layer; however, I thought I'd post the fix in case anyone else has the same issue.

The fix:

.content in theme.css provides the container for the gallery. I simply added position: absolute; to the definition. The result looks like this:

.content {
  position: absolute;
  clear: both;
  margin: 0 auto;
  text-align: left;
}