• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2649
  • Last Modified:

want no border on div's

I set

#someid div {
    border: 0 0 0 0;
}

I thought this would remove all borders from all div's under a top div with id 'someid'. but the borders persist. please help give me the right settings.

Open in new window

0
bhomass
Asked:
bhomass
  • 2
2 Solutions
 
Vel EousResearch & Development ManagerCommented:
Border or padding or margin ?

border: none;
padding: 0;
margin: 0;
0
 
jgordosCommented:
set all three; the margin and padding are probably what you're seeing.
0
 
bhomassAuthor Commented:
border:none; worked.

Thanks
0
 
bhomassAuthor Commented:
I will watch out for margin and padding also in the future.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now