1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Annoying CSS, Firefox prob

Discussion in 'CSS' started by blueuniverse, Oct 2, 2004.

  1. #1
    OK, my site is at the url http://www.pointless-existence.com - notice how the sidebars are on IE (how I want it to be) and on Firefox (too far over to the right).

    What have I done wrong here, basically I just want it to appear the same in both browsers, without me having to resort to using seperate stylesheets.

    Any ideas about what to do?
     
    blueuniverse, Oct 2, 2004 IP
  2. NewComputer

    NewComputer Well-Known Member

    Messages:
    2,021
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    188
    #2
    Quickly my response would be to specify the width there. I will have a look in a sec.
     
    NewComputer, Oct 2, 2004 IP
  3. DarrenC

    DarrenC Peon

    Messages:
    3,386
    Likes Received:
    154
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I have the same problem with CSS on the menu's on holiday-rentals.uk.com

    Any ideas for me too?
     
    DarrenC, Oct 2, 2004 IP
  4. blueuniverse

    blueuniverse Guest

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Well I have specified a width for the overall #menu id, is that what you meant, or are you talking about the individual ul ul li etc.

    Anyway, I took a few screenshots, for those who don't have one of the two browsers to help out with. Wrong size to upload them here, but you can see them by clicking the links below.


    Screenshot of prob in FireFox

    How it looks in IE
     
    blueuniverse, Oct 3, 2004 IP
  5. blueuniverse

    blueuniverse Guest

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I also think this problem is causing horizontal scroll in Firefox, although I may be wrong.
     
    blueuniverse, Oct 3, 2004 IP
  6. blueuniverse

    blueuniverse Guest

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    OK, the problem was sorted, by somebody else on another forum.

    For reference it was sorted, by adding the following code to the css file. This may help you wwhhomes.

    html>body #menu { width: 240px; }
    Code (markup):
     
    blueuniverse, Oct 3, 2004 IP
  7. misohoni

    misohoni Notable Member

    Messages:
    1,717
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    200
    #7
    I'm having the same problem with my site - http://www.misohoni.com/bba/

    My site only uses DIV's and CSS and I specified widths, what did I do wrong?

    Also, if I download Firefox does it take over IE and place Spyware on my PC?
     
    misohoni, Oct 6, 2004 IP
  8. blueuniverse

    blueuniverse Guest

    Messages:
    217
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You'd probably need to use a similar solution.

    e.g. html> #(id here for whatever is causing the problem) { width: (pixelsdefined in other areas) }

    *obviously replacing what is in the brackets

    and Firefox is a nice browser, and won't do anything to your PC, e.g. become the default browser unless you ask it to, and NO it won't install spyware.
     
    blueuniverse, Oct 6, 2004 IP