Q:

Different html sources

If I look at page source I see 
<script language="javascript" type="text/javascript">
                styling += 'ul#topnav a.tabHeader5';
                styling += '{';
                styling += 'width: 142px;'; 
</script>

If I get html source from this page by selenium I see
<style type=\"text/css\">\n\t\t\t\tul#topnav a.tabHeader5\n\t\t\t\t{\n\t\t\t\t\twidth: 142px;</style>

I don't understand why it is changed from javascript to css.

A:

I don't understand why it is changed from javascript to css.

The JavaScript, when executed, alters the CSS.

