Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs down Cross-Browser Positioning Issues

    Hello all,

    I'm a big-time newbie to the world of CSS, which I'm sure is your favorite thing to deal with. I've spent the last three days trying to solve a positioning issue between Firefox and Safari. I've been researching non-stop, trying everything I come across, to no avail.

    I'm using a CSS-based technique for a fluid box with rounded corners, and it contains a <div> which uses the fleXcroll technique for custom scrollbars. For some reason, the fleXcroll <div> is positioned perfectly in FF, but floating way out to the right in Safari, seemingly with no explanation. My code validates at W3C (minus a few font issues I'm toying with), and I'm completely out of ideas.

    The page can be found at: http://www.calvinmarty.com/modx/index.php?id=7

    It's got a bunch of dummy data in it right now. Any help would be greatly appreciated. I assume it's a simple, beginner's error but I'm really tearing my hair out. Thanks in advance,

    Chris.

  • #2
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,080
    Thanks
    2
    Thanked 321 Times in 313 Posts
    I would spend some more time correcting the markup validation errors and the CSS validation errors and warnings (some of the css errors can prevent all following css from being parsed by the browser), before you worry about fixing browser specific problems -
    http://validator.w3.org/check?uri=ht...Inline&group=0
    http://jigsaw.w3.org/css-validator/v...usermedium=all
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.

  • #3
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up Many thanks. I'll be back, though, I'm sure.

    CFMaBiSmAd,

    Before I started teaching myself CSS, I considered myself an intelligent person. But, I swear, the minute I start trying to wrap my head around all of this, I start overlooking the obvious. As in, I had been back-and-forthing with the CSS validator, but I completely overlooked the markup validation.

    After following its suggestions, and, as such, the rules, things have started sliding back into place and looking better in multiple browsers. Go figure, eh?

    Anyway, just wanted to say thank you for picking my forehead up off the keys and putting me back on track. I really do appreciate it, and it won't be the last time I come crawling through here.
    Last edited by foolgladly; 10-19-2007 at 07:59 AM.


  •  

    Posting Permissions

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