Re: Problem with use h1 and h2 !?

On Wed, Feb 1, 2012 at 6:42 PM, Ali Sajjad Movahed <p30af.com@gmail.com> wrote:
> I have a problem with use 3 tag in 1 line
> I can not put h1 and h2 tag in 1 line

You can, but you have to use CSS.

> when I put this in my site , this are in 2 line not in 1 line
> why?

Header elements are block-level elements. By default a header will always
appear on a line by itself. You have to use CSS to change the behaviour.

See the CSS `display` property:
http://www.w3schools.com/cssref/pr_class_display.asp

-- 
jean                                              . .. .... //\\\oo///\\

Received on Thursday, 2 February 2012 06:28:10 UTC