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
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts

    Question Why don't the backgrounds show in my span tags?

    Hi everyone. I have this page: http://www.robowhizards.com/examples and it won't show the gray (#aaaaaa) backgrounds for spans that I have specified. The gray bgs are supposed to be behind the text that says hello and behind the image, on the right. I was wondering if anyone could shed some light? I'm not sure if this is a good expl. of the problem, so if you need more info, just ask for it. Oh, and just ignore the menu, I'm still working on getting it to be horizontal.

    CSS file: can be found here

    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #2
    Senior Coder
    Join Date
    Jul 2004
    Location
    New Zealand
    Posts
    1,315
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Code:
    span.content_text_text
    {
    background-color:#eee;
    padding:4px;
    }
    
    span.content_text_photo
    {
    background-color:#eee;
    }

  • #3
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts

    Unhappy

    OY.. how STUPID was that... still, sometimes it just helps to have an extra pair of eyes, when you've been staring at something too long...

    Dan [whizard crawls into hole to hide from world and contemplat his stupidity]
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION


  •  

    Posting Permissions

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