css[?] question
- Started
- Last post
- 9 Responses
- Atkinson
hello clever people. I'm having a crack at zenphoto, I need to get the whole lot to the left of the screen rather than the center, any ideas?
http://craigatkinson.co.uk/zp/se…
http://craigatkinson.co.uk/zp/zp…
- ********0
not sure how you have it sitting there in the middle? unless text-align center is doing it, not sure why it would though... take that out or make it say left? you could float it left
- ********0
take off the text-align: center on the body tag and see if that makes a difference?
- Atkinson0
will try that
- Atkinson0
nah, not that!
- ********0
you have an additional stylesheet in your source. something either in the light.css is controlling the body or the #main div causing it to center... look for margin: 0 auto; or something like that
- Atkinson0
hm, not sure I get you - what do I need to do?
- ********0
in your source code you have a link to light.css in the head
in that where it says #main theres a margin set to margin: 20px auto; that is what is making it center... get rid of that and it should show up on the left
- ********0
or in your admin.css go to #main and add a line to it that says margin:20px 0; or something to that effect
- Atkinson0
magic, thankyou