Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
Help with CSSEdit
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Johnny Alien" data-source="post: 518167" data-attributes="member: 9552"><p>I know I am responding to this late but I have to respond because it amuses me. You are so mad at the computer and program like they are to blame. CSS and html can be created with a word program so there is very little the computer could do to cause the error. In the sample of code you just displayed you link to mystyle.css but then you say your css file is called mypage.css. Later you call is something else. You need to make sure the link to the css file is linking to the correct file name and that they are both in the same directory. Then (as DevilBoy pointed out) your css style is not correct. If you change the name of the style to "body" then the style will apply because you are styling an html element (the body tag). If you want to use it as a custom class then you need to add the . in front. For instance .myclass But even that is not enough. Now you have a properly named class but it is not applied to anything. You then need to go into your html and apply it to a tag. An example would be <body class="mystyle"></p><p></p><p>CSS and html can be frustrating but I assure that your code is not perfect as you suggest and your mac is not the issue.</p></blockquote><p></p>
[QUOTE="Johnny Alien, post: 518167, member: 9552"] I know I am responding to this late but I have to respond because it amuses me. You are so mad at the computer and program like they are to blame. CSS and html can be created with a word program so there is very little the computer could do to cause the error. In the sample of code you just displayed you link to mystyle.css but then you say your css file is called mypage.css. Later you call is something else. You need to make sure the link to the css file is linking to the correct file name and that they are both in the same directory. Then (as DevilBoy pointed out) your css style is not correct. If you change the name of the style to "body" then the style will apply because you are styling an html element (the body tag). If you want to use it as a custom class then you need to add the . in front. For instance .myclass But even that is not enough. Now you have a properly named class but it is not applied to anything. You then need to go into your html and apply it to a tag. An example would be <body class="mystyle"> CSS and html can be frustrating but I assure that your code is not perfect as you suggest and your mac is not the issue. [/QUOTE]
Verification
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
Help with CSSEdit
Top