webForumDet fria alternativet

div taggar syns inte i Firefox och Opera

HTML & CSS

1 svar · 671 visningar · startad av stavve

Medlem sedan sep. 200774 inlägg
Frågan#1

Blir knäpp va kan vara fel med mina div taggar och Css?
här under följer koden: funkar utmärkti explorer men inte i firefox och opera.
CSS'en
------------------------------------------------------------------
body {
font:normal 100% georgia,helvetica,verdana,tahoma,arial,"sans serif";
}

.dialog {
width:100%;
margin:0px auto;
min-width:20em;
color:#fff;
}

.dialog .hd .c,
.dialog .ft .c {
font-size:1px; /* ensure minimum height */
height:11px;
}

.dialog .ft .c {
height:14px;
}

.dialog .hd {
background:transparent url(file:///C:\Inetpub\wwwroot\wfmdotnet\GRAPHICS\box\tl.gif) no-repeat 0px 0px;
}

.dialog .hd .c {
background:transparent url(file:///C:\Inetpub\wwwroot\wfmdotnet\GRAPHICS\box\tr.gif) no-repeat right 0px;
}

.dialog .bd {
background:transparent url(file:///C:\Inetpub\wwwroot\wfmdotnet\GRAPHICS\box\ml.gif) repeat-y 0px 0px;
}

.dialog .bd .c {
background:transparent url(file:///C:\Inetpub\wwwroot\wfmdotnet\GRAPHICS\box\mr.gif) repeat-y right 0px;
}

.dialog .bd .c .s {
margin:0px 8px 0px 4px;
background:#000 url(file:///C:\Inetpub\wwwroot\wfmdotnet\GRAPHICS\box\ms.jpg) repeat-x 0px 0px;
padding:1em;
}

.dialog .ft {
background:transparent url(file:///C:\Inetpub\wwwroot\wfmdotnet\GRAPHICS\box\bl.gif) no-repeat 0px 0px;
}

.dialog .ft .c {
background:transparent url(file:///C:\Inetpub\wwwroot\wfmdotnet\GRAPHICS\box\br.gif) no-repeat right 0px;
}

/* content-specific */

.dialog h1 {
/* header */
font-size:2em;
margin:0px;
padding:0px;
margin-top:-0.6em;
}

.dialog p {
margin:0.5em 0px 0px 0px;
padding:0px;
font:0.95em/1.5em arial,tahoma,"sans serif";
}

html>body .dialog pre {
font-size:1.1em;
}
------------------------------------------------------------------------
div taggarna
<div>

<div class="dialog">
<div class="hd"><div class="c"></div></div>
<div class="bd">
<div class="c">
<div class="s">

\<!-- content area --\>

sdfsdffsd<br>
sdfsdffsd<br>
sdfsdffsd<br>
sdfsdffsd<br>
sdfsdffsd<br>
sdfsdffsd<br>

\<!-- content area --\>

</div>
</div>
</div>
<div class="ft"><div class="c"></div></div>
</div>

</div>

Medlem sedan feb. 2007278 inlägg
#2

Och vad borde vi se? Vad sägs om en url så vi kan testa din sida på riktigt (med bakgrundsbilder som inte har en sökväg till din hprddisk!)

268 ms totalt · 4 externa anrop · v20260731065814-full.e96017d9
137 ms — deklarationer (db)
0 ms — hämta statistik (cache)
127 ms — hämta tråd, inlägg och bilagor (db)
138 ms — ändringar (db)