Hi,togeher I try now for the first Time to setup a page with Q-CMS for a customer. But I have troubles with the CSS. They shuold keep the Main Block in center but it goes always down. This I know is because I do not understad all parts in the css. Any suggestions for me ? see test page on http://x5.prowebnet.ch/bgi (most pictures are dummys for preparing the page)
And if somebody has a bit time for mi to do this please write me. either anybody or somebody from OpenSolution - say how much I should spent as donation for this work.
by the way - my orgin language is German also normal spreche ich Deutsch
merci
2007-09-10 07:56
riedere - I'm not sure if I understand you properly...if you want this part with content goes to the center, you should in templates/default.css change this line:
#body{width:1050px;margin:0 ;color:#dddddd;}
to this:
#body{width:1050px;margin:0 auto;color:#dddddd;}p/php] but if I wrong understand you, please send screen, and show what you want to have, I will try to help you.
Thanks a lot <merci>, it became much better but always some not nice especially showing by diffrent browsers:
This is made by browsing with IE: http://x5.prowebnet.ch/bgi/bgi-ie.jpg
This with Firefox: http://x5.prowebnet.ch/bgi/bgi-firefox.jpg
Thanks Erich
And here is the default.css (this auto correction I just made, and changed witdh for content) Maybe if you could insert more helpfull explanation into the css it will help me. /* Quick.Cms v1.0 default stylesheet Copyright by OpenSolution.org 2007 */
/* GLOBAL STYLES */ body,h1,h2,h3,h4,h5,h6,p,form,fieldset,img,td,th,table,ul{margin:0;padding:0;border:0;} body,table{background-color:inherit;color:#FFFFFF;font-size:12px;font-family:Arial, Verdana, sans-serif;}
/* below you can change background and font for all site */ body{padding-bottom:10px;background:#30303A repeat-x;text-align:center;}
/* MENU 1 styles - left menu */ #menu1{width:200px;margin:20px 0 20px 17px;} #menu1 dt{margin:0 0 1px;} #menu1 dt a{display:block;height:16px;padding:6px 0 6px 25px; 7px 11px no-repeat;background-color:inherit;color:#888888;font:bold 1.167em verdana, sans-serif;text-align:left;} #menu1 dt a:hover{color:#CCCCCC;text-decoration:none;} #menu1 dt#selected a{color:#FFFFFF;text-decoration:none;}
/* MENU 2 styles - top menu under logo */ #menu2{margin:0 0 0 12px;padding:13px 0 0;list-style:none;} #menu2 li{float:left;} #menu2 li a{display:block;padding:3px 12px 4px;border-right:1px solid #f7f7ff;background:inherit;color:#fff;font:bold 1.167em verdana, sans-serif;} #menu2 li a:hover{background:#FFFFFF;color:#FFFFFF;} #menu2 li#selected a{background:#f7f7ff;color:#d62121;text-decoration:underline;} #menu2 .lL a{border:0;}
/* MENU 3 styles - top menu on right logo */ #menu3{float:right;height:30px;margin:0 15px 0 0;list-style:none;background:#f00;color:#fff;} #menu3 li{float:left;margin:8px 0 0;padding:0 12px;border-right:1px solid #fff;} #menu3 li a{font:bold 1em verdana, sans-serif;background-color:inherit;color:#fff;} #menu3 li#selected a{text-decoration:underline;} #menu3 .lL{border:0;}
/* MESSAGE - error and confirm messages styles */ #message{text-align:center;} #error, #ok{padding:100px 0;font-size:1.167em;font-weight:bold;line-height:2em;} #error a, #ok a{background:inherit;color:#000;font-size:0.786em;font-weight:bold;} #error{background:inherit;color:red;} #ok{background:inherit;color:#5d81bd;}