CSS Borders
- Started
- Last post
- 5 Responses
- fusionpixel
Can I apply a border at the bottom of an image but that the border doesnt align right at the bottom of the image but like 10 pixels below it?
makes sence?
image
- versa0
sure, just give the div a bottom border and padding of 10 all the way around, and to not get all into the box model hack, maybe give it an auto height and width so the image defines the size upon render
- fusionpixel0
is there any reason why FF doesnt render this CSS?
.menudiv {
border-style: solid;
border-color: black;
width: 200px;
border: 0px;
border-bottom: 1px;
}
- dc_again0
yup.
border: 0px;
border-bottom: 1px;
so which is it? you're conflicting my friend.
- fusionpixel0
well, I had such a mess between IE and FF. So i was just trying to give it a border of 0 and then the bottom border of 1, basicly overwriting the command, but I guess It was more of a mess.
THanks for the help.
- fusionpixel0
so border-width is not in reallity the lenght of the border but the thickness of it.
is there a parameter that could dfine the actual width or lenght of a border?