Jump to content
  • 0

table to div ... help please


wmaster
 Share

Question

Zdrastvuite. Vot takaya dilema. pitaiusi iz table sdelati div ... vot shto u menea poluchilosi ... no pomoemu nemnoshko krivo ... stranitsa rezinovaya .. hociu rezulitat kak na kartinke ... toliko shtob vseo bilo virovneno (text pod img)

screen.jpg

<div id="gallery1">
<div id='d'>
<div id="avatar1"><img src="images/av1.jpg" /></div>
<div><a href="#">WMaster</a></div>
</div>
<div id='d'>
<div id="avatar1"><img src="images/av1.jpg" /></div>
<div><a href="#">WMaster</a></div>
</div>
<div id='d'>
<div id="avatar1"><img src="images/av1.jpg" /></div>
<div><a href="#">WMaster</a></div>
</div>
<div id='d'>
<div id="avatar1"><img src="images/av1.jpg" /></div>
<div><a href="#">WMaster</a></div>
</div>
<div id='d'>
<div id="avatar1"><img src="images/av1.jpg" /></div>
<div><a href="#">WMaster</a></div>
</div>
</div>

#d{
display: table-cell;
padding-left:4%;
padding-right:4%;
}
#avatar1 {
border-color:#7F7F7F;
border-style:double;
border-width: medium;
width:54px;
height : 54px;

}
#gallery1{
background-position:center;
text-align:center;

}

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy