Saturday, September 18, 2010

Hyundai Sonata

image descriptionCategoria de carro bem-recebida no Brasil é a de sedãs. Na Europa eles só fazem sucesso nos níveis mais caros, enquanto em países como Argentina e Turquia sucessos de vendas são sedãs compactos. Já por aqui eles vendem tão bem que existem compacto (Chevrolet Prisma), premium (VW Polo Sedan), médio-pequeno (Peugeot 408), médio-grande e luxo (Audi A6). E é na penúltima categoria que o Sonata quer entrar, para roubar vendas de Ford Fusion e Chevrolet Malibu.

Hyundai SonataÉ impossível falar do modelo que inaugurou a nova escola de estilo da Hyundai sem mencionar seu desenho. Suas linhas seguem a tendência da “escultura fluida”, que se baseia em vincos fortes e que unem visualmente vários elementos. É o caso da linha que sobe pela lateral abrigando as maçanetas e retira o excesso de área limpa, para terminar delineando as lanternas. Ou a superfície em forma de V que nasce fina nas colunas dianteiras, contorna o capô ganhando espessura ao ladear sua depressão central e termina por separar os faróis da grade, ao mesmo tempo que eleva esta e lhe dá destaque enquanto deixa a tomada de ar inferior separada e bem mais discreta.

Seu interior reforça a impressão de que o Sonata seria um ótimo candidato a receber o nome Fluence. Neste caso é o console central que chama atenção, por surgir da parte à frente dos bancos e descer com a mesma suavidade que avança em direção destes, para abrigar a alavanca do câmbio. Este é um carro com diversos detalhes que merecem uma análise mais profunda, mas que em geral passam a agradável sensação de um desenho caprichado, ainda que por fora possa parecer um tanto volumoso demais.

Seu motor é um 2.4 16v de 178 cv com câmbio automático, e ele vai chegar ao país em um pacote fechado de equipamentos. Ou seja, traz ar-condicionado digital, direção elétrica, trio elétrico, computador de bordo, revestimento de bancos, volante e paineis de porta em couro, sistema de som multimídia com comandos satélite, rodas de liga leve e teto solar panorâmico com acionamento elétrico, tudo isso de série assim como o valor da pintura metálica.

Read more > Hyundai Sonata

Friday, September 17, 2010

Centering the Post title (or Page title) in your Blog

This article is about how to centre-align the title that is shown for all Posts and Pages in blogs made with Blogger.


Center/Centre alignment:

Blogger's template designer lets you choose the colour and font-size of the Post title.  This is true even for most Layout templates (ref:  What type of template does my blog have?) though some don't have an option to edit the post-header.

However it doesn't, yet, have an option to change the alignment, ie whether the title is flush with the left or right side, or in the centre.

But this is very easy to do, provided you're willing to accept the disadvantages of editing your blog's layout template.

Simply add this rule to the CSS section of your blog's layout template:
h3.post-title{
  text-align: center;
}
See Adding a new formatting rule to your template if you need help with editing your template to add the rule.


Right alignment?

Making your header right aligned is just as easy:  add this rule instead:
h3.post-title{
  text-align: right;
}


Related Articles: 



Adding a new formatting rule to your template

What type of template does my blog have?

Advantages and disadvantages of editing your blog's layout template

Changing colors in your blog
Read more > Centering the Post title (or Page title) in your Blog

Thursday, September 16, 2010

Adding tooltips (hover text) to Blogger posts

This article is about putting a "tooltip" (text that is shown when you hover over) into an URL in a Blogger post.

What are tooltips?


Tooltips are a feature found in many websites and GUI-based tools:  when a viewer hovers their mouse over an item, a small piece of text is shown which explains the item.
You can see them in Blogger's Post Editor when you put your mouse over an item in the toolbar.

But tool-tips can be used on other things too, including pictures and text: put your mouse over This Text to see one.

They can be particularly useful if you want to provide a translation for a few words from another language, or a definition for technical terms, but don't have enough to make a glossary worthwhile.


How to add a tool-tip in Blogger

Open the Post (etc) that you are working on.
1  Create the item that you want the tool-tip to be on (it may be text or a picture).
2  Select the item, and use the Link button on the toolbar to set up a link for it.  (Do this even if you don't want it to end up linked to anything - you can remove the link part alter on.)
3  Go into Edit HTML mode (top right side of the editor toolbar), and find the HTML for the item.  

Hint:  use the find feature in your brower - it may be helpful to temporarily put some marker text, eg XXX, just before and after the item.

The HTML for the item will have this sort of structure:
<a href="Your Link" > Your item text ... </a>
or it may be like this if your item is a picture:
<img border="0" src="URL FOR YOUR PICTURE" style="margin-left: auto; margin-right: auto;" />
or even like this if it's a picture that's linked:
<a href="Your Link" img border="0" src="URL FOR YOUR PICTURE" style="margin-left: auto; margin-right: auto;" </a>

4  Add  title="YOUR HOVER TEXT" to the HTML, so it becomes something like:
<a href="Your Link" title="YOUR HOVER TEXT" > Your item text ... </a>
or, if the item is a picture:
<a href="Your Link" img border="0" src="URL FOR YOUR PICTURE" title="YOUR HOVER TEXT" style="margin-left: auto; margin-right: auto;" </a>

5  (optional)  If you don't want the item to be linked, remove the href="Your Link"
statement, so the HTML becomes similar to:
<a title="YOUR HOVER TEXT" > Your item text ... </a>
or, if the item is a picture:
< img border="0" src="URL FOR YOUR PICTURE" title="YOUR HOVER TEXT" style="margin-left: auto; margin-right: auto;" />

6  Return to Compose mode (top right of the Post Editor window), so that you aren't faced with HTML the next time you edit a post.


Formatting unlinked text that has tooltips.

If you put hover-text on words that aren't linked to anything, it's good to give them a different format so that readers know to mouse-over them to see the hover-text.    For example
When you visit Ireland, you will undoubtedly experience rain, ceol and great craic.

To do this:

1   Add this CSS rule to your blog's template  (See Adding a new CSS rule to your template if you need help with this):
.toolTippedText {
   border-bottom: 1px dotted red;
}
2   While editing your Post (etc) to add the hover-text, also add this class statement
class="toolTippedText" 
to every URL which has title="YOUR HOVER TEXT" added to it.  So the full statements become
<a href="Your Link" title="YOUR HOVER TEXT" class="toolTippedText"> Your item text ... </a>
or, if you don't want the text to actually be linked to anything:
<a title="YOUR HOVER TEXT" class="toolTippedText"> Your item text ... </a>
It probably doesn't make sense to add a font-decoration like this to tool-tipped images - though it can be done in exactly the same way.

If you don't like using red dots as the way to highlight text that has hover-text, there are other rules you can add to your template.  For example to get a solid underline in the same colour as the text font, use:
.toolTippedText {
 text-decoration:underline;
}


Related Articles: 



Adding a new CSS rule to your template.
Read more > Adding tooltips (hover text) to Blogger posts
 
 
Copyright © blog
Blogger Theme by Blogger Designed and Optimized by Tipseo