Themecreator Skrevet 19. september 2009 Del Skrevet 19. september 2009 Hei Jeg tenkte å lage en outline til standard sider og har i prinsippet laget alt, men kom over et problem... kanskje lettere å vise med et bilde... har ikke peiling på hvorfor det ikke funker... Det verste er at hele greia funker i IE. Pleier å være omvendt. Har prøvd det meste. Hadde vært greit om noen kunne hjelpe meg ^^ Her er scripten også... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Beta</title> <style type="text/css"> .divbody { min-height:600px; width: 1000px; margin-top: 10px; margin-right: auto; margin-bottom: 10px; margin-left: auto; border: 1px solid black; } .divleft { margin: 10px; padding: 10px; float: left; min-height: 500px; width: 700px; border: 1px solid black; } .divlogo { float: left; height: 200px; width: 1000px; border: 1px solid black; } .divnav { float: left; height: 50px; width: 1000px; border: 1px solid black; } .divright { margin-right: 10px; margin-top:10px; margin-bottom:10px; padding: 10px; float: right; height: 500px; width: 225px; border: 1px solid black; } .divfoot { float: left; height: 40px; width: 980px; margin-left: 10px; margin-right:10px; margin-bottom:10px; border: 1px solid black; } </style> </head> <body> <div class="divbody"> <div class="divlogo"></div> <div class="divnav"></div> <div class="divleft">.......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... .......................................................................... </div> <div class="divright"></div> <div class="divfoot"></div> </div> </body> </html> Lenke til kommentar
Frigg33 Skrevet 21. september 2009 Del Skrevet 21. september 2009 (endret) prøv å sett denne overflowen inn i divbody tagen .divbody { overflow: hidden; } Funka det? Endret 21. september 2009 av Oxaren Lenke til kommentar
Themecreator Skrevet 21. september 2009 Forfatter Del Skrevet 21. september 2009 yay det funka faktisk! ikke dårlig! Nå funker siden både i firefox og i internett explorer! Det er sjeldent sidene mine gjør ^^, Hva gjør egentlig taggen? Lenke til kommentar
Frigg33 Skrevet 21. september 2009 Del Skrevet 21. september 2009 (endret) Hva W3Schools sier om overflow: http://www.w3schools.com/Css/pr_pos_overflow.asp Den sier hva som skal skje hvis innholdet "flyter over" boksen Endret 21. september 2009 av Oxaren Lenke til kommentar
Anbefalte innlegg
Opprett en konto eller logg inn for å kommentere
Du må være et medlem for å kunne skrive en kommentar
Opprett konto
Det er enkelt å melde seg inn for å starte en ny konto!
Start en kontoLogg inn
Har du allerede en konto? Logg inn her.
Logg inn nå