Development YACP (Yet Another CSS Problem)

Discussion in 'Software' started by OneSeventeen, 10 Dec 2004.

  1. OneSeventeen

    OneSeventeen Oooh Shiny!

    Joined:
    3 Apr 2002
    Posts:
    3,454
    Likes Received:
    2
    The top tabs look fine in Firefox, but not IE.
    I can't seem to get the orderd lists's background to be white, but the list item itself to have a blue background.

    Just a warning, none of the links work, and no content is ready for the site yet. Just preparing for a tiny business to "pay the bills" (and yes, I know there are tons of other sites out there doing this too).

    http://www.linuxoncd.net/store.php

    I'm looking for better CSS practices, not hacks. I'd rather it look bad in IE than use any of the IE box model hacks. (besides, I will be selling linux, so my target audience will hopefully have a standards-compliant browser)
     
  2. planki

    planki ...

    Joined:
    20 Dec 2003
    Posts:
    1,132
    Likes Received:
    0
    would help if we could view your site
     
  3. OneSeventeen

    OneSeventeen Oooh Shiny!

    Joined:
    3 Apr 2002
    Posts:
    3,454
    Likes Received:
    2
    Sorry about that, I made that assumption that since today, december 11th, was the renewal date for my hosting package, I could renew it today.

    Apparently I received an email a few months ago, but hotmail deemed it garbage and I never got the reminder.

    Hopefully by tomorrow it will be up again... kind of depressing actually, all my email addresses, websites, databases, etc. are not accessable because you can't renew something on its renewal date... We'll see how customer service responds today and I'll let you know whether or not to go with the company I did. (I've loved their service up until this)
     
  4. fatal_error

    fatal_error What's a Dremel?

    Joined:
    3 Jan 2003
    Posts:
    215
    Likes Received:
    0
    the problem was ie taking the border around the a tag and not the li tag. you can achive the same effect by just setting the a tags background color instead of the li, like so -
     
  5. OneSeventeen

    OneSeventeen Oooh Shiny!

    Joined:
    3 Apr 2002
    Posts:
    3,454
    Likes Received:
    2
    Cool, that makes sense. I'll have to play with it with that in mind and see what I come up with.

    I definitely want it to work in Firefox, but would love for it to work in IE as well.

    Thanks for the point in the right direction!
     
  6. fatal_error

    fatal_error What's a Dremel?

    Joined:
    3 Jan 2003
    Posts:
    215
    Likes Received:
    0
    that css code above gives the design your after in both ie and firefox :thumb:
     
  7. OneSeventeen

    OneSeventeen Oooh Shiny!

    Joined:
    3 Apr 2002
    Posts:
    3,454
    Likes Received:
    2
    Thanks again, I modified my CSS file and all is well.

    Now that I'm reading through the CSS again, I'm trying to figure out why I ever set the background color attribute to the list item object instead of the anchor object... kind of silly when I'm only changing the background color of the anchor object.

    After I get my digital camera back I'll snap some photos of the CD sets and I'll probably be posting again asking about layout.

    I'm pretty stoked as I just bought a pack of printable CD-Rs and a CD printer. I must admit I can't wait to purchase some silver printables, as the white ones look like they've just got a label on them, but at least they all line up nicely and don't peel. :)

    Back on topic, let this be a lesson to you, if you try to reuse CSS from an old site, read through it all and understand it again before starting to rely on it!
     

Share This Page