Gå til innhold

Midstille siden min?


Anbefalte innlegg

hei, jeg holder på å gjøre om siden min fra tables til divs. Men jeg har et problem.

Jeg får ikke til å midstille siden. Er det en kode som gjør dette? Kan noe poste den?

Her er min kode:

Klikk for å se/fjerne innholdet nedenfor
<!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>nicepink</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<!-- ImageReady Styles (nicepink.psd) -->

<style type="text/css">

<!--

 

body {

 

 

}

#Table_01 {

top:0px;

width:697px;

height:650px;

}

 

#index-01_ {

position:absolute;

left:0px;

top:0px;

width:697px;

height:51px;

}

 

#index-02_ {

position:absolute;

left:0px;

top:51px;

width:500px;

height:147px;

}

 

#index-03_ {

position:absolute;

left:500px;

top:51px;

width:191px;

height:147px;

}

 

#index-04_ {

position:absolute;

left:691px;

top:51px;

width:6px;

height:147px;

}

 

#index-05_ {

position:absolute;

left:0px;

top:198px;

width:697px;

height:7px;

}

 

#index-06_ {

position:absolute;

left:0px;

top:205px;

width:12px;

height:424px;

}

 

#index-07_ {

position:absolute;

left:12px;

top:205px;

width:473px;

height:424px;

}

 

#index-08_ {

position:absolute;

left:485px;

top:205px;

width:15px;

height:424px;

}

 

#index-09_ {

position:absolute;

left:500px;

top:205px;

width:191px;

height:424px;

}

 

#index-10_ {

position:absolute;

left:691px;

top:205px;

width:6px;

height:424px;

}

 

#index-11_ {

position:absolute;

left:0px;

top:629px;

width:697px;

height:14px;

}

 

#index-12_ {

position:absolute;

left:0px;

top:643px;

width:697px;

height:7px;

}

 

-->

</style>

<!-- End ImageReady Styles -->

</head>

<body style="background-color:#FFFFFF;">

<div align="right">

<!-- ImageReady Slices (nicepink.psd) -->

</div>

<div id="Table_01">

<div id="index-01_">

<div align="center"><img id="index_01" src="images/index_01.gif" width="697" height="51" alt="" />

</div>

</div>

<div id="index-02_">

<div align="center"><img id="index_02" src="images/index_02.gif" width="500" height="147" alt="" />

</div>

</div>

<div id="index-03_">

<div align="center"><img id="index_03" src="images/index_03.gif" width="191" height="147" alt="" />

</div>

</div>

<div id="index-04_">

<div align="center"><img id="index_04" src="images/index_04.gif" width="6" height="147" alt="" />

</div>

</div>

<div id="index-05_">

<div align="center"><img id="index_05" src="images/index_05.gif" width="697" height="7" alt="" />

</div>

</div>

<div id="index-06_">

<div align="center"><img id="index_06" src="images/index_06.gif" width="12" height="424" alt="" />

</div>

</div>

<div id="index-07_">

<div align="center"><img id="index_07" src="images/index_07.gif" width="473" height="424" alt="" />

</div>

</div>

<div id="index-08_">

<div align="center"><img id="index_08" src="images/index_08.gif" width="15" height="424" alt="" />

</div>

</div>

<div id="index-09_">

<div align="center"><img id="index_09" src="images/index_09.gif" width="191" height="424" alt="" />

</div>

</div>

<div id="index-10_">

<div align="center"><img id="index_10" src="images/index_10.gif" width="6" height="424" alt="" />

</div>

</div>

<div id="index-11_">

<div align="center"><img id="index_11" src="images/index_11.gif" width="697" height="14" alt="" />

</div>

</div>

<div id="index-12_">

<div align="center"><img id="index_12" src="images/index_12.gif" width="697" height="7" alt="" />

</div>

</div>

</div>

 

<p align="right"> </p>

<p align="right"> </p>

<p align="right">  </p>

</body>

</html>

Lenke til kommentar
Videoannonse
Annonse

Posten til Mr.Berge vil hjelpe deg i ditt problem.

 

Bare sonn at det er sakt, så bruker du unødvendig mange divs. Du kan jo bruke flere andre ting som, <p> <span>

kan ikke kjønne at du trenger så mange bilder heller... Er det noen av bildene som bare er en farge, så andbefaler jeg å bare bruke en background: # farge;

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...