HTML/CSS Problem

Discussion in 'other software & services' started by Bethrezen, Aug 31, 2005.

Thread Status:
Not open for further replies.
  1. Bethrezen

    Bethrezen Registered Member

    Joined:
    Apr 16, 2002
    Posts:
    546
    hi all

    I was wondering if someone could have a look at this code and help me figure out why it wont work
    see what's puzzling me is that if I put this code in style tags in the head area of the html file (internal style sheet) the code works

    but when I try to apply the same code from an external style sheet it wont work and I cant figure out why because every other line in my style sheet displays correctly as it should when being fed from an eternal style sheet but this wont and I'd like to know why ?

    here is the html

    Code:
    <html>
    <head>
    <LINK rel="stylesheet" type="text/css" href="style.css">
    </head>
    <body>
    
    <p id="Title">Trouble With Un-Welcome Malware
    <br>How To Cleaning And Securing Your Computer</p>
    
    </body>
    </html>
    and here is the line in my style sheet

    Code:
    <style type="text/css">
    
    #Title {
    text-align: center; 
    font-size: x-large; 
    font-weight: bold; 
    text-decoration: underline;
    }
    </STYLE>
     
    Last edited: Aug 31, 2005
  2. VIPER99

    VIPER99 Registered Member

    Joined:
    Jul 4, 2005
    Posts:
    78
    Well it looks like you didn't close your style sheet tag.

    This should look like this

    <LINK rel="stylesheet" type="text/css" href="style.css"/>

    That is the only problem I've seen just off glance. That should solve your problem I believe.
     
  3. Bethrezen

    Bethrezen Registered Member

    Joined:
    Apr 16, 2002
    Posts:
    546
    hi

    tryed that but it hasnt worked mabe you would have a better idea if i just post the whole page

    here is the html

    and here is the style sheet

     
Loading...
Thread Status:
Not open for further replies.