Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ChickenMaster

Pages: 1 ... 22 23 24 25 26 [27] 28 29 30 31 32 ... 71
391
Off Topic / Re: How to resize border in HTML/CSS and center images?
« on: November 22, 2013, 11:13:40 PM »
yeah, i'm pretty new to it. also, the image just completely disappeared. i don't quite understand what a stylesheet is.
Think of it this way. the .html file, the thing you're writing all the markup in, is a file that contains all the content you will see on the page, from paragraphs to images to links and so on. A Cascading Style Sheet, or .css file, is the file that changes the aesthetics of the page. Aesthetics include anything from the color of the text, to the border around a picture. Basically, anything that's not content.
The reason for writing things in a .css file as opposed to writing in a <style> tag is that if you have multiple pages that use the same CSS rules, you only have to change one .css file instead of multiple .html files because all the .html files link to the one .css file.



the image is still centered to the left.
Code: [Select]
<!DOCTYPE HTML>
<html>
<head>
  <title>Toons Revolution</title>
  <style media="screen" type="text/css">
    body{background-color: lightskyblue;}
    #intro{text-align: center;}
    #header-image{display: block; margin: 0px auto;}
  </style>
</head>

<body>
  <img src="http://toontownrevolution.com/img/header.png" width="400" height="200" id="header-image"/>

  <p id="intro">A fansite for the website <a href="toontownrevolution.com">Toontown Revolution</a></p>

</body>
</html>

Instead of putting all your css inline, meaning in each individual html tag, put it in the style tag in <head>, that's what it's there for. What I did was I put all the css into one style tag, all nice and tidy, like I said, and demonstrated a key point in CSS: id's! (and classes, but that's for later.)
If you notice in the style tag, "intro" has a '#' before it. That means it's telling the css that that thing is an id. An id is an attribute you can add in any html tag that allows you to individualize something for the css. An example may be: you have 5 <p>'s, but you only want one of them to be colored red. If you tried to do
Code: [Select]
p{color:red;}

it would color ALL the <p>'s red. So what you need to do is seperate one <p> from the rest. This is done by using id's. So, make that one <p> look like <p id="red">. Now, in the css, you can do this
Code: [Select]
#red{color:red;}
and that one paragraph will be red. yay.

also this would be so much better with <div> organisation, but like i said, you're a beginner, and that's for another time.

Er, I digress. so anyway, i recommend you watch some videos or something, cuz these are all questions that can be answered fairly easily after a day or so of studying html/css.

392
Off Topic / Re: How to resize border in HTML/CSS and center images?
« on: November 22, 2013, 10:37:53 PM »
I'm guessing you're really new to this, but it would go in <style>. All CSS goes in style. But - unless it's just a simple one-page dealio - I would recommend writing all CSS on an external stylesheet, and link that to your HTML file in the <head>

393
Off Topic / Re: How to resize border in HTML/CSS and center images?
« on: November 22, 2013, 10:28:29 PM »
with css you can center elements by setting the left and right margin to auto. they also have to be block display. example:

Code: [Select]
.idk{
  display: block;
  margin: 0px auto;  (<- using this syntax, this changes the top & bottom margins to 0, and the left & right to equal amounts, centering stuff.)
}

I'm guessing by "resize borders" you mean changing the thickness and that can be done by:

Code: [Select]
#whatever{
  border: 1px (<- change that) solid #000;
}

394
Games / Re: Starbound Megathread - how-the-beta-is-going-to-work
« on: November 19, 2013, 06:59:50 PM »


jesus christ the original is like 3000x2000 pixels
it's the six main ships btw

At first i was gonna get mad at how dumb the hylotl ship looks but then i realized its almost kinda charming in a way. Like, it has that ancient warship kinda look.
but it could still use a bit of decluttering though, jesus.

395
Creativity / Re: Music Megathread
« on: November 10, 2013, 08:53:38 PM »
tis great

make them into epic starfishs already

also what the hell chickenmaster it's 7 minutes
THANKS FOR THE NIGHTMARES CHICKEN

397
Creativity / Re: Music Megathread
« on: November 09, 2013, 12:43:06 AM »
Speaking of music, I just finished this! https://soundcloud.com/psarius/bad-dreams-and-pleasant-1
yeah


Anybody else faced with a creative block preventing them from finishing stuff?
All the time. Unfortunately, my way of dealing with the situation is to usually just stop working on it - however long that may be: days, weeks, months, pff. :cookieMonster:
Alternatively, a better way to deal with writer's block is to force yourself to work on other stuff. doesn't have to be good, doesn't have to be finished, just start making. usually gets the juices flowing for me.

398
My Google account


what

Anyways, yeah, this happened to me once a year ago, but I changed my password, and it didn't again.

399
Games / Re: Bastion.. every time.
« on: November 05, 2013, 03:37:23 PM »
i mean really though. a game that good would be too short no matter how long it was lol
agreed, good thing the soundtrack is timeless <3

400
Creativity / Re: PaintBlock's ~ forum avatars
« on: October 29, 2013, 11:06:37 PM »
the very least you'd pay for a good tablet is $160
Sorry to pop in, but that's a lie.
Especially if you're looking at some cheap monoprice tablets.
Even wacom bamboo's (and apparently their intuos pen rebranding, when did that happen lol) are like $70.

401
Creativity / Re: Drawings Megathread
« on: October 29, 2013, 10:19:11 PM »
watch out chicken, people get banned for that all the time

yeah, but that's only if they're bad at stealing things.
i mean drawing.
if they're bad at drawing things.

402
Creativity / Re: Drawings Megathread
« on: October 29, 2013, 09:15:46 PM »
That is a wyvern.
you failed.
forget stuff dammit killin myself now thx

403
Creativity / Re: Drawings Megathread
« on: October 29, 2013, 08:02:26 PM »


camera how's this dragon i drew

404
Creativity / Re: Drawings Megathread
« on: October 26, 2013, 07:47:31 PM »
i had a weird gay loveual fantasy out of nowhere and im straight so yeah wtf
This is the drawing thread, so you have to, you know-

405
i think i might do furlings night fox drama next
you know the one

please
please do

Pages: 1 ... 22 23 24 25 26 [27] 28 29 30 31 32 ... 71