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 6008589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:50:46+00:00 2026-05-23T01:50:46+00:00

I am using gwt to create a table where i add some borders. Fx

  • 0

I am using gwt to create a table where i add some borders. Fx

DOM.setStyleAttribute(cellElement, "border-left", "solid");
DOM.setStyleAttribute(cellElement, "border-right", "double");
...

Different browsers then sets the styling very differently. Especially the border property. It could be

border-left: solid 1px;
border-right: double 2px;

or

border-style-left: solid;
border-width-left: 1px;
border-style-right: double;
border-width-left: 2px;

or even as a single property

border: solid none double none;
...

Is the some way that these different ways of writing the same could be parsed, so that it would be easier to find border properties of a table. Something like:

border-left: solid;
border-top: none;
border-right: double;
border-bottom: none;
border-width-left: 1px;
border-width-top: 1px;
...

And the parsing should be done on the client side

  • 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-23T01:50:47+00:00Added an answer on May 23, 2026 at 1:50 am

    currentStyle / getComputedStyle() will help with that, as long as the element has already been rendered. You’ll need to write a JSNI method to access it, since there doesn’t appear to be an API wrapper for this in the DOM package.

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

Sidebar

Related Questions

I'm using the google maps API with GWT to create a tabbed infowindow with
I m just starting using gwt and so far so good, however after reading
I am using GWT for my client side application. I am not using GWT/Java
I'm at the beginning/middle of a project that we chose to implement using GWT.
Have you tried using MVC or any other UI pattern for GWT client code.
Can I access spring bean that exposed using http invoker (server) from GWT application
Using C# .NET 3.5 and WCF, I'm trying to write out some of the
I am using GWT 1.6.4 and GWT-Ext 2.0.6. I am trying to use EditorGridPanel
Right so i am working with hibernate gilead and gwt to persist my data
I'm using Gilead to persist my entities in my GWT project, im using hibernate

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.