Jump to content
  • 0

Блок для вывода новости


badGamer
 Share

Question

7 answers to this question

Recommended Posts

  • 0

Вышло как-то так...

<div style="background:#000000 url(images/block_.gif) no-repeat top; height:19px; width:530px; line-height:19px;">Заголовок</div>
<div style="background:#FFFF00; padding:0px 1px 0px 1px;width:528px;"><div style="background:#000000; padding:0px 1px 0px 1px;"><div style="background:#FFFFFF;">
111


111
</div></div></div>
<div style="background:#000000 url(images/block__.gif) no-repeat top; height:20px; width:530px; line-height:19px; text-align:right;"><span style="width:15px; position:relative; right:22px; font-size:12px; color:#FFFF00;">Дата</span></div>

block_.gif:

1cc9f2c9691d.gif

block__.gif:

af34c9e57dc3.gif

Но как-то сильно неуниверсально, т.к. ширина блока зависит от строго заданной ширины картинок. По-другому у меня как-то туго выходит...

Link to comment
Share on other sites

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