C
Cristian
I have this div for the top of my page. Nested into it, I have a
heading and another div. How can I make that heading and div stand
next to each other horizontally?
I have tried turning them into inline elements, but always one appear
in the top and the other in the bottom of it. I have used floats,
unsuccessfully.
The home page of Inkscape - http://inkscape.org/ - sets a heading
next to a div just the way I want it. I have looked into their CSS
file and tried to do the same, however, I think my knowledge is too
limited at this moment. Could anyone explain me how to do that?
Not sure if it works, but I have this example of the HTML I am using.
<body>
<div id="all">
<h1>Heading</h1>
<div id="right">
<p>Paragraph</p>
</div>
</div>
</body>
heading and another div. How can I make that heading and div stand
next to each other horizontally?
I have tried turning them into inline elements, but always one appear
in the top and the other in the bottom of it. I have used floats,
unsuccessfully.
The home page of Inkscape - http://inkscape.org/ - sets a heading
next to a div just the way I want it. I have looked into their CSS
file and tried to do the same, however, I think my knowledge is too
limited at this moment. Could anyone explain me how to do that?
Not sure if it works, but I have this example of the HTML I am using.
<body>
<div id="all">
<h1>Heading</h1>
<div id="right">
<p>Paragraph</p>
</div>
</div>
</body>