• Hey all, due to some issues with false DMCA takedown requests, we've had to remove and censor a few things until the situation is resolved. Sorry for any inconvenience.
  • Be sure to join the discussion on our discord at: Discord.gg/serebii
  • If you're still waiting for the e-mail, be sure to check your junk/spam e-mail folders

CSS help needed!

Marky Vigoroth

Beginning Trainer
I have a navigation system in my site using a CSS layout (no tables or frames), however, I do not know how to make it so that if my navigation menu needs to be updated, I do not have to update every page with the navigation menu.
 
It is best to that in Dreamweaver HTML and save it as a template. I haven't had Dreamweaver in ages though, so I don't know if it runs CSS.

If the navigation is inserted in the main body of the page, it should go to every page. I've never applied CSS to a webpage before, just to make a forum style. So, yes, depending where you out the system, it should automatically update wherever the system is.
Sorry if I'm confusing you, I'm not good at explaining stuff like that.
I'll try to tell exactly how to do it later

BP
 
If your host supports Sever-Side Includes, PHP, ASP or any other scripting technology, you can do that. Otherwise you can't do a global update to navigation.

Try to find out what is supported and then I can explain how to do that.
 
Sorry if I'm confusing you, I'm not good at explaining stuff like that.
I'll try to tell exactly how to do it later
Do not worry; I understand that. In fact, I thought that my first post did not explain the concept well!

Oh, and MGM (as in Magma Leader Maxie), my server is Anzwers, but I plan to change the server to Freespaces (so that I can include thumbnails, but I have not read the TOS of that site yet). Also, I have planned other sites that will use the same navigation system but are on different servers (Fateback, Angelfire, Angelcities).

Sites:
Anzwers: www.anzwers.org
Freespaces: www.freespaces.com
Fateback: www.fateback.com
Angelfire: www.angelfire.com
Angelcities: www.angelcities.com
 
Sorry, none of those hosts support any scripting. What's more, they are atrocious and there really are much better free hosts out there.

Check out this free host: iFastNet - 300 MB free web space, 30 GB free monthy traffic, PHP scripting support, free MySQL database, no file size/type limitations, no forum posting required, instant account activation.

I think you'll find it's a lot better than the ones you listed. And it supports PHP, with which you can make the dynamic navigation you want and so much more.
 
*sweatdrop* "1 non-bot visitor per month"
That would be an issue here; some of the sites I planned... may not get as many hosts as PKMN Ware, Inc. What is more, I planned one of my sites to have secret content until a certain time... Another thing is that I now plan to change accounts to one server, and I hope it supports multiple accounts... Also, it says that the user must have at least 18 years of age before using the services, and I am 14 (and I do not want to lie)...

Also, (not very related to the topic) why is your site using a byethost.com account? And when I clicked on it, it led to google.co.uk!
 
*sweatdrop* "1 non-bot visitor per month"
That would be an issue here; some of the sites I planned... may not get as many hosts as PKMN Ware, Inc. What is more, I planned one of my sites to have secret content until a certain time...
If you visit your own site once a month, that's enough. It's used to keep the service from getting choked up with old and unused accounts.

Another thing is that I now plan to change accounts to one server, and I hope it supports multiple accounts... Also, it says that the user must have at least 18 years of age before using the services, and I am 14 (and I do not want to lie)...
I am pretty sure it supports the creation of separate "sub-domains" (aliases) but if that doesn't work just create a new account on the website. It's allowed, I know the owners and I asked.

Also, (not very related to the topic) why is your site using a byethost.com account? And when I clicked on it, it led to google.co.uk!
I made it lead to Google ever since I closed imy site down permanently. I can't update my signature because the [SIZE] tag has been disabled.
 
If you visit your own site once a month, that's enough. It's used to keep the service from getting choked up with old and unused accounts.
I know that; otherwise, I would have already made my site and not have given you the "too-young" scenario.
Oh, and I know about the "visit your site once a month" trick ever since I read the TOS.

