inherit
262715
0
Jun 27, 2024 2:22:36 GMT -8
Albert The Daft
13
November 2020
albertthedaft
|
Post by Albert The Daft on Nov 22, 2020 3:21:12 GMT -8
Just a quick question... I've created a custom page with a little embedded CSS using:
<style type="text/css">
...
</style> Should this go before or after the $[zone_1] tag? I assume that tag adds some html to the source which could affect the page as it's being rendered by a browser.
|
|
inherit
Head of the Emu Preservation
Head of the Emu Farmers Association
13398
0
Jul 12, 2020 14:15:37 GMT -8
Joshua Farrell
7,966
September 2003
dentist
|
Post by Joshua Farrell on Nov 22, 2020 9:09:41 GMT -8
Common coding practices mentions that css should be placed at the beginning of the page (generally in the header if possible), as you would want the css to run as the page is loading, not after.
|
|
inherit
252032
0
Apr 26, 2024 23:51:41 GMT -8
Retread
Tribbial Pursuit.
5,017
January 2018
retread
|
Post by Retread on Nov 22, 2020 10:00:24 GMT -8
I assume that tag adds some html to the source which could affect the page as it's being rendered by a browser. Hi Albert The DaftWhat's between the opening and closing style tags is referred to as an internal Style Sheet. It contains a list of rule-sets which define how HTML elements on the page will be styled. While it can be placed anywhere within the document, best practice is to place it before any HTML, as Joshua Farrell stated. www.w3schools.com/css/css_syntax.asp
|
|
inherit
262715
0
Jun 27, 2024 2:22:36 GMT -8
Albert The Daft
13
November 2020
albertthedaft
|
Post by Albert The Daft on Nov 23, 2020 4:08:16 GMT -8
Thanks, both.
|
|