37 users online (1 members and 36 guests)  


  Results 1 to 4 of 4

Related

  1. create a table along the width of the sheet    Forum: General Discussion
    Replies: 1
  2. Replies: 1
  3. basic css style sheet for print    Forum: CSS Forum
    Replies: 2
  4. inline style overuled by external sheet    Forum: CSS Forum
    Replies: 5
  5. Replies: 9
  1. #1
    violetb's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2009
    Posts
    1

    Arrow CSS code help with external sheet

    I have been trying to get the links on this sheet to move all the way over to the left in a purple bar that is vertical in a column. Please help--because I sure don't know how to do this.


    body{margin : 0px;}

    h1, h2, h3, h4, h5, h6 {font-family: sans-serif; colorurple;}

    address {margin-left: 120px;color: purple; font-style: normal; font-size: 8pt; font-variant: small-caps;
    text-align: center; clear: both; border-top: 1px purple}

    #head{margin-left: 120px;float: left;text-align: right; border-bottom-color: purple ;
    border-bottom-width:1px}


    #links {float:left; background-color: purple; margin-left: 120px;
    padding: 2px; border: 5px color purple ; position:absolute;left: 100px; top: 0px}
    # links a {display:block;font-family: sans-serif; color: white; font-size: 9pt}
    #links a:link {text-decoration:none}
    #links a:visited {text-decoration:none}
    #links a:hover {color: purple; text-decoration: none}
    #links a:active {text-decoration:none}
    #links a.newgroup {margin-top: 15px}

    #main { margin-left: 120px width; 70%; float: left; border-left: 1px solid purple; padding-left: 10px}

  2. #2
    jthayne's Avatar

    Status
    Offline
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    508

    Re: CSS code help with external sheet

    Could you please post the relevant HTML as well? Thank you.

  3. #3
    jessicasamuel's Avatar
    New User

    Status
    Offline
    Join Date
    Apr 2009
    Posts
    4

    Re: CSS code help with external sheet

    Can I include Javascript for this codes?

    -
    Jessica Danial
    Website Design Services

  4. #4
    jthayne's Avatar

    Status
    Offline
    Join Date
    Aug 2008
    Location
    Texas
    Posts
    508

    Re: CSS code help with external sheet

    Quote Originally Posted by jessicasamuel View Post
    Can I include Javascript for this codes?
    Yes, you can use javascript to control styles. You can't place it within your external style sheet, but you can place it anywhere in your HTML to control the styles.



Tags for this Thread