I am pretty sure it supports the creation of separate "sub-domains" (aliases) but if that doesn't work just create a new account on the website. It's allowed, I know the owners and I asked.
Thank you.

I made it lead to Google ever since I closed imy site down permanently. I can't update my signature because the [SIZE] tag has been disabled.
Did you shut it down due to host issues? And why do you not just put the link without the altered size?

blueparukia said:
I am also 14 and there is a massive database on web hosts.
Google 'free web hosting'
http://www.free-webhosts.com/
I looked in the directory for free web hosts for years, so I already know that.
 
Last edited:
If you want to change your style rules for the entire website, which is what I interpreted the problem as, you can just write your style rules in Notepad and save it as a .css. (There can't be any HTML tags, BTW) Them, all you have to do is add:

Code:
<style>
@import "/stylesheet.css"</style>

I hope that that is the case, and that I have helped you. Otherwise, you'll have to rely on MLM, as he knows way more about these things than I do. :/
 
I know that; otherwise, I would have already made my site and not have given you the "too-young" scenario.
Oh, and I know about the "visit your site once a month" trick ever since I read the TOS.
I can't tell you it's OK to lie about your own age, and it's not, but this is web hosting we're talking about. I can't really see why you need to be 18 to get good free hosting.

Did you shut it down due to host issues? And why do you not just put the link without the altered size?
No, I shut it down because I no longer wished to run a website, mainly because I don't have the time. The host is excellent and I strongly recommend it.

Because I think the new "no [SIZE] tag" rule is appalling and the administrator who came up with it needs to be whacked repeatedly with a Acipenser baeri.

If you want to change your style rules for the entire website, which is what I interpreted the problem as, you can just write your style rules in Notepad and save it as a .css. (There can't be any HTML tags, BTW) Them, all you have to do is add:

As I understood it, he wants to be able to update one page and have all other pages also change navigation (by adding a new link to, let's say, a new section). However, having a global stylesheet like you explained, is a huge benefit.
 
Last edited:
I can't tell you it's OK to lie about your own age, and it's not,
First off, I do not want to lie about my age, even if it is[/i] the Internet, where you can put up a totally new identity for yourself and can even be believed that you have the new identity. (Maybe that is all the more reason why I should not lie about myself.) Not only it is against the 10 Commandments ("Thou shalt not bear against false witness" means "You must not lie.") (Yes, I am a Protestant), but also it is not nice to lie.

but this is web hosting we're talking about. I can't really see why you need to be 18 to get good free hosting.
Maybe it is because the server wanted professional sites, or, more believably in my case, they wanted mature sites (as in sites that are pretty serious, not ones that people put up as a joke or give content that is messy and very kid-like).

No, I shut it down because I no longer wished to run a website, mainly because I don't have the time. The host is excellent and I strongly recommend it.
I understand. [However, (and this is pretty difficult for me to say) I tried to look at an archive of the site. Sorry. I am the curious sort, and wanted to see how the site looked like... More sorry...]
*checks out host* *another sweatdrop* Once again, the "18 years of age" block interferes with me. Also, I saw field for imputing information that I want to keep secret (as in my last name, my address, etc.). I skipped them, but I read the TOS, and...

Because I think the new "no [SIZE] tag" rule is appalling and the administrator who came up with it needs to be whacked repeatedly with a Acipenser baeri.
At first glance, that seems like a "link-two-unrelated-things-together" type of protest. However, I think you are protesting by showing how hard it is to make certain content of yours to stand out. However, I see reason in the "no size tag" rule. Big words (as in too many centimetres*, not too many letters) may distract/annoy a viewer. Either that or certain people are abusing the tag, so they had to make the rule stricter.

Oh, and I do not think that your "whack-anti-size-tag-administrator-with-a-sturgeon" comment is respectful at all for the administrator (They have teir reasons for why they do these things.), but I will not scold/tattle on/argue with you on that mark. You are just expressing anger towards an issue that you see as unjust. [Not very on topic, but I do not think that a sturgeon will be a very good weapon. They are very rare (Else caviar, which is sturgeon eggs, would not be wide-known as one of the most expensive foods.)], even though they have a sword-like snout. Instead, may I suggest, to release your anger, hitting something inannimate (like a brick) with a puerro*? (A pokémon has one as a weapon, you know!) (I know the hit-brick-with-puerro bit sounds silly, but I am starting to get a little more affinity for this.)

Twitch said:
If you want to change your style rules for the entire website, which is what I interpreted the problem as, you can just write your style rules in Notepad and save it as a .css. (There can't be any HTML tags, BTW) Them, all you have to do is add:


Code:
<style>
@import "/stylesheet.css"</style>I hope that that is the case, and that I have helped you. Otherwise, you'll have to rely on MLM, as he knows way more about these things than I do. :/

I read about that code months ago. However, now the issue is, "How do I import <div> tags using that code?" Do I make a page with the css and menu on one page, and use importurl to import the navigation?


*=Puerro is a Spanish word.
 
First off, I do not want to lie about my age, even if it is[/i] the Internet, where you can put up a totally new identity for yourself and can even be believed that you have the new identity. (Maybe that is all the more reason why I should not lie about myself.) Not only it is against the 10 Commandments ("Thou shalt not bear against false witness" means "You must not lie.") (Yes, I am a Protestant), but also it is not nice to lie.

Maybe it is because the server wanted professional sites, or, more believably in my case, they wanted mature sites (as in sites that are pretty serious, not ones that people put up as a joke or give content that is messy and very kid-like).


It's a licence agreement, so you should usually not lie. That notwithstanding, they won't take any action if you're under 18, I was 15 when I registered my Byethost account, and I ran a Pokemon site. It must have something to do with upgrading to a paid hosting plan, when you have to give them money. That's what I think.

The part where you said you think they are wanting professional sites isn't true, so don't worry about it. They appreciate all web sites they host unless they break laws (like offering illegal mp3s, warez, etc).

I understand. [However, (and this is pretty difficult for me to say) I tried to look at an archive of the site. Sorry. I am the curious sort, and wanted to see how the site looked like... More sorry...]
*checks out host* *another sweatdrop* Once again, the "18 years of age" block interferes with me. Also, I saw field for imputing information that I want to keep secret (as in my last name, my address, etc.). I skipped them, but I read the TOS, and...
Don't worry, you don't have to apologise. I hope you found it in the archives.

They all use the same licence agreement because they are owned by the same company.

At first glance, that seems like a "link-two-unrelated-things-together" type of protest. However, I think you are protesting by showing how hard it is to make certain content of yours to stand out. However, I see reason in the "no size tag" rule. Big words (as in too many centimetres*, not too many letters) may distract/annoy a viewer. Either that or certain people are abusing the tag, so they had to make the rule stricter.
Abuse of the tag could be punishable by some number of those infraction points, or by signature deletion or something. Disabling the tag is really stupid. There are so many forums in the world, on how many of them has the [SIZE] tag been disabled?

Oh, and I do not think that your "whack-anti-size-tag-administrator-with-a-sturgeon" comment is respectful at all for the administrator (They have teir reasons for why they do these things.), but I will not scold/tattle on/argue with you on that mark. You are just expressing anger towards an issue that you see as unjust. [Not very on topic, but I do not think that a sturgeon will be a very good weapon. They are very rare (Else caviar, which is sturgeon eggs, would not be wide-known as one of the most expensive foods.)], even though they have a sword-like snout. Instead, may I suggest, to release your anger, hitting something inannimate (like a brick) with a puerro*? (A pokémon has one as a weapon, you know!) (I know the hit-brick-with-puerro bit sounds silly, but I am starting to get a little more affinity for this.)
Yeah I know sturgeons are valuable but it had to be a funny fish which thrives in the waters around Sweden.

If the administrators made proper decisions they would have my respect. You've got to complain to get things done. And a brick has nothing to do with this, so I think slapping an administrator would be a more adequate way of relieving anger (even though they are thousands of miles away).

I read about that code months ago. However, now the issue is, "How do I import <div> tags using that code?" Do I make a page with the css and menu on one page, and use importurl to import the navigation?

Then you do need scripting enabled. For the record, it can be done with JavaScript, but you should avoid JavaScript whenever possible.
 
What? Javascripts really good and relatively easy to learn

This has nothing to do with it being good and easy to learn. Javascript is a client-side scripting language, which means it's often disabled, and on mobile devices there is often no support for it at all. Server-Side scripting was invented because of this problem.

Javascript is useful for extra stuff, but you have to bear in mind that if the user has JS disabled, he/she is going to be scratching his/her head when he/she comes to a site where there is no navigation.

Keep JavaScript to a minimum, and only use it for extra effects and such.
 
Don't worry, you don't have to apologise. I hope you found it in the archives.
I used archive.org . No luck.
They all use the same licence agreement because they are owned by the same company.

Abuse of the tag could be punishable by some number of those infraction points, or by signature deletion or something. Disabling the tag is really stupid. There are so many forums in the world, on how many of them has the [SIZE] tag been disabled?


Yeah I know sturgeons are valuable but it had to be a funny fish which thrives in the waters around Sweden.
So you are Swedish, right? (And you were trying to be funny, right?)

If the administrators made proper decisions they would have my respect.
As a Christian, I am commanded (and want to) love everybody. (I meant respect people/give to them their basic need/do what to do to make them happy; in other words, brotherly love.) I also have to respect the authorities over me. Since the authorities over me in these forums are the administrators, I respect them, regardless of the rules. I understand your way of respect, but I think they should get your respect, too. (Are not the authorities over us the ones who are supposed to make our world safe? I know it is less perfect than the Metal ability*, but at least most of them are trying at the least!)

You've got to complain to get things done.
Actually, it may only make things worse. Consider this scenario.
1. The Egyptians enslave the jews, and God (through Moses) delivers them.
2. In the wilderness, they complain that they had better conditions in Egypt, and God judged them.
3. God gave the Jews an opportunity to capture Canaan (a region that was called flowing with milk and honey), but the Jews complain about the giants there and God promised them that they will not see Canaan.
4. They decided to capture Canaan anyways, despite Moses's God-given warning. The Amalekites (he enemies of the Israelites) and the Caanites (those who live in Canaan) defeated them pretty easily.
Even though this happened about 5,000-4,000 years ago, the principle stays the same. (Yes, I know someone can give in to all the complaining, but it only give him a headache, so it only causes more problems.)


And a brick has nothing to do with this, so I think slapping an administrator would be a more adequate way of relieving anger (even though they are thousands of miles away).
Actually, I was offering you a way to relieve your anger without hurting an administrator in multiple ways (as in more than physically). The same effect can be done by writting what you feel about the administrator in a piece of paper, but it is best if you ask any administrator about you attitude concerning the size tag. (At least that is what I think Jesus would have done if He was in your place. You may or may not be aChristian, but doing what Jesus may have done in your place will ultimately make your life easier.)


Then you do need scripting enabled. For the record, it can be done with JavaScript, but you should avoid JavaScript whenever possible.
I only use it for a virtual clock in my site. I know why I should not use it, though. (Every time I go to a page that has Javascript, the computer freezes for 2 minutes or 3. However, even if I knew I could disable Javascript, I would not have disabled it anyways! |D)

And this question remains: How do I import <div> tags?

P.S. Are you from Sweeden, and, if you live there, does Sweeden have a high standard of living? (Must be from the valuable-fish thing...)
 
Back
Top