PDA

View Full Version : Borders in html tables,help!


mrthe
01-04-2010, 06:24 PM
Hi to every one,after upgrade my forum to vb4 when i post a html table in a message always the table have a border,how i can resolve it? it's a problem of the new version of vb?
thanks and exuse me for my bad english ;)

Lynne
01-04-2010, 06:34 PM
You probably need to add some style to your tables to delete the border because the css in vb4 adds a border by default to some classes and that is probably what is effecting your tables. Get firebug and you should be able to figure out what is going on.

mrthe
01-04-2010, 06:46 PM
the css in vb4 adds a border by default to some classes and that is probably what is effecting your tables
Humm, and i can edit the css in anyway to delete this border by default?
thanks Lynne for your help ;)

Lynne
01-04-2010, 06:51 PM
You may edit the css once you figure out what css is effecting your tables.

mrthe
01-04-2010, 06:55 PM
ok i'll try to search it .

LifesGreatestGift
01-05-2010, 05:31 AM
Open:
vbulletin.css

Find:

.restore td {
/* Borders and padding to make the table readable. */
border: {vb:stylevar restore};
padding: {vb:stylevar restore_padding};
}



Replace With:

.restore td {
/* Borders and padding to make the table readable. */
padding: {vb:stylevar restore_padding};
}



Enjoy! :)

mrthe
01-05-2010, 09:34 AM
Thank you so much ,work pefectly!

LifesGreatestGift
01-05-2010, 12:01 PM
Lol, when I first converted my forum I had a lot of custom BBCodes I made and they had tables in it and it and it looked bad, so I made it my goal to find out how to remove the borders. Took a while I must admit, I honestly considered converting all my BBCodes to DIV only. But I saved me (and apparently you) a lot of grief. :)

dieKetzer
01-26-2010, 01:01 PM
how annoying!!!!!!!!!!
does the above css edit come with any caveats?

TTF
08-26-2010, 06:17 PM
Where do I find the vbulletin.css file please?

Lynne
08-27-2010, 01:22 AM
It's a template. So you go to Edit Templates and it's under the CSS Templates heading.