Div Code Not Working In Css?

Discussion in 'CSS' started by gary15, Dec 5, 2008.

  1. #1
    Hi,

    Ive got a problem with my website im working on, ive done the html markup and am doing the css code right now. The navigation is all done and im working on the body now but when i put a div id in the css and put all the attributes it just doesnt respond to the index page?

    Example: Lets say ive got this in html.index file


    Is this right code for this?

    thanks,
     
    gary15, Dec 5, 2008 IP
  2. rob7676

    rob7676 Peon

    Messages:
    82
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I have to ask. Is your html file calling for the css file?
     
    rob7676, Dec 5, 2008 IP
  3. gary15

    gary15 Peon

    Messages:
    145
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, it has everyting good but is the css markup good on my previeus post?

    that code has to go under the titel tag right?
     
    gary15, Dec 5, 2008 IP
  4. rob7676

    rob7676 Peon

    Messages:
    82
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes your calling for the css correctly. Do you have a link to the site?
     
    rob7676, Dec 5, 2008 IP
  5. gary15

    gary15 Peon

    Messages:
    145
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    im stil coding the site at the moment and have not hosted it yet im just using notepad but am not getting very far. The only thing that has worked it getting the layout in the center of page bij using margin tag but the rest of tags in css are not working im stuck on this since yesterday

    any suggestions?

     
    gary15, Dec 5, 2008 IP
  6. rob7676

    rob7676 Peon

    Messages:
    82
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Can you post all of the html and css so I can see what exactly you got going?
     
    rob7676, Dec 5, 2008 IP
  7. gary15

    gary15 Peon

    Messages:
    145
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    sent you pm
     
    gary15, Dec 5, 2008 IP
  8. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #8
    The purpose of forums such as this is to share problems and their solutions. When you take the thread private, you deprive the other members a chance to learn from it; you cease to contribute, and only take.

    Please post the link publicly, so that all might benefit. If there is proprietary stuff on the page, upload a sanitized version to the forum or to your server.

    gary
     
    kk5st, Dec 5, 2008 IP
  9. gary15

    gary15 Peon

    Messages:
    145
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Hi,

    Hi,

    I havent uploaded the website yet. i just posted the question in last post
    that was main question?

     
    gary15, Dec 5, 2008 IP