Jump to content


Photo

CSS layout help please


  • Please log in to reply
2 replies to this topic

#1 sford999

sford999
  • Members
  • PipPipPip
  • Advanced Member
  • 119 posts

Posted 21 September 2006 - 07:06 PM

I`m currently using a design which is mostly css and divs

The problem is that 50% of the time in firefox the menu shows below the page content like in this screenshot

Yet when the page is refreshed the menu falls into the correct place.

This is the main html for the pages

Click here as I couldn`t include it into the post

and this is the CSS

Click here as I couldn`t include it into the post

#2 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 21 September 2006 - 07:18 PM

I don't get it? It only works 50% of the time? :-\

#3 obsidian

obsidian
  • Staff Alumni
  • Advanced Member
  • 3,202 posts
  • LocationSeattle, WA

Posted 21 September 2006 - 07:30 PM

that is typically caused by your content being a pixel or two wider than you account for in your fixed width layout. many times, you may have just added some content that stretched a tad, or sometimes you haven't accounted for the extra pixel of a border somewhere. play around with your widths and see if you can find the offending element.
You can't win, you can't lose, you can't break even... you can't even get out of the game.

<?php
while (count($life->getQuestions()) > 0)
{   $life->study(); } ?>
  LINKS: PHP: Manual MySQL: Manual PostgreSQL: Manual (X)HTML: Validate It! CSS: A List Apart | IE bug fixes | Zen Garden | Validate It! JavaScript: Reference Cards RegEx: Everything RegEx




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users