Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

Div tag ignoring CSS!

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
NamecheapNamecheap
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
•••
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover

NamePros updates

Parking: find your domains by pasting a list
You can now paste a list of domain names into the search box at the top of the Parking menu. Put one name on each line. Your domain list...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back