For the following html code in https://www.parcelhero.com/en-gb/courier-services/carriers/dhl, getattribute("style") fetches null value. Why?
<div class="dvPageShare" style="position: relative; top: -50px;"> 
Following is the Code used:
driver.get("https://www.parcelhero.com/en-gb/courier-services/carriers/dhl");
    List <WebElement>SocialLink = driver.findElements(By.tagName("div"));
        for (WebElement social : SocialLink)
 {
if( social.getAttribute("class")!=null && social.getAttribute("class").equals("dvPageShare"))
                {
System.out.println("Present");System.out.println(social.getAttribute("style"));
}
            }
 
     
     
    