web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / syntax error in Variable
Power Automate
Answered

syntax error in Variable

(0) ShareShare
ReportReport
Posted on by 229 Super User 2024 Season 1

Hi I am trying to store below CSS in a variable. But I am receiving Syntax Error . Can you please help with this. Thank you in  advance.

 

/* Apply the styles to the entire table */
table {
 width: 80%;
 border-collapse: collapse; /* Remove default spacing between table cells */
 font-family: Verdana, Arial, sans-serif;
}

/* Style the table header */
table th {
 background-color: darkblue;
 color: white;
 text-align: center;
 border: 2px solid black;
}

/* Style alternate rows with light gray background */
table tr:nth-child(even) {
 background-color: lightgray;
}

/* Center align text for all table cells */
table td, table th {
 text-align: center;
 border: 2px solid black;
}

 

 

I have the same question (0)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @LokeshBysani 

     

    Make a small change as per highlighted option 

     

    Nived_Nambiar_0-1690163374561.png

     

     

     

    /* Apply the styles to the entire table */
    table {
     width: 80%%;
     border-collapse: collapse; /* Remove default spacing between table cells */
     font-family: Verdana, Arial, sans-serif;
    }
    
    /* Style the table header */
    table th {
     background-color: darkblue;
     color: white;
     text-align: center;
     border: 2px solid black;
    }
    
    /* Style alternate rows with light gray background */
    table tr:nth-child(even) {
     background-color: lightgray;
    }
    
    /* Center align text for all table cells */
    table td, table th {
     text-align: center;
     border: 2px solid black;
    }

    I have changed the percentage % to %% , since % in power automate stands for variable naming 🙂

     

    Hope this helps !

     

  • LokeshBysani Profile Picture
    229 Super User 2024 Season 1 on at

    Thank you @Nived_Nambiar . 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard