Div tag ignoring CSS!

SpaceshipSpaceship
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Watch
Impact
200
This is really frustrating for me. I'm handcoding yet another HTML/CSS web page and I'm using div tags like anybody else...

...and after I did the navmenu, any div tag below it won't react to any CSS for that tag.

Anyone familiar with such issue?

Every tag above the nav menu is closed (I triple checked).

The div:

Code:
<div id="maincontent">
    rdfjijjiihjioh
</div>

The CSS:

Code:
#maincontent  {
	margin: 0 auto;
	background-color: #CCCCCC;
	width: 600px;
	height: 800px;
}

Have I missed something? :td::td::td:
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Every tag above the nav menu is closed (I triple checked).

Check for syntax errors in your css file - missing ";"'s, etc. If everything works up to and including the navmenu, that's probably where the problem is.
 
0
•••
Problem solved. It was a darn temp separator I was using that caused this problem! :red:
 
0
•••
Ahhh...it is solved. Thats good.
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Truehost — .com domains from $4.99, hosting includedTruehost — .com domains from $4.99, hosting included

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back