Solved

want no border on div's

Posted on 2007-12-03
4
2,635 Views
Last Modified: 2009-07-29
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
Comment
Question by:bhomass
  • 2
4 Comments
 
LVL 14

Accepted Solution

by:
Vel Eous earned 50 total points
ID: 20398419
Border or padding or margin ?

border: none;
padding: 0;
margin: 0;
0
 
LVL 11

Assisted Solution

by:jgordos
jgordos earned 30 total points
ID: 20398631
set all three; the margin and padding are probably what you're seeing.
0
 

Author Comment

by:bhomass
ID: 20398646
border:none; worked.

Thanks
0
 

Author Comment

by:bhomass
ID: 20398660
I will watch out for margin and padding also in the future.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
This article discusses four methods for overlaying images in a container on a web page
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question