+ 1
Can anyone tell me How can i bring the text in One line like Google?
3 Respuestas
+ 2
Don't use 'align' attribute on html elements, it's deprecated in Html5 ^^
You can simply add inlined display property at your css rules, as you use many <h1> elements for each letters:
h1 {
display:inline-block;
}
... but you'll better should do adapt your html to use one <h1> element with <span>s embeded for each letters:
<body style="text-align:center;">
<h1>
<span class=one>G </span>
<span class=two> O </span>
<span class=three>O </span>
<span class =four>G </span>
<span class=five>L </span>
<span class=six>E </span>
</h1>
</body>
( don't need of h1 css rule in this last case ^^ )
+ 1
Thank You very much both of you.
0
just add this to your css:
h1{
display: inline;
}