Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Table Border


Go to End


2 Posts   2593 Views

Avatar
bsandall

Community Member, 7 Posts

18 November 2010 at 12:39am

Hello

I've inserted a user defined form page and within this page is a table. I'd like to make the border invisible, setting the <table border="0"> table still has a border.

How can I hide the table border?

Best Regards

Ben

Avatar
rob.s

Community Member, 78 Posts

23 November 2010 at 9:29pm

this attribute can be ignored (depending on your doctype)

the best way would be to add to your stylesheet:
table {
border: none;
}

or try it inline:

<table style="border: none">.....