This forum is for assistance with theme development.

Can't get image flush with top! (Firefoxx CSS Issue)

I have a theme in which I need to place items very precisely. It's working fine in IE and Opera, but in Firefox, for some reason, the first image in the page is pushed down 1 full line (12px). I've attached a screenshot showing the issue.
The relevant part of page.tpl.php looks like:

<body class="<?php print $body_classes; ?>">
  <div id="page">
    <!--background photo, can't use css background because of IE6 png support -->
    <div id="page-background"><?php print theme('image', $directory . '/images/background-index.png'); ?></div>
    <!-- end background photo -->

And the css:

/** body **/
body {
  background: #000;
  color: #999999;
  min-width: 800px;
  font-size: 100%;
  line-height: 1em; 
  font-family: Tahoma, Geneva, sans-serif;
  margin: 0;
  padding: 0;
}
#page {
  font-size: 0.75em; /* .75x16 = 12px */
  line-height: 1.5em;
  margin: 0 auto;
  padding: 0;
}
#page-background {
  line-height:0;
  margin: 0 auto;
  text-align: center;
  padding: 0;
}

All my margins and paddings should be set to 0 and the offset is still being set. This is driving me crazy!
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.10) Gecko/20061201 Firefox/2.0.0.10 (Ubuntu-feisty)
Not appearing in Firefox 3 Beta 1
Has anyone else had this issue? Thanks for your help.

Need help customizing submitted section in Drupal 6

Hello, I am creating a theme for Dupal 6 beta-4 and trying to change the way the $submitted section looks. Everything I find while searching seems to be for drupal 4.7. I realize that I can change node.tpl.php so that <?php print $submitted?> becomes <?php print $name; ?><?php print format_date($node->created, 'custom', 'd M Y'); ?> but that changes it for all node types including pages which do not need a date or author.

Theming phpBB in Drupal

Hello, this is my first post on the forum.

I've recently just setup the phpBB-drupal integration module. It is working great.

I want to include the phpBB forums inside drupal itself, so they are together rather then separate.

Can somebody help me out or tip me off where i could figure this out?

Thanks.

theme 2

can any body do me a favor & change this theme to rtl for me.
here's its address:
http://ftp.drupal.org/files/projects/aurora-5.x-1.2.tar.gz

theme

well.i have a theme.how can i change that to A rtl-theme,actually i wanna know what changes shall i do with style.css or anything that need to changed.
and here is the theme i wanted to change it.
theme

Modify the forum theme

I use Drupal 6-beta4. I want to modify something in forum theme, I need to edit template.php file ? For example I want to add a button on red area: http://img221.imageshack.us/img221/7655/piroscc8.jpg

Thanks!

Pages

Subscribe with RSS Subscribe to RSS - Theme development