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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Sep 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Css Won't Work! Aaaghhh!

    So, I put a flickr (http://www.flickr.com) stream on my website's photos page (http://www.maxigumee.com/diary/photosandstuff.html). I put it at the top of my page. Now, in Safari, the whole thing looks pretty good and all eight photos fit perfectly into the 600px space.

    In Firefox, however (and other mozilla made browsers), for some reason there are borders around the images in the flickr stream, making the images go into TWO SEPARATE LINES. They're not supposed to do that!

    I went through my stylesheet (http://www.maxigumee.com/diary/brown.css) and tried to find the problem. I couldn't find it. I then edited the stylesheet and and made the flickr bar's images have 0 padding, 0 borders, no backgrounds, etc. STILL the borders remained.

    WHAT THE HECK is going on?!

  • #2
    Regular Coder
    Join Date
    Jul 2002
    Posts
    698
    Thanks
    0
    Thanked 0 Times in 0 Posts
    try writing border=0 in on the autogenerated image tags

  • #3
    Senior Coder
    Join Date
    Apr 2003
    Location
    San Francisco, CA
    Posts
    2,469
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Garadon
    try writing border=0 in on the autogenerated image tags
    Don't do that in your image tags, that should be CSS:
    Code:
    border: none;
    for your image tags, not border 0 in the html or border 0 in the CSS (none specifies the complete removal, so no default).

    I get that on occassion too, I forget it looks fine in safar, but firefox really has it right.
    // Art is what you can get away with. <-- Andy Warhol
    ...:.:::: bradyjfrey.com : htmldog : ::::.:...

  • #4
    Senior Coder
    Join Date
    Apr 2003
    Location
    San Francisco, CA
    Posts
    2,469
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Oh, and to answer your question -- if you make an image a link, the default for all (well supposed to be) browsers is to outline it, kinda' like an underline for a link is the default as well. So adding the border none removes any existance of that default border. I still forget to do that until I test
    // Art is what you can get away with. <-- Andy Warhol
    ...:.:::: bradyjfrey.com : htmldog : ::::.:...


  •  

    Posting Permissions

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