Page unusually wide

Discussion in 'CSS' started by dark_ixion, Jul 30, 2008.

  1. #1
    I have posted this on a different forum but no-one seemed to have any advice.

    Take a look at this website in Firefox: http://portaventuraholidays.co.uk/

    I noticed the page goes overflows to the right, but I can't see why. I think I may have narrowed the culprit down to the table which displays the "Are you from Europe or Ireland?" message as the problem disappears if I take away it's style of left:615px, although it moves 615px to the left after doing that. I've also tried removing it's margins, but didn't do anything.

    Can anyone explain it?
     
    dark_ixion, Jul 30, 2008 IP
  2. MoT

    MoT Peon

    Messages:
    97
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hello, you can give it a width and float it right:

    
    position: relative; top: 4px; width: 250px; float: right;
    
    Code (markup):
     
    MoT, Jul 30, 2008 IP
  3. dark_ixion

    dark_ixion Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Ah, I see. That makes sense! Thanks :)
     
    dark_ixion, Jul 30, 2008 IP