/ Forside/ Teknologi / Multimedie & design / Dreamweaver / Spørgsmål
Login
Glemt dit kodeord?
Brugernavn 

Kodeord  


Reklame
Top 10 brugere
Dreamweaver
#NavnPoint
bentjuul 2364
molokyle 1030
BoJohansen 912
dk 650
ajohansen 520
jakjoe 500
netop 500
LisBJensen 345
CLAN 336
10  basil28 320
Ændring af bagrundsfarve
Fra : 2100
Vist : 1113 gange
25 point
Dato : 14-10-06 17:52

Hvordan er det lige jeg skifter bagrundsfarven for hele siden.

 
 
Kommentar
Fra : BoJohansen


Dato : 14-10-06 17:57

Modify -> Page Properties -> Background Color

eller indsætte :

body {
   background-color: #999999;
}

Kommentar
Fra : 2100


Dato : 14-10-06 18:03

Hej Bo
Det har jeg prøvet og det ændrer ikke farven til den jeg ønsker.
Vil lige gøre opmærksom på at siden er lavet med CMS og PHP

Hele sidens bagrund er sort på websiden og det vil jeg gerne havde lavet om til hvidt.

Kommentar
Fra : BoJohansen


Dato : 14-10-06 18:06

Så må du kigge i dit CMS settings panel, der må være en indstilling for det der.........

Kommentar
Fra : 2100


Dato : 14-10-06 18:12

Ved ikke lige hvor i CMS.
Men som du kan se her på kandu siden er den "lysegrå" bagrund, det er dette jeg mener og vil ændre til hvid.

Kommentar
Fra : BoJohansen


Dato : 14-10-06 18:19

Det er ganske vanskeligt for mig at sige akkurat hvad og hvor du skal ændre noget.....jeg sidder jo ikke med dit site og dit CMS system.

Dit CMS har vel et eller andet konfigurations panel hvor du kan velge design osv. her burde muligheden for at ændre farve ligge, hvis den ikke er fastsat for det design du nu bruger.

Kommentar
Fra : miritdk


Dato : 14-10-06 18:26

#FFFFFF er hvid

Kommentar
Fra : BoJohansen


Dato : 14-10-06 18:31

Quote
#FFFFFF er hvid
/Quote

Ja da, det ved jeg da godt *LOL* den kode jeg lagde her var bare et eksempel......

Kommentar
Fra : e.c


Dato : 14-10-06 19:57

Det kan være du kan bruge noget af det her.
http://www.hirsenet.dk/gulside.htm
Du kan gøre med den hvad du vil.

Siden tages ned om et par dage igen.

Kommentar
Fra : 2100


Dato : 14-10-06 20:16

Her er kildekode fra min webside, kan ikke se background-color nogen steder.

<?xml version="1.0" encoding="iso-8859-1"?><?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Joomla - HJEM</title>
<meta name="description" content="Joomla - the dynamic portal engine and content management system" />
<meta name="keywords" content="joomla" />
<meta name="Generator" content="Joomla! - Copyright (C) 2005 Open Source Matters. All rights reserved." />
<meta name="robots" content="index, follow" />
   <link rel="shortcut icon" href="http://localhost/images/favicon.ico" />
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="http://localhost/templates/master_green/css/template_css.css" type="text/css"/><link rel="shortcut icon" href="http://localhost/images/favicon.ico" /></head>
<body class="page_bg">
<br />
<table width="760" height="155" border="0" align="center" cellpadding="0" cellspacing="0" class="header">
<tr>
<td valign="top">
<table width="97%" height="30" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="742" valign="middle" class="search">
<form action="index.php" method="post">
<div align="left">
<input class="inputbox" type="text" name="searchword" size="20" value="search..." onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';" />
<input type="hidden" name="option" value="search" />
</div>
</form></td>
<td width="742" align="right" valign="middle" class="search">
      <div class="module">
         <div>
            <div>
               <div>
                  <ul id="mainlevel-nav"><li><a href="http://localhost/index.php" class="mainlevel-nav" >Home</a></li><li><a href="http://localhost/index.php?option=com_contact&Itemid=3" class="mainlevel-nav" >Kontakt</a></li></ul>               </div>
            </div>
         </div>
      </div>
       </td>
