Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7609727
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:14:36+00:00 2026-05-31T01:14:36+00:00

I am devoloping a struts 2 project in which layout page is creating an

  • 0

I am devoloping a struts 2 project in which layout page is creating an unwanted border over it. I tried to remove it by putting padding and border as 0 px. but still it is coming.

 <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"   "http://www.w3.org/TR/html4/loose.dtd">

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title><tiles:insertAttribute name="title" ignore="true" /></title>




    <%-- Internal style elements --%>
    <style type="text/css">                                     
    .basestyle {        /*style which is given for the main DIV which includes entire base layout body */

        width: 100%;
        height: 100%;
        padding: 0px 0px 0px 0px;   margin: 0px 0px 0px 0px;
    }
    .headstyle {        /* style which is given for the  DIV which includes header part */
        margin:0px; 
        width: 100%;
        height: 10%;
        vertical-align: middle;
        text-align: center;
        background-color: #476D9E;
        padding: 0px 0px 0px 0px;   margin: 0px 0px 0px 0px;
    }
    .vericalscroll {        /* style which is given for the  DIV which includes vertical menu part  */
overflow-y:auto;        overflow-x:hidden;
        height:100%;
        width:153px;
        background-color: #476D9E;
        vertical-align:top;
        margin-right:1px;
        padding-right:5px;
    }
    .bodystyle {            /* style which is given for the  DIV which includes body part */
        padding: 0px,0px,0px,0px;
        border-bottom:0px;
        border-left:0px;
        border-right:0px;
        border-top:1px #DBDFEC;

        font-family: Calibri;
        font-weight: lighter;
        height:565px;
        overflow-y: auto;
        overflow-x: auto;
        width:100%;
        /*text-align: center;*/

    }
    .footstyle {            /* style which is given for the DIV which includes footer part  */

        width: 100%;
        background-color: #476D9E;
        height: 10px;
        bgcolor:#eeeeee;
        vertical-align: middle;
        text-align: center;
        padding: 0px 0px 0px 0px;   margin: 0px 0px 0px 0px;

    }

        </style>
    </head>
        <body   >       

        <div class="basestyle" >

    <div class="headstyle" >
                    <tiles:insertAttribute name="header" /> <%-- including header --%>
    </div>

    <table border="0" width=100% height=87% style="margin: 0px; padding: 0px;">
      <tr>

        <td width=153   align="left" valign="top">
        <div class="vericalscroll" >   
                      <tiles:insertAttribute name="menu" />     <%-- including menu --%>
             </div> </td>





        <td valign="top" align="left" width=88% >
            <div class="bodystyle" align="center" >
                       <tiles:insertAttribute name="body" />    <%--  including body  --%>
             </div>    </td>



               </tr>
    </table>
    <div class="footstyle" >                 
                      <tiles:insertAttribute name="footer" />           <%-- including footer --%>

    </div>
    </div>
    </body>
    </html>

Red color background is given for identifying body part
enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T01:14:38+00:00Added an answer on May 31, 2026 at 1:14 am

    remove “border-top:1px #DBDFEC” from “.bodystyle” and even instead of all border in your .bodystyle just write border:none;

    although i could not see the border in your attached image.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am devoloping a Web Application, in which one Page has some neccessity that
I'm developing a project with Struts and I was wondering if it's possible to
I am developing a project in Java EE Struts 2 and Hibernate for airline
I am developing struts 2 and spring web application which suppoerts two languages: english
I've a web application which uses framework like Struts and Hibernate. Currently I'm developing
I have reviewed a few Struts 1 vs 2 questions on SO but none
I'm creating a program that communicates with a webservice, which is written with JSP
I am developing a small application using Struts, Spring and hibernate3. But now I
I am using maven2 with a struts-hibernate Java EE project and developing with myEclipse.
I am developing project using Spring , Struts2 & Hibernate . Now I want

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.