Div tag ignoring CSS!

SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
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
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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
Close
Problem solved. It was a darn temp separator I was using that caused this problem! :red:
 
0
Close
Ahhh...it is solved. Thats good.
 
0
Close
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

New: watch any domain
You can now watch domains on NamePros. We check each one and notify you when something changes. Search for a domain and press Watch on...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back