</tr>
</table>
</td>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="10" cellspacing="0" class="content">
<tr>
<td><table width="740" border="0" cellspacing="0" cellpadding="0" class="contenttable">
<tr>
<td><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<span class="pathway">HJEM </span> </td>
<td align="right">
Saturday, 14 October 2006 </td>
</tr>
</table></td>
</tr>
</table>
<br />
<table width="740" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top">
<table width="180" border="0" cellspacing="0" cellpadding="0" class="contenttable">
<tr>
<td valign="top">
      <table cellpadding="0" cellspacing="0" class="moduletable">
               <tr>
            <th valign="top">
               Main Menu            </th>
         </tr>
               <tr>
         <td>
            
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr align="left"><td><a href="http://localhost/index.php?option=com_frontpage&Itemid=1" class="mainlevel" id="active_menu">HJEM</a></td></tr>
<tr align="left"><td><a href="http://localhost/index.php?option=com_contact&Itemid=3" class="mainlevel" >KONTAKT</a></td></tr>
<tr align="left"><td><a href="http://localhost/index.php?option=com_akobook&Itemid=27" class="mainlevel" >GÆSTEBOG</a></td></tr>
<tr align="left"><td><a href="http://localhost/index.php?option=com_content&task=category&sectionid=1&id=1&Itemid=69" class="mainlevel" >sh</a></td></tr>
</table>         </td>
      </tr>
      </table>
            <table cellpadding="0" cellspacing="0" class="moduletable">
            <tr>
         <td>
            <a href="shop/index.php" target="_blank"><div style="text-align: center"><img src="images/stories/dss.gif" alt=" " width="125" height="50" /></div></a>         </td>
      </tr>
      </table>
            <table cellpadding="0" cellspacing="0" class="moduletable">
            <tr>
         <td>
                     </td>
      </tr>
      </table>
       </td>
</tr>
</table>
</td>
<td align="right" valign="top">
<table width="550" border="0" cellspacing="0" cellpadding="0" class="contenttable">
<tr>
<td valign="top">
There are no items to display </td>
</tr>
</table>
</td>
</tr>
</table></td>
</tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0" class="footer">
<tr>
<td><img src="http://localhost/templates/master_green/images/footer.jpg" width="760" height="13" border="0" usemap="#Map" /></td>
</tr>
</table>

</body><!-- 1160840949 -->

Kommentar
Fra : BoJohansen


Dato : 14-10-06 20:21

Den er sikkert defineret i css filen
/templates/master_green/css/template_css.css

Se evt efter "page_bg"

Kommentar
Fra : 2100


Dato : 14-10-06 20:26

Hej Bo

Hvilken skal rettes.

/**
design by masterhomepage.ch 2006
the link to us "design by masterhomepage" must remain unchanged!
Der Link "design by masterhomepage" darf nicht entfernt werden!
*/

body {
   margin: 0px 0px 0px 0px;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 11px;
   color: #FFFFFF;
   background: #232323;
   SCROLLBAR-FACE-COLOR: #000000;
SCROLLBAR-HIGHLIGHT-COLOR: #ffffff;
SCROLLBAR-SHADOW-COLOR: #ffffff;
SCROLLBAR-3DLIGHT-COLOR: #000000;
SCROLLBAR-ARROW-COLOR: #ffffff;
SCROLLBAR-TRACK-COLOR: #000000;
SCROLLBAR-DARKSHADOW-COLOR: #000000;
}
.sitename {
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 14pt;
   color: #47C01B;
   font-weight: bolder;
   text-align: left;
   padding: 15px;
   margin-bottom: 32px;
   width: 555px;
}
h1{
   font-size: 14px;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   color: #FFFFFF;
   padding: 2px;
   width: 100%;
}

h2{
   font-size: 12px;
   font-weight: bold;
   margin-bottom: 3px;
   font-family: Verdana, Arial, Helvetica, sans-serif;
   padding-top: 0px;
   padding-bottom: 2px;
   margin-top: 0px;
}


.date{
   font-size: 10px;
   color: #6C3C00;
   float: right;
   padding: 7px 3px 2px 0px;
}

.header {
   background-image: url(../images/header.jpg);
   height: 155px;
   width: 760px;
   padding: 0px;
}
.content {
   background-image: url(../images/bgcontent.jpg);
   width: 760px;
}
.contenttable {
      border: 1px solid;
   border-color: #666666;
   background-color: #232323;
   padding:5px;
}
.banner{
   float: right;
   margin-top: 20px;
   margin-right: 2px;
   background-color: #D2B400;
   border: 1px solid #A28A00;
   height: 64px;
   width: 472px;
}

.user1{
   margin: 0px 2px 2px 0px;
   padding: 2px;
}

