Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

css/html help(again)?

How do i put 2 objects (text or images) next to eachother on the same level??

eg:

"an image" "an image"

"some text" "some text"

"etc" "etc"

Do i need to use fframes or something?

5 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    you can do it in many ways (but forget about frames! they are not used anymore).

    the simplest is to draw a table:

    <table>

    <tr><td>image 1</td><td>image 2</td></tr>

    <tr>(put code for some text)</tr>

    <tr>(etc.)</tr>

    </table>

    I would use CSS float, or display:inline.

  • ?
    Lv 4
    5 years ago

    in all probability the main technically "sparkling" thank you to try this could be to create a collection of CSS training for factors that would desire to confirm colorings. So, to illustrate, you have got a variety for factors the place the text cloth shade is that shade, a variety for factors the place the border is that shade, etc. i might propose naming the learning utilising some equipment that debts for what characteristic will get carry of the colour (e.g. text cloth, border), alongside with the function of the colour interior the layout (mutually with "topic shade a million", "important text cloth shade"). do no longer call the learning after the call of the colour itself. That way, in case you alter the colour, you is basically no longer perplexed by using each and all of the references to the old shade, or would desire to alter all of them. on your stylesheet, for those shade training, you will possibly basically have a rule which contraptions the colour. this could be the single and basically bite of code the place you will possibly define that shade. interior the HTML, you will possibly assign the ideal type or training to factors that prefer colouring. (remember, one element could have many training, and one type can word to many factors.) yet another effectual approach could be to define the stylesheet utilising some thing different than organic CSS, and then assemble/technique that it into easily CSS whilst it needs for use on the internet internet site, the two manually upon changing the stylesheet, or immediately utilising some thing server-area. this variety, you will desire to apply variables even although CSS does not help variables.

  • 1 decade ago

    Use the CSS properties:

    float: left

    display: inline

    Some good info at http://www.cognize.co.uk/

  • Anonymous
    1 decade ago

    I'm not totally sure, but if you just put the codes next to each other, for example (using triangular brackets, obviously, instead of the square ones)

    [img src="..."][img src="..."]

    that should put them together. =]

  • How do you think about the answers? You can sign in to vote the answer.
  • 1 decade ago

    <image><text>

    the html

    <div id="image">Image here</div><div id="text">text here</div>

    the css

    <style type="text/css">

    #image {

    float:left}

    </style>

Still have questions? Get your answers by asking now.