Solved

want no border on div's

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

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 …
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 Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
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…

861 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