css??

Discussion in 'CSS' started by prodigy, Jul 29, 2007.

  1. #1
    Ok, Im new to css.. I was wondering if Im shapost to mix this with my already html code or code a whole new layout? Also, can I mix css with php.. What does css do, exactly?
     
    prodigy, Jul 29, 2007 IP
  2. krt

    krt Well-Known Member

    Messages:
    829
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    120
    #2
    It presents and formats the content in your HTML (at least that is what it was intended to do until people introduced formatting markup in HTML). CSS gives you more power over presentation. CSS can be "mixed" with PHP in the same way HTML "mixes" with it. Not sure where to go for more info and a better explanation, maybe try http://w3schools.org
     
    krt, Jul 29, 2007 IP
  3. kh7

    kh7 Peon

    Messages:
    2,715
    Likes Received:
    109
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I learned a lot of CSS by signing up for stumbleupon and listing webdesign as one of my interests.
     
    kh7, Jul 29, 2007 IP
  4. prodigy

    prodigy Guest

    Messages:
    576
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Alright thank you. :)
     
    prodigy, Jul 29, 2007 IP
  5. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You seprate your CSS from your HTML by serving it as an external file in the HEAD section of your Web page via the link element:

    
    <link rel="stylesheet" type="text/css" href="/styles/screen.css" media="screen,projection">
    
    Code (markup):
    SitePoint has some wonderful books and articles on CSS, why not give them a try?
     
    Dan Schulz, Jul 29, 2007 IP