![]() |
A little help with my website
1 Attachment(s)
Hello all,
Just looking for a little help with my website I know some of the links are not working, but I'll get around to that later. What I need to know is how I can get everything centred within the browser, and also keep everything in proportion on different displays. Currently the page looks fins on my display (monitor currently at 1280x1024). The site has been put together in Dreamweaver with use of parts of a template. |
Re: A little help with my website
Centering layers is a b*stard.
This works however: Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
Re: A little help with my website
If you want to center a <div> all you need to do is this CSS:
#centerlayer { width: 75%; /* Example width */ margin-left: auto; margin-right: auto; } I usually find that this is useful for browsers with good CSS support, I used it on the nthellworld.co.uk homepage: body { max-width: 1024px; /* IE doesn't support advanced CSS so this will not work in that browser */ margin-left: auto; margin-right: auto; } |
Re: A little help with my website
Thanks for the advice, something for me to work on later
|
| All times are GMT. The time now is 01:59. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum