News:

FOR INFORMATION ON DONATIONS, AND HOW TO OBTAIN ACCESS TO THE GAME, PLEASE VIEW THE FOLLOWING TOPIC: http://stick-online.com/boards/index.php?topic=2.0

Main Menu

Web Design

Started by sayers6, June 07, 2011, 12:08:36 PM

Previous topic - Next topic

igufed

My intention wasn't to start one.  Just saying the reasons why I steer away from feature-rich text editors.
Gettra - In development  ExcessPoker - Released v1.0

Meiun

Quote from: igufed on September 06, 2011, 03:53:54 PM
My intention wasn't to start one.  Just saying the reasons why I steer away from feature-rich text editors.
You should atleast upgrade to using Notepad++, yeesh. http://notepad-plus-plus.org/download/v5.9.3.html

sayers6

I so far swear by notepad++. Only problem is, that we can't install them on the computers at school. So I run notepad++ from a flash drive when the teacher isn't walking around. But she was all over today, so I couldn't use it. Otherwise I have to use notepad. It's rather annoying. Does firebug work only with Firefox? Or does it do chrome? Thanks guys.

@meiun LMAO

Scotty

Quote from: sayers6 on September 06, 2011, 06:04:01 PM
I so far swear by notepad++. Only problem is, that we can't install them on the computers at school. So I run notepad++ from a flash drive when the teacher isn't walking around. But she was all over today, so I couldn't use it. Otherwise I have to use notepad. It's rather annoying. Does firebug work only with Firefox? Or does it do chrome? Thanks guys.

@meiun LMAO

Firebug works on Chrome and Firefox, not certain about IE.

sayers6

Is it possible to use "random" images with something easier than PHP like what you do in your signature with Calvin and Hobbes? Wanting to rotate through some images for a websit we have to do.

Scotty

#65
Quote from: sayers6 on November 09, 2011, 11:03:59 AM
Is it possible to use "random" images with something easier than PHP like what you do in your signature with Calvin and Hobbes? Wanting to rotate through some images for a websit we have to do.

It all depends.  It isn't really that hard on the PHP end to do it.  I have mine randomized on every refresh, and have also included some db queries to limit it to a specific day of any year as to not throw random comics and enable seasonal comics (e.g. winter comics will only appear in the winter). 

Also, code like this is easily discovered on the internet if you just want to plug it in to the site.  See:
http://www.alistapart.com/articles/randomizer/

sayers6

The Reason I say no PHP is that I haven't worked on it at all, and we just open the file, it isn't hosted. I really do need to get cracking on working with some of it soon though. Thanks for the quick reply.

igufed

You can do what you want fairly easily with javascript as well, which will work locally.
Gettra - In development  ExcessPoker - Released v1.0

Scotty


sayers6

How exactly do you get an html file onto a web server, I'm planning on going to dreamhost to setup a web site, I just don't know how putting files up and configuring a hosted website goes.

Scotty

Quote from: sayers6 on December 13, 2011, 02:38:58 PM
How exactly do you get an html file onto a web server, I'm planning on going to dreamhost to setup a web site, I just don't know how putting files up and configuring a hosted website goes.

You'll need to use an FTP client or SSH (or even better, both:  SFTP).  Assuming you are on Windows, your best bet is probably the Filezilla application.  Dreamhost has some good documentation on getting this done: http://wiki.dreamhost.com/FTP or http://wiki.dreamhost.com/SFTP for SFTP.

sayers6

Is it a easy process or does it require learning even more?

Scotty

Quote from: sayers6 on December 13, 2011, 03:00:56 PM
Is it a easy process or does it require learning even more?

It's not that bad, but this is coming from someone who understands it very well, so take it with a grain of salt.  It isn't like learning a whole new language or anything, just a tool and a protocol.  Sure, you'll have to learn how to establish a connection and understand where the document root is and where to dump your files, but it's easy to pick up on.

igufed

Uploading to your web server is pretty easy.  Dreamhost also has a web ftp application if you didn't want to use a different program like Filezilla. 

Filezilla is great, though.  It's what I use and from what Scotty said, he does as well.
Gettra - In development  ExcessPoker - Released v1.0

sayers6

Alright problems I'm having with CSS, I'm trying to align an image on the right side of the screen, and not have text go underneath it. I used the absolute positioning for the image (I think this may have been a big mistake) and used a margin right for the paragraphs of text. Everything worked perfectly at my school, didn't think anything of it, assumed I did a good job. Then I get behind in class, so I put the file on a flash drive and take it home. Then, I pull it up on my laptop, which instead of an almost square screen, is wide screen. The text kept it's margin, and the image kept it's absolute positioning, except since there were way more pixels, the image was in the center of the screen and, the text goes underneath it. I know the problem, I just have no idea on the solution. Any help?