/    Sign up×
Community /Pin to ProfileBookmark

Problem with positioning

I have tried allsorts to try and get this slideshow in to the screen of the iphone but just cant seem to get it to shift, any help appreciated.

[url]www.primarycarecommunity.net/daz/demo.html[/url]

thanks

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@rtretheweyJan 16.2012 — It looks to me like you need to set .iphone to:
[code]
position:relative; top:0; left:0;
[code]
This should give you the control over the positioning of the .slider-wrapper class <div> that you're looking for.
Copy linkTweet thisAlerts:
@djadejonesauthorJan 16.2012 — Hi rtrethewey,

Thanks for your help, I have added that bit to the .iphone element in the css, but my margin-top still has no effect within .slider-wrapper img

Adrian
Copy linkTweet thisAlerts:
@djadejonesauthorJan 17.2012 — Sorry to bump but have tried allsorts with this and it is really puzzling me... Could anyone shed some light on this for me?

Thanks.
Copy linkTweet thisAlerts:
@cootheadJan 17.2012 — Hi there djadejones,

in your [b]style.css[/b] file, try changing this...
[color=navy]
.iphone {position:relative; top:0; left:0; height: 746px; background-image: url('images/iphone.png'); background-repeat: no-repeat;}
[/color]

...to this...
[color=navy]
.iphone {
height:611px;
padding:135px 30px 0 34px;
background-image:url('images/iphone.png');
background-repeat:no-repeat;
}
[/color]

[i]coothead[/i]
×

Success!

Help @djadejones spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...