Category Archives: Uncategorized

Wait, there’s such a thing as ‘inline-block?’

While working on your resumes, many of you experienced the strange phenomenon of your code only occasionally ‘listening’ to your commands to adjust margin and padding to change placement. Inconsistencies regarding the result of paddingand margin are almost always due to the display setting of the element. We’ve already dealt with two types of display: inline and block. Inline elements, such as <span>, allow additional … Continue Reading

Comments Off on Wait, there’s such a thing as ‘inline-block?’

FTP settings for the student server

Class, as we went over in class, your FTP settings for connecting to the student server from any FTP program are: Mode: SFTP Host/Server: student.elon.edu Username/PW: your Elon username/PW combo Please refer to this page on the wiki for step-by-step instructions on how to connect: http://www.wiki.imedia365.us/index.php?title=Elon_Student_Server

Comments Off on FTP settings for the student server

CSS Positioning, z-index

CSS positioning should only be used deliberately; by which I mean you should not use it unless you intend  on using it. It comes in 4 types, but one of those types doesn’t ‘do’ anything: static. That’s the default value; in other words, that’s what all of your HTML is set to automatically. So let’s look at the other ones more thoroughly: … Continue Reading

Comments Off on CSS Positioning, z-index

Don’t Pay for FTP

It’s come to my attention that normally free FTP programs like Cyberduck and Fetch – which are still as free as free can be from their respective websites, cyberduck.io and fetchsoftworks.com – are not free in the Mac App store. In fact, they’re $23.99 and $28.99, respectively. While I fully support the idea of paying the developers of the free software you use all the time, … Continue Reading

Comments Off on Don’t Pay for FTP

Dropdown navs

Hey Class, So one problem we identified in the last class was getting our sub-menu to stay active when we hover over the links – some of you noticed that if we exit the hover-state of the button in our primary navigation, the sub-nav disappears.  Well, if we coded this correctly, it shouldn’t have that problem: .mainNav li:hover ul { … Continue Reading

Comments Off on Dropdown navs

Favicons!

The code we’ll use to get a favicon onto our site will be: <link rel=”apple-touch-icon” href=”path/to/touchicon.png”> <link rel=”icon” href=”path/to/favicon.png”> <!–[if IE]><link rel=”shortcut icon” href=”path/to/favicon.ico”><![endif]–> Surprisingly complicated, eh? I’ll go over the why and how on Monday. We’ll make our favicons as PNGs, and also save an .ICO file. If you’re struggling with creating favicons, or just want some suggestions / … Continue Reading

Comments Off on Favicons!