Spelrum
Giraffen40
Krokodilen0
Elefanten0
Musen
Böjningslistan
0
Grisen
Böjningslistan
31
Inloggade71
Mobilspel
Pågående19 277

Forumkategorier

Användare Inlägg  
Ässät2009-03-07 18:28
Antal inlägg: 4824

Header syns inte i Explorer!
Jag har en blogg och jag har en bild som header och nu har jag märkt till min förtvivlan att den syns inte i Explorer! Nån htmlkunnig som kan säga vad som är fel och hur jag skulle kunna fixa till det?
 
DennisPlz2009-03-07 18:30
Antal inlägg: 4031

Lägg till denna text: "Denna sida ser bäst ut i alla webbläsare UTOM Internet Explorer"
 
Ässät2009-03-07 18:35
Antal inlägg: 4824

Mäh *s* ja vill ju att headern ska synas även för dom som har explorer. Jag upptäckte det igår när ja va hos en kompis som har explorer..jag har Firefox
 
Ordgrumlaren - Ej medlem längre2009-03-07 19:12
Antal inlägg: 59

Hur stor andel av dina besökare använder Internet Explorer?
 
Ässät2009-03-07 19:14
Antal inlägg: 4824

Jag vet inte alla som läser den men ja vet några iallafall som har explorer så ja vill helst att headern ska synas för alla webläsare
 
Pseudonymf2009-03-07 21:51
Antal inlägg: 8282

Hm, lät skumt... Den borde väl synas?!
Vad har du för blogg?
 
kajix2009-03-07 22:39
Antal inlägg: 7767

www.webcredible.co.u...or er.shtml

"3. Disappearing background images

IE has a very freaky bug where it likes to make background images (and sometimes even text - particularly if there are floated elements around) disappear. This often happens when you scroll up and down on a web page and you can usually make the background re-appear by refreshing the page.

Obviously you won't want your site visitors to have to refresh a page to see a background image in full! A freaky solution to this freaky problem is to insert the CSS command, position: relative into the CSS rule containing the background image:

.foo {
background: url(filename.jpg);
position: relative
}

Occasionally this won't work, so another solution is to assign a width or a height to the element with the background image. You may not want to assign a height or width, so a solution is to assign a height of 1% for Internet Explorer. Because IE interprets height as min-height (see point 2 above) this CSS rule won't affect the appearance:

.foo {
background: url(filename.jpg);
height: 1%
}
html>body .foo {
height: auto
}

The height: 1% CSS command is cancelled out by the height: auto CSS command. Internet Explorer doesn't understand html>body, so by inserting this in front of the second CSS rule this whole CSS rule is ignored by IE."


Om nu nån förstod nåt av det där...

Du måste alltså ändra i css:en. Så kanske det löser sig.
 
Candee2009-03-07 22:45
Antal inlägg: 1256

Måste nog ha hela CSS biten för att förstå det där..kan kika på det om du tillåter mig..?
 
kajix2009-03-07 23:02
Antal inlägg: 7767

Alltså:

Prova att lägga till position: relative, i filen style.css så att #header-delen ser ut så här i stället:

#header {
background: #D81C3F url(tillganglig.blogg.se. ..85546.jpg)
no-repeat right ;
padding-left: 30px;
padding-bottom:15px;
padding-top:30px;
margin: 0px;
width: 800px;
height: 70px;
position: relative
}

 
MustaVeri2009-03-07 23:21
Antal inlägg: 260

Spela roll, funkar den inte så kanske folk fattar att dom inte ska använda IE, right on!
 
Inloggning
Logga in
Betapet är gratis!
Vill du bli medlem?