Solved

want no border on div's

Posted on 2007-12-03
4
2,632 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:
Tchuki earned 50 total points
Comment Utility
Border or padding or margin ?

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

Assisted Solution

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

Author Comment

by:bhomass
Comment Utility
border:none; worked.

Thanks
0
 

Author Comment

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

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

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…
As a result of several questions about how to use Bootstrap I thought it would be a good idea to write down the development aspect of creating a Bootstrapped website in as little time as possible. Part 1 of this article will only concentrate on g…
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

743 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now