SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Aug 2010
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Trouble with last bit of Code...

    Hey everyone thank you so much for your help last time!

    I ran into another CSS Related issue though, For what ever reason nothing that i do to the last paragraph on this page affects it....

    Im pretty sure the Problem is in the "progressive.css" file but here are all the files, just in case

    Files

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,877
    Mentioned
    160 Post(s)
    Tagged
    4 Thread(s)
    Hi,

    You have a space between your ids like so.

    Code:
    <div id="Progress Bar">
    That would assume that you have 2 ids. One called "Progress" and another class called "Bar".

    e.g.

    #Progress{color:red}
    #Bar {background:blue}

    However an id is unique and an element can only have one id applied to it anyway (unlike classes).

    I'm assuming that you meant to have one class and it should be something like this.

    Code:
    #ProgressBar p {
        width: 800px;
        text-align: justify;
    }
    Code:
    <div id="ProgressBar">


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
  •