Host css in a html page
4 posters
Page 1 of 1
Host css in a html page
Technical Details
Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Opera
Who the problem concerns : All members
When the problem appeared : Recently
Forum link : http://altitudetropicale.forums-actifs.com
Description of problem
Hello,my style sheet reaches the limit allowed even through a css reducer.
I 'd like to know if it is possible to host a game on a css html page on the same principle as the tutorial of the Spanish media.
http://asistencia.foroactivo.com/t144438-como-anadir-css-desde-fuera-del-p-a-y-como-hacer-un-skin-selector
I know that we can go through the template overall_header which is also limited by number of characters .
There is indeed the possibility of using Javascript to and including the css but with certain constraints ( no background , image , of after and before) .
Thank you in advance for your assistance.
Last edited by fascicularia on January 29th 2016, 3:13 pm; edited 2 times in total
fascicularia- Forumember
- Posts : 172
Reputation : 1
Language : french
Re: Host css in a html page
Are you wanting to add a game to a HTML page?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Host css in a html page
Hello SLGray,
just add the css as with the style sheet but on a html page.
I has used the tutorial Spanish suport forum for topics selector and I'd like to do the same for the basic theme.
just add the css as with the style sheet but on a html page.
I has used the tutorial Spanish suport forum for topics selector and I'd like to do the same for the basic theme.
fascicularia- Forumember
- Posts : 172
Reputation : 1
Language : french
Re: Host css in a html page
Hello @fascicularia,
To add a CSS code in your HMTL Page you must contain the code with the tags
and for the javascript you must contain them into the tags
in order to work in a HTML Page.
To add a CSS code in your HMTL Page you must contain the code with the tags
|
|
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Re: Host css in a html page
Hello Luffy,
we misunderstood each other.
I'm not talking about how to structure an html page but to use an HTML page as a style sheet. In the same manner as the forum style sheet.
Here is an html page used as a style sheet for the theme selector:
http://altitudetropicale.forums-actifs.com/h42-theme-complet-floraria-hydra
I am doing the same thing but the main theme.
we misunderstood each other.
I'm not talking about how to structure an html page but to use an HTML page as a style sheet. In the same manner as the forum style sheet.
Here is an html page used as a style sheet for the theme selector:
http://altitudetropicale.forums-actifs.com/h42-theme-complet-floraria-hydra
I am doing the same thing but the main theme.
fascicularia- Forumember
- Posts : 172
Reputation : 1
Language : french
Re: Host css in a html page
Oh!! Hehe, then i am sorry i am not really sure how to do that!
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Re: Host css in a html page
Thank you anyway luffy
fascicularia- Forumember
- Posts : 172
Reputation : 1
Language : french
Re: Host css in a html page
This seems to work:
- Code:
$(function() {
$('head').append('<style id="externcss"></style>');
$('#externcss').load('http://altitudetropicale.forums-actifs.com/h42-theme-complet-floraria-hydra');
});
10spetter10- Forumember
- Posts : 195
Reputation : 82
Language : Dutch
Re: Host css in a html page
10spetter10,What can I say except that your js works great.
I'll add more as the loading is much faster if the CSS was installed in the stylesheet.
This piece of code will appeal to those who want to compartmentalize their css and provide an interim temporary theme without having to delete the original theme.
10spetter10 , as we say at home, I will not kiss you but the heart is
I'll add more as the loading is much faster if the CSS was installed in the stylesheet.
This piece of code will appeal to those who want to compartmentalize their css and provide an interim temporary theme without having to delete the original theme.
10spetter10 , as we say at home, I will not kiss you but the heart is
fascicularia- Forumember
- Posts : 172
Reputation : 1
Language : french
Re: Host css in a html page
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» How to Embed a Google Docs Form into an HTML page using HTML Pages Management
» HTML Page
» Switch user page out with a html page
» [Help] HTML Page: Space between Header and top of page.
» Is it possible to have both HTML and CSS on a new HTML page?
» HTML Page
» Switch user page out with a html page
» [Help] HTML Page: Space between Header and top of page.
» Is it possible to have both HTML and CSS on a new HTML page?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum