Jump to content

Site Html5 Mal func


tonelol1

Recommended Posts

bem vindo ao mundo real do web development ...

outra particulariedade do mundo real é que ninguém é adivinho, logo ninguém faz a minima ideia do que pode estar mal no que fizeste !!!

ou fazes post do teu código ou fornece um URL onde tens o teu site instalado para se poder ver o que acontece

saber o que deveria acontecer também ajuda ...

IRC : sim, é algo que ainda existe >> #p@p
Link to comment
Share on other sites

sorry

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>site teste</title>
<style type="text/css">
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
margin: 0px;
padding: 0px;
}
article {
background-color: #FFFFFF;
border: 1px solid #FFFFFF;
-webkit-border-top-left-radius:15px;
-webkit-border-top-right-radius:0px;
-webkit-border-bottom-left-radius:0px;
-webkit-border-bottom-right-radius:30px;
-moz-border-top-left-radius:15px;
-moz-border-top-right-radius:0px;
-moz-border-bottom-left-radius:0px;
-moz-border-bottom-right-radius:30px;
border-top-left-radius:15px;
border-top-right-radius:0px;
border-bottom-left-radius:0px;
border-bottom-right-radius:30px;
}
header {
padding: 10px;
height: 150px;
}
header, nav, aside, section, article, footer {
display: block;
}
nav {
line-height: 20px;
padding: 5px;
color: #FFF;
background-color: #E8E8E8;
float: left;
width: 888px;
border: 1px solid #CCC;
-webkit-border-top-left-radius:15px;
-webkit-border-top-right-radius:15px;
-webkit-border-bottom-left-radius:0px;
-webkit-border-bottom-right-radius:0px;
-moz-border-top-left-radius:15px;
-moz-border-top-right-radius:15px;
-moz-border-bottom-left-radius:0px;
-moz-border-bottom-right-radius:0px;
border-top-left-radius:15px;
border-top-right-radius:15px;
border-bottom-left-radius:0px;
border-bottom-right-radius:0px;
}
aside {
padding: 8px;
float: left;
width: 134px;
background-color: #E8E8E8;
}
section {
padding: 30px;
float: left;
width: 690px;
background-color: #E8E8E8;
}
footer {
font-size: 9px;
line-height: 25px;
color: #000;
text-align: center;
background-color: #E8E8E8;
clear: left;
border: 1px solid #CCCCCC;
-webkit-border-top-left-radius:0px;
-webkit-border-top-right-radius:0px;
-webkit-border-bottom-left-radius:15px;
-webkit-border-bottom-right-radius:15px;
-moz-border-top-left-radius:0px;
-moz-border-top-right-radius:0px;
-moz-border-bottom-left-radius:15px;
-moz-border-bottom-right-radius:15px;
border-top-left-radius:0px;
border-top-right-radius:0px;
border-bottom-left-radius:15px;
border-bottom-right-radius:15px;
}

#wrapper {
width: 900px;
margin-right: auto;
margin-left: auto;
border: thin solid #FFFFFF;
}
</style>
</head>

<body>
<div id="wrapper">
  <header>
    xx
  </header>

<nav>rtrtrtrtr</nav>


<aside>
  xx
</aside>

<section>
  <article>
    xx
</article>
</section>
  
<footer>xxxxxxx</footer>
</div>
</body>
</html>
Link to comment
Share on other sites

Pergunta: estás a tentar usar o IE 8, certo? O IE 8 não suporta os novos elementos HTML5. Tens que forçar a activação e reconhecimento dessas tags.

Vê o que isto faz e ajusta às tuas necessidades. Ou inclui tudo à papo-seco, também dá.

"Para desenhar um website, não tenho que saber distinguir server-side de client-side" - um membro do fórum que se auto-intitula webdesigner. Temo pelo futuro da web.

Link to comment
Share on other sites

Mais uma coisa a maneira de meter o aside e o  section a tomar as mesmas dimensões por exemplo se eu estiver a escrever na section ela vai aumentar mas o aside vai ficar igual ah maneira de meter os dois a aumentarem para a mesmo tamanha sempre que 1 deles muda de tamanho??

O problema de elementos lado-a-lado com a mesma altura é antigo, e não tem nenhuma solução elegante, infelizmente. Há várias técnicas, mas todas envolvem ou imagens de fundo ou elementos sem significado semântico.

A única maneira é usando alturas fixas, mas depois não crescem...

"Para desenhar um website, não tenho que saber distinguir server-side de client-side" - um membro do fórum que se auto-intitula webdesigner. Temo pelo futuro da web.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. 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.