PDA

View Full Version : table with margin and borders


tostes
12.04.2004, 19:58
anyone knows how I put margin in the main menu and user menu via css or via parameters? I want a visible table margin with 1px.

thanxs! :)

MamboHut
13.04.2004, 01:15
you can change the main menu margin by modifing this class

.mainlevel, a.mainlevel:link {
margin: 1px;
height: 20px;
width: 95%;
padding-left: 15px;
}

or something similar

tonyskyday
13.04.2004, 01:26
Is it a margin that you want, or a border? You say visible margin and that is confusing. If you want a margin (which is just an adjustment of the whitespace around something) do as MamboHut says, if you want a visible border, then use the border attribute in the mainlevel class, something like:border: 1px solid Black;

tostes
14.04.2004, 15:17
Thanks and, I know the difference betwen margin and border, byt my english isnīt good for explain exactly what I need... rsrsrs.. :O

but the answers is all that I need! :D

very thanx for both....!!!!!!!!

Leo Tostes