Focus TDCi
Over the past month or so, on and off, I've been building a website for my photographs. It's coming along fairly well and I'm nearly at the point where I suppose you could say 'stage 1' is complete. Stage 1 being a functioning website that serves its purpose, but has plenty of room for improvement.
However I've got a few minor issues:
However when the page is less than 900px, instead of scrolling off the right hand-side the .center disappears equally off both the left and right side of the page, with no way of retrieving the left side. Therefore anyone viewing on a screen less than 900px wide can't see half the content.
I've tried changing to:
However it doesn't center and sits instead against the left hand edge.
Any thoughts how to resolve that?
Any ideas how I'd make alterations to that? I can provide the php files if needed.
I'll post the link up once these issues are sorted out, I'd prefer to get everything straight first.
Thanks,
Ian
However I've got a few minor issues:
- 1. Centering the main div holder
Code:
.center {
left: 50%;
margin-left: -450px;
width: 900px;
}
I've tried changing to:
Code:
.center {
margin: 0px auto;
width: 900px;
}
or
.center {
margin-left: auto;
margin-right: auto;
width: 900px;
}
Any thoughts how to resolve that?
- 2. Password protecting individual pages
Any ideas how I'd make alterations to that? I can provide the php files if needed.
I'll post the link up once these issues are sorted out, I'd prefer to get everything straight first.
Thanks,
Ian