Jump to content
  • 0

display: blick - для меня загадка


katrin_qq
 Share

Question

здрасте

делаю список, фоном делаю картинку, все как бы понятно, но на этапе добавления display:dlock все плывет

в IE появляются загадочные пробелы между элементами спаска

может кто знает в чем дело

спасибо заранее

вот код

_________________________________________

<html>

<head>

<link href="style.css" rel="stylesheet" type="text/css">

</head>

<body>

<div id="left">

<p>tili tili, trali-vali</p>

<ul id="menu">

<li><a href="index.html"> home</a></li>

<li><a href="index.html"> ueber uns </a></li>

<li><a href="index.html"> team </a></li>

<li><a href="index.html"> bei nottfahl</a></li>

<li><a href="index.html"> team </a></li>

<li><a href="index.html"> bei nottfahl</a></li>

</ul>

</div>

</body>

</html>

_________________________________________

body, html { margin:0px; padding:0px; text-align:left; }

#left{ background-color:#d5d7b5; width:252px; text-align:center;}

#menu { width: 252px; margin: 0px; padding: 0px; background: #d292bc; }

#menu li a {display: block; background-image : url(bild0.jpg);}

_________________________________________

Link to comment
Share on other sites

4 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