![]() |
|
How cna I change this? CSS - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Coding (https://sinister.li/Forum-Coding--71) +--- Thread: How cna I change this? CSS (/Thread-How-cna-I-change-this-CSS) |
How cna I change this? CSS - mutual - 10-18-2016 ![]() The stupid side margins I'd like the thead to span all the way I've tried everything. RE: How cna I change this? CSS - Inori - 10-18-2016 Can you post the CSS? Also, for future reference, this better fits in Web Design. RE: How cna I change this? CSS - mutual - 10-18-2016 (10-18-2016, 01:50 AM)Ao- Wrote: Can you post the CSS? Also, for future reference, this better fits in Web Design.Sorry and here it is Code: .thead {
background: #a52a2a;
font-family: 'Roboto Condensed', sans-serif;
font-size: 16px;
color: #fff;
padding: 8px;
}Code: .trow1,
.trow2 {
background: #242424;
border-top: 1px solid #292929;
border-bottom: 1px solid #191919;
}RE: How cna I change this? CSS - Inori - 10-18-2016 (10-18-2016, 01:54 AM)mutual Wrote:(10-18-2016, 01:50 AM)Ao- Wrote: Can you post the CSS? Also, for future reference, this better fits in Web Design.Sorry and here it is CSS is still largely trial and error for me, but try using different display attributes or negative margins: Code: display: block;
display: inline-block;
// etc...RE: How cna I change this? CSS - mutual - 10-18-2016 I'll try it I believe I gave you the wrong code as-well look at this Code: .tborder {
width: 100%;
margin: auto auto;
}RE: How cna I change this? CSS - Inori - 10-18-2016 (10-18-2016, 02:03 AM)mutual Wrote: I'll try it I believe I gave you the wrong code as-well look at this There's your problem: auto margins always have a little space between parent and child elements. Try tweaking any values you think will work, honestly. CSS is kinda brutal like that. RE: How cna I change this? CSS - mutual - 10-18-2016 I was able to fix it thanks everyone
|