Profile

Cover photo
Dillon Brannick
45,312 views
AboutPosts+1's

Stream

 
So my code is working fine in Chrome but in Firefox and IE10 it just isn't. Now I know I could change the css with a conditional statement to make it work, but I'd rather find out if I've coded something  poorly and that's why it's not working in the other browsers.

Basically text that's supposed to go on top of the images i.e. 'Paint a day', etc. are doing just that in chrome, but in the others it's taking margin the left from the end of the image instead of the start like chrome.

Any ideas?
http://jsfiddle.net/f6WB5/3/
1
Sváťa Čech's profile photoGabriele Petrioli's profile photoDillon Brannick's profile photocody parnell's profile photo
17 comments
 
+Gabriele Petrioli I usually do ask there, but I for some reason I feel bad asking questions there that I think might be silly.

Are you saying your answer was not timely and of good quality....? I beg to differ.
Add a comment...
 
People sell pokémon!? is there actually a market?
2
Add a comment...

Dillon Brannick

commented on a video on YouTube.
Shared publicly  - 
 
+Piers Larchet everything is when Kav is involved
1
Ciarán Hackett's profile photo
 
I like

Dillon Brannick

Nintendo 3DS  - 
 
My 3ds spot/streetpass light is always solid red. I can't find out anything about it. I'd appreciate any help
3
1
Joshua Hennigan's profile photoZ Winkler's profile photoJacob Andrews's profile photoDillon Brannick's profile photo
8 comments
 
+Dillon Brannick

Oooh, I see.
That shop rules.
Add a comment...
 
clientHeight seems to be getting a value of 0, so it is not affecting margin-top. Tested in Chrome, Firefox and IE11.

I'm trying to obtain the height (as it's not fixed but changes with window size) of an element and then apply that to the margin-top style in the CSS.

Any ideas why it's returning a value of 0.

Also I'd prefer to keep it pure javascript.
2
Tj Gienger's profile photoMark Lee's profile photoDillon Brannick's profile photo
7 comments
 
Awesome!
Add a comment...
 
I installed Wordpress with WAMP, but I don't know how to create a theme without getting the error 

Fatal error: Call to undefined function get_header() in C:\wamp\www\wordpress\wp-content\themes\twentytwelve\index.php on line 1

So I re-installed, and just tried to run a default theme, no luck either; same problem. 
localhost/wordpress loads correctly but anything in wp-content doesn't or anything I create.

I'm pretty sure it's a simple problem, but none of the info I've found has really helped. Wondering if anyone would be able to help me.
1
Dillon Brannick's profile photo
 
I got it working; I just run the theme through wp-admin instead
Add a comment...
 
The image isn't appearing for me and I don't know why.

CSS:

#home_bg {
position:absolute;
width:100%;
height:100%;
background-image:url('C:\Users\Dillon\Dropbox\Public\Website\Version5\home_bg.gif');
}

HTML

<div id="home_bg"></div>
1
Ali A. Othman's profile photoBlake Hopper's profile photoOsvaldo Gago's profile photoDillon Brannick's profile photo
11 comments
 
Thanks for the help, I'm using relative paths now. The code looks so nice not using the dropbox urls. I should probably pay for hosting, so I can actually do it.
Add a comment...

Dillon Brannick

commented on a video on YouTube.
Shared publicly  - 
 
+joey oakman just cut out those frames, extend them, then mask around the skier, then just let the original video play beneath the masked skier.
1
 
A short dialogue animation in maya
1
Add a comment...

Dillon Brannick

Shared publicly  - 
1
Dillon Brannick's +1's are the things they like, agree with, or want to recommend.
Enter Password
mbsupply.tumblr.com

Password Enter. Quantcast.

Whole World in His Hands
www.threadless.com

New graphic t-shirts released weekly. Awesome new designs submitted and rated by the Threadless community.

SHOWREEL NUNO
www.youtube.com

Music: 414 de mini roc - rights owner. From the album Miniland. Animation done by me. Everything else done by me except: Backgrounds, charac

Dillon Brannick | BrainArt Project
www.brainartproject.com

My Perspective; Who am I? Hand-eye. This was the exploration from the pleasures of sight to those of touch. Firstly when we look, at least f

THE EXTERNAL WORLD
www.theexternalworld.com

-E X TW- /.. +I NF;O++ / ?&quot;3LLbr&gt; /. buy soundtrack · buy quicktime · © DOR 2012 ...

Background Concepts
magbot.blogspot.com

One of the most notable bits of feedback we received from the &quot;Falling Ground&quot; demo was that the level just wasn&#39;t engaging en

Sin having da craic.mp4
www.youtube.com

My sister Sinéad having thrills and spills on Kilternan's dry slope. Luckily she had a brother with a camera to catch all the gory action, e

Google Accounts
chrome.monsterdashgame.com

Accounts. Monster Dash Chrome uses Google Accounts for Sign In. Google is not affiliated with the contents of Monster Dash Chrome or its own