CSS and HTML errors.
#1

Okay, so I'm new to HTML and CSS but this is really confusing me. I'm trying to add a plain blue border at the top of my page but the code here(I'm using Notepad++) turns red and doesn't do anything.

PHP код:
.headerMenu {
    
background-color#00B9ED;
    
height38px;
    
border-bottom:0px;
    
padding-leftauto;
    
padding-rightauto;
    
width100%;

Where "headerMenu" is that stays red. Can someone help me please?
Reply
#2

I think for border at top you need border-top.
Reply
#3

PHP код:
.headerMenu 
    
background-color#00B9ED; 
    
height38px
    
border-top:1px solid blue
    
padding-leftauto
    
padding-rightauto
    
width100%; 

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)