Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Div tag ignoring CSS!

SpaceshipSpaceship
SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
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

Member card: see how many threads a member started
The member card now shows a Threads number, right after Posts. The member card is the box that opens when you point at a name. Profile...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back