Solved

want no border on div's

Posted on 2007-12-03
4
2,633 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…

911 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

21 Experts available now in Live!

Get 1:1 Help Now