Solved

want no border on div's

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this tutorial viewers will learn how add a full-size background image to a webpage using CSS3. Create a new HTML document with an internal stylesheet.: In CSS, define the html element to have a background image. Use a high resolution image.: In t…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

749 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