SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Feb 2011
    Posts
    101
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Firefox 3.6 Horizontal Scroll

    Hello Girls and guys!

    Right now I'm sitting making a website, where I have my header that is 100% in width, then I have box-shadow on it using the -moz-box-shadow, -webkit-box-shadow and box-shadow.. Everything works fine in Firefox4.0, Safari, Chrome, Opera and Internet explorer (Using an image for Opera and IE), but Firefox3.6 cause a horizontal Scrollbar for me because of the box-shadow..

    I'm using CSS3 for my site, and doing it backward-comp via images, but don't know how I should target "Firefox3.6 or less" only So I could use a image there etc, or using Overflow-x:hidden; so there won't be scrollbars for FF..

    I can use

    Code:
    @-moz-document url-prefix() {
    	body {
    	overflow-x: hidden;
    	}
    }
    To target Firefox, but don't know if it's "okay".. Can any maybe help.. The site I'm creating is: S&L | Hosting

    I'm kinda lost right now Have tried anything.

  2. #2
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    I'd be more worried that Fx 4 doesn't create one (because if you are on a narrow width browser window) you cannot easily see the content to the far right of your page.

  3. #3
    SitePoint Zealot
    Join Date
    Feb 2011
    Posts
    101
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by xhtmlcoder View Post
    I'd be more worried that Fx 4 doesn't create one (because if you are on a narrow width browser window) you cannot easily see the content to the far right of your page.
    Yeah, that's why I only wanna target Firefox3.6 or older, because the box-shadow bug is fixed in FF4.0, and yeah I could just live with it.. but still.. 35-36% use Firefox 3.6


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •