display:table Undefined attribute border

I have a table in my struts application for listing courses, it is created using:
<display:table name="courseList" id="course" pagesize="15" requestURI="">

The table works fine but when I try to add a border: border="1" eclipse throws a warning: "undefined attribute name border".
When I run the application the table is displayed without a border.

As far as I can tell all required libraries are in the correct place.

see attached screen shot
kieranocallaghanAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
kieranocallaghanConnect With a Mentor Author Commented:
OK I have it working now, apparently after version 1.0 display:table no longer supports some html presentation attributes, including border.

I am using css now to add a border to all tables. See links below for more info.

http://displaytag.sourceforge.net/1.2/tut_style.html
http://www.w3schools.com/css/css_table.asp

0
 
kieranocallaghanAuthor Commented:
Border warning in Eclipse
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.