Jump to content
php.lv forumi

bildes novietojums


_siikais_

Recommended Posts

Sveiki..

Taatad, saskaaros ar probleemu veidojot template...

luuk css

<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #000000;
background-image:  url(images/bg9.png);
background-repeat:repeat-x

}
div.posAbsoluteLogin {
color: white;
position: absolute;
top: 150px; 
left: 700px; 
z-index: 2
}
div.posAbsoluteImg {
position: absolute;
top: 650px;
left: 700px;
z-index:-1
}
-->
</style>

 

<div class="posAbsoluteImg" style="">
<img src="images/sm.png">
</div>
<table width=1024x>
<tr>
<td background="images/tr.png">
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
</td>
</tr>

</table>

 

Taatad vajadziiba buutu dabuut to sm bildi div.posAbsoluteImg zem

<td background="images/tr.png">
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
	<br>
</td>

bet virs body backgrounda, jo dotajaa situaacijaa vinjsh to bildi pamet arii zem body background...

Link to comment
Share on other sites

+/- atrisinajau ar bildes novietoshanu, tikai vai shis ir labaakais variants?

Jo sanaak ka vissam saakuma table tagad arii jaanoraada atrashanaas vieta, kautgan bija veelme viju dabuut centreeti..

 

<table width=1024 style="z-index:1;position:absolute; top: 550px;left: 100px;">

Link to comment
Share on other sites

Es nez kaa tev tur iisti vajag, dizainiski un taa, bet tad tu vari <tabli> likt ieksh <div>, un div pieshkjirt bg un to bg nopozicioneet, like:

 

<div style="background:url(blume.gif) left bottom no-repeat">

<table>

..

</table>

</div>

 

..un tad tev buus tas div bg zem table, bet virs body bg.

Link to comment
Share on other sites

×
×
  • Create New...