Jump to content
  • 0

pomoc Nespojitosť


ali007

Dotaz

Ahoj , robim si svoj prvy web a mam problem snažim sa spraviť miesto na novinky ale tie obrazky su rozseknute teda aspoň v google chrome , opere, Firefoxe.. v IE to je normal neviem čim to je .. tu je link ak chcete vidieť ako to vyzera http://wow.inferos.eu/

 

CSS:

 

.new_top                  {
                         height: 56px;
                         width: 600px;
                         background-repeat: no-repeat;
                         background-image: url(img/news/top.png);
                          margin-left: -7px;                         
                         position: relative;
                         }

.new_body                 {
                         width: 600px;
                         background-image: url(img/news/middle.png);
                         margin-left: -7px;
                         position: relative;
                         }


.new_bottom               {
                         height: 51px;
                         width: 600px;
                         background-repeat: no-repeat;
                         background-image: url(img/news/bottom.png);
                         margin-left: -7px;
                         position: relative;
                         margin-bottom: 5px;
                         } 

Link to comment
Share on other sites

13 odpovědí na tuto otázku

Recommended Posts

  • 0
.new_top                  {
                         height: 56px;
                         width: 600px;
                         background-repeat: no-repeat;
                         background-image: url(img/news/top.png);
                          margin-left: -7px;                         
                         position: relative;
                         top: 16px;
                         }

.new_body                 {
                         width: 600px;
                         background-image: url(img/news/middle.png);
                         margin-left: -7px;
                         position: relative;
                         }


.new_bottom               {
                         height: 51px;
                         width: 600px;
                         background-repeat: no-repeat;
                         background-image: url(img/news/bottom.png);
                         margin-left: -7px;
                         position: relative;
                         bottom: 16px;
                         margin-bottom: 5px;
                         }

Link to comment
Share on other sites

  • 0

Dotaz... Proč to neuděláš jen na 1 kus? Nebo max. na 2? Proč to děláš na 3??

 

.new_top                  {
                         height: 56px;
                         width: 600px;
                         background-repeat: no-repeat;
                         background-image: url(img/news/top.png);
                          margin-left: -7px;                         

                         }

.new_body                 {
                         width: 600px;
                         background-image: url(img/news/middle.png);
                         margin-left: -7px;
                         padding-bottom: 2px;
                         padding-top: 5px;
                         height: 50px;
                         }


.new_bottom               {
                         height: 51px;
                         width: 600px;
                         background-repeat: no-repeat;
                         background-image: url(img/news/bottom.png);
                         margin-left: -7px;

                         margin-bottom: 5px;
                         }

Link to comment
Share on other sites

  • 0
dal som to na 3 chcel som aby sa veľkosť novinky nastavila podľa textu ...

Lepší by bylo, kdyby si v css3 udělal v té barvě přechod a bylo by to.. Jinak já už ti s tímto nepomůžu, ale asi se mi to zdá, ale vypadá to, jako když ty obrázky do sebe nezapadají a nikdy nezapadali, ale asi to vidím jen já.

Link to comment
Share on other sites

  • 0

no ako tie obrazky .. to je pravda.. to ešte by som upravil .. hlavne ide o to zobrazovanie .. v IE aj napr. v PSpade to ukazuje normal ale v inych ne...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...