Div tag ignoring CSS!

SpaceshipSpaceship
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.
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
•••
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
CatchedCatched

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomainEasy — Live Options
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back