Hi,
I have a problem, I'm struggling with for a while...
I want, that if I create a content like a page or a BlogEntry, the size of the content will be the resolution of the screen of the visitor, because I don't want to put every content into a iframe or HTML-table with maybe 800pixel... of course...
I thought that I have to put "WIDHT=auto" or "WIDTH=100%" somewhere, but if I put it into the style.css of my theme, it doesn't change anything. So if I just type hundreds of signs in a row, it won't break the line and my window will be too wide.
Hope, that you can understand my problem and that you know a solution. Maybe I have to change something in a .php-file or my drupalfolder or something else? or should everything be in the folder of my theme?
I would thank you thousand times, if you could help me...
Thanks
-max-
Comments
Details...
I'd be happy to help if you can provide a few more details like what theme engine you're using or the theme you're modifying.
Warren
http://www.warrenonline.ca
here we are...
I think the origin of my modifyed theme was kubrik...
you can see the problem I'm struggling with under this link:
http://www.paulusheim05.de/drupal/impressum
the font is too wide, the width should change with the resolution...
hope, somebody can help me now, cause it's my last problem and I was working in the site for a while and want to release it now...
thanks a lot your efforts guys
take care
-max-
Table Width
I haven't personally looked at the Kubrik theme, but from looking at the source of your page it looks like a table width of 800 has been set for the content. If it's a fixed 800px the content will spill over at lower resolution. Try removing the 800 width on the table and see what happens.
Warren
http://www.warrenonline.ca
I would like to know too....
... but I would like to include my side columns as well, not just my main content. I dont really want to put a surrounding div tag, since it will cause the scroll bar too appear.
suggestions?
thelefthanded.com
i'm running a home-brew mod version of the manji theme.
thanks
-TLh
CSS
I'm no CSS expert by any means, but I think if you use a surrounding div tag and apply a float right or left to the div surrounding the menu it works.
I've done an example on the site I'm trying to build at http://www.brownjacketpoker.com . There's a surrounding div and the left column is built by a float: left on the menu. The illusion of a column comes from a margin-left on the main content. The site isn't quite done yet....
From looking at the CSS for your site the #container is 680px and your #blocks is 130px and #blocks_2 is 130px. The total is 940px so the scrollbar appears @ 1024x768 because the calendar is pushing it out....
Try making a fixed width container around your main content then float the menus left and right to build the columns. Put a margin on the content to keep it from flowing around the bottom of the menus.
Sorry to be so wordy, but it's hard to explain....
Warren
http://www.warrenonline.ca