/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] Image Alignment

Hi Folks,

Please bear with me.. Im more of a PHP programmer than a CSS programmer so thats why i may be having some problems! ? (Site works in firefox. Once completed ill do the cross-browser checking!)

1) [url]http://www.locksmithharrow.net/index.html[/url]. As you can see on the front page, the white content on the front page scrools down to the bottom of the page which is what i want! However on the Links page it dosent.. I believe this is something to do with the 100% height in the CSS (Content Div) but when i take this away, the other pages dont show the white background area as id like but the link page works! Id like it to go to the bottom of the page wether there is content there or not (Like it is on the front page at the momment!)

2) Was wondering if anyone had some tips on how to align the security page? [url]http://www.locksmithharrow.net/security.html[/url]. It was taken from here (With permission!) [url]http://marlow-locksmith.net/home_security.html[/url] but dosent quite work on our site! ?

Any help would be greatly appreciated!
Cheers guys! ?
Scott

to post a comment
CSS

5 Comments(s)

Copy linkTweet thisAlerts:
@FangMay 28.2009 — 1) In #container add [I]overflow:hidden;[/I] and remove [I]height:100%;[/I]

2) Looks OK.
Copy linkTweet thisAlerts:
@SRobinsonauthorMay 28.2009 — Hi,

Thats great! Thanks very much for that. Its fixed the links page, but i was hoping that the white background would still carry down on all pages? (I.E On 1280x1024 the front page white area stops at the end of the content.. Was hoping for it to go to the bottom of the page even if there was no content!)

Thanks again,

Scott
Copy linkTweet thisAlerts:
@aj_nscMay 28.2009 — EDIT: Nm..I interpreted the problem incorrectly.
Copy linkTweet thisAlerts:
@FangMay 28.2009 — Try adding #container {min-height:100%;}
Copy linkTweet thisAlerts:
@SRobinsonauthorMay 28.2009 — Whey! That worked. Thanks very much for that! ?

Scott
×

Success!

Help @SRobinson 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 5.4,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

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