• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2652
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

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