The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> not recognizing css
minidiapolis
post Apr 20 2009, 03:03 PM
Post #1


Serious Coder
*****

Group: Members
Posts: 437
Joined: 3-September 06
Member No.: 57



what's wrong with there code? ? ? ? I can't figure it out.
body {
background-color : #BED1E1; /*color is ocean blow */
margin : 0;
}
.menuBar {
width: 10%;
float : right;
background-color : #0191C8; /*color is light blue */
border : 1px #000000 thin;
padding : 2%;
list-style-type : none;
}
#mainContent {
margin-right : 30%;
}
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
ILG President
post Apr 20 2009, 03:09 PM
Post #2


Member
***

Group: Members
Posts: 40
Joined: 22-October 08
Member No.: 6,964



The css looks correct however make sure you are using # for class and . for id.

Also how are you linking your style page to your website?

make sure if its in your head your using

<style type="text/css">
</style>

or

<link rel="stylesheet" type="text/css" href="whateverthefilenameis.css" />
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 20 2009, 03:17 PM
Post #3


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 18,132
Joined: 9-August 06
Member No.: 6



QUOTE(minidiapolis @ Apr 20 2009, 10:03 PM) *

what's wrong with there code? ? ? ? I can't figure it out.

Neither can I without seeing the HTML and knowing what you think goes wrong. PLEASE post the URl to a samle page!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
minidiapolis
post Apr 20 2009, 03:26 PM
Post #4


Serious Coder
*****

Group: Members
Posts: 437
Joined: 3-September 06
Member No.: 57



I had a . where I needed a #
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 17th February 2019 - 08:00 AM