By duztin on
Is there any way to stop the nodes from expanding when a user is using a higher resolution?
I'm using Drupal 4.4.1 and I want everything to be the same size as the sites logo. No matter how big the users resolution is. Drupal automatically adjusts the width of the nodes to fit in a wider screen, but the logo remains the same size.
I'm also using the chameleon theme.
Comments
Adjust style sheet ...
Open the file themes/chameleon/common.css in a text editor.
Add the following line to
body {}width: 600px;Specifying your desired width.
There's probably a number of other ways of doing what you want but this is the easiest ...
--
Brian.
Thanks alot :)
Thanks alot :)
Do you happen to know how to do this in phptemplate? I have two sites and really like the outcome, it doesn't appear to be as easy as chameleon. I'm also setting the margins to auto but the blocks in phptemplate don't follow nodes.
Same again ...
themes/phptemplate/default/style.css
add
width: 600px;tobody {}You should be careful with fixed pixel sizes. They may look nice when viewed with default browser settings but people are increasingly overriding default settings like font sizes. I myself do this in Firefox as my notebook screen resolution is 1900 wide, making default fonts painfully small to read. People with poor eyesight also routinely increase font sizes, so by fixing page widths at say 600px you're destroying accessibility ... not to mention the nice design of your site.
I think one of the best tests of a website's design is simply increasing the font size. If it scales nicely then the author has put thought into it. Most of Drupal's theme authors have taken the trouble to do this.
Just my 2c.
--
Brian.
Thanks for the advice, I got
Thanks for the advice, I got this far yesterday with the code you gave me but the blocks are staying on the right side, They don't follow the body code.