Ben op zoek om het volgende voor elkaar te krijgen;mijn dilber theme minder breed maken ....Ikzag in andre post dat de css.php aangepast dient te worden maar in dilber is dit de css file
Lainaa/* Dilber Theme*/
.maindiv
{
margin-top: 0px;
margin-right: auto;
margin-left: auto;
}
.mainpage
{
padding-top:25px;
}
.topbar
{
margin: 0px;
}
.topbar2
{
margin: 0px;
}
.menubar
{
width: 100%;
height: 30px;
}
.menubg , tr.menubg td
{
margin: 0px;
font-size: 80%;
font-weight:bold;
text-transform: uppercase;
}
.menubg2 , tr.menubg2 td
{
margin: 0px;
font-size: 80%;
font-weight:bold;
text-transform: uppercase;
}
.menubg a:link, .menubg a:visited , .menubg2 a:link, .menubg2 a:visited
{
text-decoration: none;
}
.menubg a:hover, .menubg2 a:hover
{
text-decoration: none;
}
.memberbardiv
{
width: 93%;
padding: 10px 0px 10px 0px;
margin-left:auto;
margin-right: auto;
}
.memberbardivbottom
{
height: 15px;
}
.memberbar, tr.memberbar td
{
}
.memberbar a:link, .memberbar a:visited
{
text-decoration: none;
}
.memberbar a:hover
{
}
/* Normal, standard links. */
a:link
{
text-decoration: none;
}
a:visited
{
text-decoration: none;
}
a:hover
{
text-decoration: underline;
}
/* Navigation links - for the link tree. */
.nav, .nav:link, .nav:visited
{
text-decoration: none;
}
a.nav:hover
{
text-decoration: underline;
}
/* Tables should show empty cells. */
table
{
empty-cells: show;
}
/* By default (td, body..) use verdana in black. */
body, td, th , tr
{
font-size: small;
font-family: verdana, sans-serif;
}
/* The main body of the entire forum. */
body
{
margin: 0px;
padding: 0px;
}
/* Input boxes - just a bit smaller than normal so they align well. */
input, textarea, button
{
font-family: verdana, sans-serif;
}
input, button
{
font-size: 90%;
}
textarea
{
font-size: 100%;
font-family: verdana, sans-serif;
}
/* All input elements that are checkboxes or radio buttons. */
input.check
{
}
/* Selects are a bit smaller, because it makes them look even better 8). */
select
{
font-size: 90%;
font-weight: normal;
font-family: verdana, sans-serif;
}
/* Standard horizontal rule.. (
, etc.) */
hr, .hrcolor
{
height: 1px;
border: 0;
}
/* No image should have a border when linked */
a img{
border: 0;
}
/* A quote, perhaps from another post. */
.quote
{
margin: 1px;
padding: 1px;
font-size: x-small;
line-height: 1.4em;
}
/* A code block - maybe even PHP ;). */
.code
{
font-family: "courier new", "times new roman", monospace;
font-size: 90%;
line-height: 1.3em;
margin: 1px auto 1px auto;
padding: 1px;
width: 99%;
/* Don't wrap its contents, and show scrollbars. */
white-space: nowrap;
overflow: auto;
/* Stop after about 24 lines, and just show a scrollbar. */
max-height: 24em;
}
/* The "Quote:" and "Code:" header parts... */
.quoteheader, .codeheader
{
text-decoration: none;
font-style: normal;
font-weight: bold;
font-size: x-small;
line-height: 1.2em;
}
/* Generally, those [?] icons. This makes your cursor a help icon. */
.help
{
cursor: help;
}
/* /me uses this a lot. (emote, try typing /me in a post.) */
.meaction
{
}
/* The main post box - this makes it as wide as possible. */
.editor
{
width: 96%;
}
/* Highlighted text - such as search results. */
.highlight
{
font-weight: bold;
}
/* The new icon */
.newicon a:link, .newicon a:visited
{
padding: 0px 2px 0px 2px;
margin: 2px;
font-weight: bold;
font-size: 8px;
text-transform: lowercase;
}
.newicon a:hover
{
text-decoration: none;
}
/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg
{
}
.windowbg2
{
}
.windowbg3
{
}
/* the today container in calendar */
.calendar_today
{
}
/* These are used primarily for titles, but also for headers (the row that says what everything in the table is.) */
.titlebg, tr.titlebg th, tr.titlebg td, .titlebg2, tr.titlebg2 th, tr.titlebg2 td
{
font-style: normal;
padding-left: 10px;
padding-right: 10px;
background-repeat: repeat-x;
}
.titlebg, .titlebg a:link, .titlebg a:visited
{
font-weight: bold;
font-style: normal;
}
.titlebg a:hover
{
}
/* same as titlebg, but used where bold text is not needed */
.titlebg2 a:link, .titlebg2 a:visited
{
font-style: normal;
text-decoration: underline;
}
.titlebg2 a:hover
{
text-decoration: underline;
}
.titlebg3, tr.titlebg3 th, tr.titlebg3 td
{
font-style: normal;
font-size:85%;
padding-top: 3px;
padding-bottom: 3px;
border: 0px;
}
/* This is used for categories, page indexes, and several other areas in the forum.
.catbg and .catbg2 is for boardindex, while .catbg3 is for messageindex and display headers*/
.catbg , tr.catbg td , .catbg3 , tr.catbg3 td
{
padding-left: 10px;
padding-right: 10px;
}
.catbg2 , tr.catbg2 td
{
padding-left: 10px;
padding-right: 10px;
}
.catbg, .catbg2, .catbg3
{
}
.catbg, .catbg2
{
font-weight: bold;
}
.catbg3, tr.catbg3 td, .catbg3 a:link, .catbg3 a:visited
{
font-size: 90%;
text-decoration: none;
font-weight: bold;
}
.catbg a:link, .catbg a:visited , .catbg2 a:link, .catbg2 a:visited
{
text-decoration: none;
}
.catbg a:hover, .catbg2 a:hover, .catbg3 a:hover
{
}
/* This is used for tables that have a grid/border background color (such as the topic listing.) */
.bordercolor
{
padding: 0px;
}
/* This is used on tables that should just have a border around them. */
.tborder
{
padding: 1px;
}
/* Default font sizes: small (8pt), normal (10pt), and large (14pt). */
.smalltext
{
font-size: x-small;
font-family: verdana, sans-serif;
}
.middletext
{
font-size: 85%;
}
.normaltext
{
font-size: small;
}
.largetext
{
font-size: large;
}
/* Posts and personal messages displayed throughout the forum. */
.post, .personalmessage
{
width: 100%;
overflow: auto;
line-height: 1.3em;
}
/* All the signatures used in the forum. If your forum users use Mozilla, Opera, or Safari, you might add max-height here ;). */
.signature
{
width: 100%;
overflow: auto;
padding-bottom: 3px;
line-height: 1.3em;
}
/* Sometimes there will be an error when you post */
.error{
}
/* definitions for the main tab, active means the tab reflects which page is displayed */
.maintab_first, .maintab_back, .maintab_last, .maintab_active_first, .maintab_active_back, .maintab_active_last
{
background-position: left bottom;
text-transform: uppercase;
vertical-align: top;
}
.maintab_back, .maintab_active_back
{
text-decoration: none;
font-size: 9px;
vertical-align: top;
padding: 2px 6px 6px 6px;
font-family: tahoma, sans-serif;
}
.maintab_first
{
width: 10px;
background-repeat: no-repeat;
}
.maintab_back
{
background-repeat: repeat-x;
}
.maintab_last
{
width: 10px;
background-repeat: no-repeat;
}
.maintab_active_first
{
background-repeat: no-repeat;
width: 6px;
}
.maintab_active_back
{
background-repeat: repeat-x;
}
.maintab_active_last
{
width: 8px;
background-repeat: no-repeat;
}
/* how links behave in main tab. */
.maintab_back a:link , .maintab_back a:visited, .maintab_active_back a:link , .maintab_active_back a:visited
{
text-decoration: none;
}
.maintab_back a:hover, .maintab_active_back a:hover
{
text-decoration: none;
}
/* definitions for the mirror tab */
.mirrortab_first, .mirrortab_back, .mirrortab_last, .mirrortab_active_first, .mirrortab_active_back, .mirrortab_active_last
{
background-position: left top;
text-transform: uppercase;
vertical-align: top;
}
.mirrortab_back, .mirrortab_active_back
{
text-decoration: none;
font-size: 9px;
vertical-align: bottom;
padding: 6px 6px 2px 6px;
font-family: tahoma, sans-serif;
}
.mirrortab_first
{
background-repeat: no-repeat;
width: 10px;
}
.mirrortab_back
{
background-repeat: repeat-x;
}
.mirrortab_last
{
background-repeat: no-repeat;
width: 6px;
}
.mirrortab_active_first
{
background-repeat: no-repeat;
width: 6px;
}
.mirrortab_active_back
{
background-repeat: repeat-x;
}
.mirrortab_active_last
{
background-repeat: no-repeat;
width: 8px;
}
/* how links behave in mirror tab. */
.mirrortab_back a:link , .mirrortab_back a:visited, .mirrortab_active_back a:link , .mirrortab_active_back a:visited
{
text-decoration: none;
}
.mirrortab_back a:hover, .mirrortab_active_back a:hover
{
text-decoration: none;
}
.mainstrip, .mainstrip_first, .mainstrip_last
{
background-position: left bottom;
text-transform: uppercase;
text-decoration: none;
font-size: 10px;
height: 30px;
vertical-align: middle;
font-weight: bold;
font-family: tahoma, sans-serif;
}
.mainstrip_first
{
width: 10px;
padding: 0px;
}
.mainstrip_last
{
width: 10px;
padding: 0px;
}
.mainstrip
{
padding: 0px 7px 0px 7px;
}
.mainstrip a:link , .mainstrip a:visited
{
text-decoration: none;
}
.mainstrip a:hover, .mainstrip a:hover
{
text-decoration: none;
}
/* The AJAX notifier */
#ajax_in_progress
{
text-align: center;
font-weight: bold;
font-size: 16pt;
font-family: "Trebuchet MS", verdana, arial;
padding: 3px;
width: 100%;
position: fixed;
top: 0;
left: 0;
}
wat moet k waar anpassen om mijn forum niet over de gehele breedte van de pagina te hebben ?
/* Dilber Theme*/
.maindiv
{
margin-top: 0px;
margin-right: auto;
margin-left: auto;
}
speel hier eens mee right en left marges ;D
als ik hier bij right and left marges invul , wordt mijn forum op zich niet smaller maar de pagina wordt breder met als gevolg dat er horizontaal gescrold moet worden en dat was de bedoeling niet.......
de code die de burglar gaf is dacht ik om de site te centreren geef me eens de link naar je forum plz?
http://www.excelsiorhamont.be/forum/ is het forum
zoek in je style.css van dilbermc het volgende
/* The main body of the entire forum. */
body
{
margin: 0px;
padding: 0px;
}
vervang dat door dit
/* The main body of the entire forum. */
body
{
margin: 0px;
padding: 0px;
margin-left: 50px;
margin-right: 50px;
}
speel wat met left & right marges ;D
thnx dat is de oplossing