.user2{
   margin: 0px 0px 2px 2px;
   padding: 2px;
}

.menu { background-color: #232323; padding: 5px; width: 160px; border: solid 4px #c6f }
.page_bg {
   background-image: url(../images/bg.jpg);
   margin: 0px;
   border: 0px;
}
.menuright { background-color: #232323; padding: 5px; width: 160px; border: solid 4px #c6f }
.main { font-weight: normal; background-color: #232323; text-align: left; padding: 5px; width: 590px; float: left; border: solid 4px #c6f }

.footer {
   background-image: url(../images/footer.jpg);
   background-repeat: no-repeat;
   background-position: top;
   margin-top: 5px 0px 0px 0px;
   padding: 5px;
   text-align: center;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 10px;
   color: #333333;
   width: 760px;
   height: 13px;
}
.copy {
   margin-top: 5px;
   padding: 1px;
   text-align: center;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 9px;
}

ul#mainlevel-nav
{
   list-style: none;
   padding: 0;
   margin: 0;
   font-size: 11px;
}

ul#mainlevel-nav li
{
   background-image: none;
   padding-left: 0px;
   padding-right: 0px;
   float: right;
   margin: 0;
   font-size: 11px;
   line-height: 21px;
   white-space: nowrap;
   border-left: 1px solid #333333;
}

ul#mainlevel-nav li a
{ color: #c6f; text-decoration: none; background: transparent; display: block; padding-right: 10px; padding-left: 10px }

#buttons>ul#mainlevel-nav li a { width: auto; }

   ul#mainlevel-nav li a:hover
{
   color: #fff;
}

table.content_table {
width: 100%;
   padding: 0px;
   margin: 0px;
}

table.content_table td {
   padding: 0px;
   margin: 0px;
   width: 100%;
}

.back_button { font-size: 11px; font-weight: bold; line-height: 20px; background: #232323; text-align: center; margin: 1px; padding: 0 10px; width: auto; float: right; border: solid 1px #c6f }

.pagenav { color: #c6f; font-size: 10px; font-weight: bold; line-height: 20px; text-align: center; margin: 1px; padding: 0 10px; width: auto; border: solid 1px }

.pagenavbar {
   margin-right: 10px;
}

ul {
   margin: 0;
   padding: 0;
   list-style: none;
}

li{
   line-height: 15px;
   padding-left: 15px;
   padding-top: 0px;
}


td {
   font-size: 11px;
}

a:link, a:visited { color: #c6f; font-size: 10px; font-weight: bold; text-decoration: none }

a:hover {
   color: #FFFFFF;   text-decoration: none;
   font-weight: bold;
}

table.contentpaneopen {
width: 100%;
}

table.contentpaneopen td {

}

table.contentpaneopen td.componentheading {
width: 100%;
}
table.contentpane {

}

table.contentpane td {

}

table.contentpane td.componentheading {
width: 100%;
}

table.contentpaneopen fieldset { border-style: none none solid; border-width: 0 0 1px; border-color: #c6f }

.button { color: #c6f; font-size: 10px; font-family: Arial, Hevlvetica, sans-serif; font-weight: bold; line-height: 16px !important; background-color: #232323; text-align: center; margin: 1px; padding: 2px; height: 24px !important; border: solid 1px }

.inputbox {
   padding: 2px;
   color: #FFFFFF;
   border: 1px solid;
   border-color: #333333;
   background-color: #232323;
}

.componentheading { color: #c6f; font-size: 13px; font-weight: bold; padding: 0 0 0 10px; height: 20px; border-bottom: 1px solid }

.contentcolumn {
   padding-right: 5px;
}

.contentheading { font-size: 13px; font-weight: bold; padding: 0 0 0 4px; height: 20px; border-top: #c6f; border-right: #c6f; border-bottom: 1px solid #c6f; border-left: #c6f }

.contentpagetitle {
   font-size: 13px;
   font-weight: bold;
   color: #cccccc;
   text-align:left;
}

table.searchinto {
   width: 100%;
}

table.searchintro td {
   font-weight: bold;
}

table.moduletable {
   width: 100%;
   margin-bottom: 5px;
   padding: 0px;
}

div.moduletable {
   padding: 0;
   margin-bottom: 2px;
   width: 100%;
}

table.moduletable th, div.moduletable h3 { font-size: 10px; font-weight: bold; line-height: 21px; text-align: left; text-transform: uppercase; margin: 0 0 2px; padding-left: 4px; height: 21px; border-top: #c6f; border-right: #c6f; border-bottom: 1px solid #c6f; border-left: #c6f }

table.moduletable td {
   font-size: 10px;
   padding: 0px;
   margin: 0px;
   font-weight: normal;
}

table.pollstableborder td {
padding: 2px;
background-color: transparent;
}

.sectiontableheader {
font-weight: bold;
background: #232323;
padding: 4px;
}

.sectiontablefooter {

}

.sectiontableentry1 {
   background-color : #232323;
}

.sectiontableentry2 {
   background-color: #232323;
}

.small {
   color: #FFFFFF;
   font-size: 9px;
}

.createdate {
   height: 15px;
   padding-bottom: 9px;
   color: #FFFFFF;
   font-size: 9px;
}

.modifydate {
   height: 15px;
   padding-top: 9px;
   color: #FFFFFF;
   font-size: 9px;
}

table.contenttoc { margin-bottom: 2px; margin-left: 2px; padding: 2px; border: solid 1px #c6f }

table.contenttoc td {
padding: 2px;
}

table.contenttoc th { font-size: 10px; font-weight: bold; text-align: left; text-transform: uppercase; padding-top: 2px; padding-left: 4px; height: 21px; border-top: #c6f; border-right: #c6f; border-bottom: 1px solid #c6f; border-left: #c6f }

a.mainlevel:link, a.mainlevel:visited { color: #c6f; font-size: 11px; font-weight: bold; line-height: 15px; text-decoration: none; text-align: left; display: block; padding-top: 4px; padding-left: 4px }

a.mainlevel:hover {
   text-decoration: none;
   color: #FFFFFF;
}

a.mainlevel#active_menu {
   color: #FFFFFF;
   font-weight: bold;
}

a.mainlevel#active_menu:hover {
   color: #FFFFFF;
}

a.sublevel:link, a.sublevel:visited { color: #efbffd; font-size: 11px; font-weight: bold; text-align: left; padding-left: 15px; height: 15px; vertical-align: top }

a.sublevel:hover {
   color: #900;
   text-decoration: none;
}

a.sublevel#active_menu {
   color: #333;
   text-decoration: bold;
}

.highlight {
   background-color: Yellow;
   color: Blue;
   padding: 0;
}
.code {
   background-color: #ddd;
   border: 1px solid #bbb;
}

form {
   margin: 0;
   padding: 0;
}

div.mosimage {
border: 1px solid #CCCCCC;
}

.mosimage {
border: 1px solid #CCCCCC;
margin: 5px
}

.mosimage_caption {
margin-top: 2px;
background: #efefef;
padding: 1px 2px;
color: #666;
text-transform: normal;
font-size: 10px;
border-top: 1px solid #cccccc;
}

Kommentar
Fra : BoJohansen


Dato : 14-10-06 20:35

Denne linie

body {
............
background: #232323;
...........
}

Og så er der et baggrundsbillede også
Ved ikke om det kommer til at forstyrre nu hvor du skifter farven

.page_bg {
background-image: url(../images/bg.jpg);
margin: 0px;
border: 0px;
}



Kommentar
Fra : 2100


Dato : 14-10-06 20:41

Den ændrer desværre ikke noget, ved at skifte #000000

Kommentar
Fra : 2100


Dato : 14-10-06 20:42

Mente "FFFFFF

Accepteret svar
Fra : BoJohansen

Modtaget 25 point
Dato : 14-10-06 20:50

Jo den gør

Sikkert bare din browser som har den i cache.

Hold CTRL+Shift og så reload siden

Kommentar
Fra : 2100


Dato : 14-10-06 20:55

Har prøvet, måske er det en sort bagrundsbillede, den som du omtaler. .page_bg {
background-image: url(../images/bg.jpg);
margin: 0px;
border: 0px;
}

Vil lige prøve at slette den.

Godkendelse af svar
Fra : 2100


Dato : 14-10-06 21:01

Tak for svaret BoJohansen.

Kommentar
Fra : BoJohansen


Dato : 14-10-06 21:06

Værsegod

Du har følgende muligheder
Eftersom du ikke er logget ind i systemet, kan du ikke skrive et indlæg til dette spørgsmål.

Hvis du ikke allerede er registreret, kan du gratis blive medlem, ved at trykke på "Bliv medlem" ude i menuen.
Søg
Reklame
Statistik
Spørgsmål : 177409
Tips : 31962
Nyheder : 719565
Indlæg : 6407771
Brugere : 218874

Månedens bedste
Årets bedste
Sidste års bedste