Welcome Guest, Not a member yet? Register   Sign In
CSS AND JAVASCRIPT QUESTION
#1

[eluser]Beginers[/eluser]
Hi All,

Is it advisable to use INTERNAL css and javascript code?
What are some possible risk if i use INTERNAL css and javascript coding?


Regards,
Beginers

<!-- TRYING HARD -->
#2

[eluser]Aken[/eluser]
And "internal" means what?
#3

[eluser]Unknown[/eluser]
[quote author="Aken" date="1345093368"]And "internal" means what?[/quote]

Put css code into style tag.

like this

Code:
<style type="text/css">
.textcontrols a.post_thanks_button  {
background: url(images/buttons/post_thanks.png) no-repeat transparent right;
padding-right: 20px;
}

</style>
#4

[eluser]amine.elharrak[/eluser]
Hello,
Yes you can but it's spaghetti code. Smile
#5

[eluser]rogierb[/eluser]
Brrr, no don't use that. Ever.

Is you use proper css and js files they can get cached. Besides you cannot reuse it, which is the beauty of css.
#6

[eluser]amine.elharrak[/eluser]
Yes rogierb i'm with you




Theme © iAndrew 2016 - Forum software by © MyBB