Hi - Need advice on placing pictures and text within DIV's

I am new to CSS and am creating DIV's to structure my page.
I am trying to do two things and i imagine the solution will be similar or the same for both issues.
Firstly I have created a container DIV in the centre of my page, within that I would like to place pictures and text.
My questions are
How do i get one DIV to sit beside another one? it is defaulting to sitting underneath it, I have adjusted the box size etc.
When adding text I would like it to sit next to the picture (located in the top left corner)  it is currently sitting below the picture.
many thanks
Mark

Here is a tut on positioning divs's:
http://www.brainjar.com/css/positioning/
When adding text I would like it to sit next to the picture
You can create a class to float the picture left, something like this:
.pic_left {
    float: left;
    padding: 5px;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 5px;
    margin-left: 0;
When it's floated left the text will be next to it.
Your markup would be:
<img src="images/picture.jpg" alt="xxx" width="175" height="165" class="pic_left" />
Then add the text.

Similar Messages

  • I just bought a new iPhone and accidentally backed it up with my old iPhone backup, I do not want this. I lost everything on my new phone and I need it back. PLEASE HELP! This includes pictures and texts, etc.

    I just bought a new iPhone and accidentally backed it up with my old iPhone backup, I do not want this. I lost everything on my new phone and I need it back. PLEASE HELP! This includes pictures and texts, etc.

    So just to be clear, when you say "just bought" how long ago was that? Is it on this new iPhone that you had pictures, texts, etc that you want? Were you backing up to iCloud or onto iTunes?
    This may not help for everything but if you go to iCloud.com and log in, are you able to find your pictures there?

  • I have an iPhone 4s iOs 5.1.1, I want to update it to iOs 7, if I've backed up to iCloud will my contacts, pictures and text messages be saved and able to be restored if lost?

    I have an iPhone 4s iOs 5.1.1,( I know I need an update!) I want to update it to iOs 7, if I've backed up to iCloud will my contacts, pictures and text messages be saved and able to be restored if lost? I recently backed up to the iCloud as recently as this morning at 2AM.

    OCD with good reason
    With a second backup, as you now have, you are well protected.  The update makes a backup to use for restoring after the install but with another you should be in great shape.
    Just take you time and be patient, these can take a while to complete depending on server load, connection speed, etc.

  • Pictures and text boxes in rtf template

    Hi there,
    are there any general rules for applying pictures and text boxes to rtf-templates?
    As far as I have experienced, the text boxes are not shown when generating a report. Is it generally not possible to display text boxes? Are there any work arounds?
    Thank you,
    BR
    Lena

    Hi,
    do you mean instead of text boxes?
    Yes, that is no pborlem.
    Are there any known issues regardings pictures and any other design elements?
    Thank you!
    BR
    Lena

  • Can anyone recommend an alternative software programme to Pages? I have an OS X 10.7.5 macbook pro, so I am unable to get it. I want a programme that I can create docs with pictures and text on, invitations, posters etc. Many thanks in advance-..

    Can anyone recommend an alternative software programme to Pages? I have an OS X 10.7.5 macbook pro, so I am unable to get it. I want a programme that I can create docs with pictures and text on, invitations, posters etc. Many thanks in advance…..

    LibreOffice

  • I updated my phone and it cleared everything on it and I don't have an icloud or itunes backup. Please help I need to get my pictures and information back

    I updated my phone and it cleared everything on it and I don't have an icloud or itunes backup. Please help I need to get my pictures and information back

    Sorry, but without a backup in iCloud or iTunes on your computer, your data is gone and can't be restored anymore.

  • Box in  Sap Script and text within

    Hi,
    I want to create a box at the end of the main window and text within it.
    The main window can end at 1st page itself or it can be extended to second page based on the articles. So the box should appear at the end of the last article in the main window.
    and also i would like to know, how do we write text in a box.
    Could any1 help me out on this.
    Thanks

    You can create a variable window in the main window.
    You can restrict the last item of the main window by varying the size of main window. In your wite-form ,
    CALL FUNCTION 'WRITE_FORM'
          EXPORTING
             element                  = 'ITEM'
          function                 = 'SET'
          type                     = 'BODY'
          window                   = 'MAIN'
          EXCEPTIONS
            element                  = 1
            function                 = 2
            type                     = 3
            unopened                 = 4
            unstarted                = 5
            window                   = 6
            bad_pageformat_for_print = 7
            spool_error              = 8
            codepage                 = 9
            OTHERS                   = 10.
        IF sy-subrc <> 0.
    DO this. in the bottom of the main window, create a variable window.
    you can add your text in the variable window inside main window.
    it will be displayed just after the item ends.
    Reagrds,
    Pritha.
    Message was edited by:
            Pritha Agrawal

  • Picture and text for anonymous user: picture is asking user id and password

    Hi all,
    I created one html page in KM. In that one picture and some text is there.
    Given anonymous user & group permission for picture and html..
    created one KM document Iview given the path.
    Iview is assigned to Page,  Page to role(Given anonymous authorization for iview and page) and  Role is assigned to anonymous group.
    when I see the preview its asking user/pwd for Picture not for text. If I discord pic is not displaying....
    How to display Pic and text in one page, how to maintain the permissions
    Thanks
    Polaka

    Hello Polaka,
    You need to carefully go through all the recommendations from SAP note 837898 and make sure you have followed everything in the note exactly, most anonymous issues are caused when this note is not correctly implemented.
    Regarding permissions, you should give your anonymous users at least read permissions on the picture which is being used as well as on the html file itself.
    Regards,
    Lorcan.

  • Questions on tracking iphone and viewing pictures and texts

    is it possible to track the location of another persons iphone? also is it possible to look up past texts/picture messages on a persons iphone to "spy"?

    You can track any iPhone with find my friends app but each owner has to approve the location app also I don't know of anything short of a court order that will let someone else see what you are doing on the phone. Now any iPhone or apple device that you know the I d and password for can be tracked from the cloud if they have find my iPhone enabled and anyone with access to the bill can see numbers of callers and texts although iMessages do not show up on the bill they can be set up to go to another apple device as well as your iPhone if they are set up to go to an apple I d instead of a phone number and the iPhone can have more than one numbers messages if they are using the same iTunes account

  • When forwarding emails recipients are getting no pictures and text all over the place or none at all

    After receiving emails that contain pictures or just text
    I press the forward button, however the recipients say they are receiving no pictures and the text is either all over the place or none at all

    After receiving emails that contain pictures or just text
    I press the forward button, however the recipients say they are receiving no pictures and the text is either all over the place or none at all

  • Adobe Photoshop Touch: Disable snapping in when moving pictures and text

    Hallo,
    I really have to disable that snap in when I move imported pictures or text in a file in Adobe Photoshop Touch but. I didn't find a feature yet to disable it.
    Can you help me please?
    Thank you.
    schokomueller

    For either importing images or adding text, there's a magnet icon with a checkmark in the options box; tap it to disable snapping.

  • Horizontal RSS feed- is it possible to create an RSS feed (showing both pictures and text), that scrolls from left to right rather than top to bottom?

    I am trying to create an RSS feed that will scroll from left to right rather than top to bottom as is standard in iWeb.  Ideally, I would like to show both images and text. I am actually using iWeb '09.  I am not opposed to writing html code if necessary.
    Thank you for your help!

    Probleme solved without having to change anything in the flash.
    The solution was to add a small part in the CSS in HTML
    html {
    overflow-x: hidden;
    overflow-y: auto;
    Solve probleme. All browser. VERY usefull to know !

  • I have Windows 8 and need to transfer my pictures and videos from my iPhone 5S to my computer.

    Please list the instructions on transferring my pictures and videos from my phone to my computer.  I am trying to free up space so that I may sync my phone.

    Import them like would from any other digital camera.

  • Picture and text in the same box for the calender?

    Is it possible to put a small picture in the box (for say May 4) and also get a short text line in the same box?
    When I'm doing it now, the picture takes up the whole box and the text goes underneath.
    Thanks

    Unfortunately that's how it works. If you have a 3rd party editor you could add the text to the picture before adding it to the calendar. Put in a feature request at http://www.apple.com/feedback/iphoto.html.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Best way to place pictures and text on a webpage

    What is the best way to add pictures to a website (thesoba.com).  I want to add several pictures after the text in the center of the page.  Under the pictures I want to place text of who they are, what is the best way.
    thanks
    Mike
    I know I have issues with the webpage.  I need to clean it up.

    Hi Mike,
    for this task, I would like to refer to the demos (and tutorials) which has made/provided Nancy O. for us:
    http://alt-web.com/DEMOS/3-CSS-boxes.shtml
    http://alt-web.com/DEMOS/CSS2-Captions-on-floated-images.shtml
    Hans-Guenter

Maybe you are looking for

  • Hi how to read lines in a text file???

    Hi experts please help me out i wanna read a file which contaning students id and name. such as 211 john 122 david 111 Chris and so on. i know how to read using bufferedreder but the problem is my teacher is gonna change the number of students in the

  • How do I get the TC on my Airport Extreme to do wireless backups?

    I just want to use the TC for wireless backup.   I've connected it to the Airport with Ethernet; unconnected the EThernet; opened Airport Utility; read the Manual; studied all these posts.  Nada.  It should be simple, I only need the TC to act like a

  • Can I connect with a 9i Client-Installation to a Linux 8.1.7 or Windows 8.1.5 ?

    Hallo, we have never installed a oracle-client before. Is it usefull to install a 9i Windows-Client to access our Oracle 8.1.7 Database on a Linux-Server and the Oracle 8.1.5 Database on the Win-NT server. Do I need more than the 9i-Client for Window

  • Can't 2 pass be done for store only members ?

    Time Location Sales COGS Gross Margin 2010Jan     Santa Fe     982     534     448 2010Feb     Santa Fe     239     164     75 2010Mar     Santa Fe     913     738     175 2010Apr     Santa Fe     478     492     -14 2010May     Santa Fe     149     

  • After Effects CS6 Audio Preview Issue

    I am completely baffled on this one. The audio preview function in After Effects isn't working at all, whether I try to play the sound on its own or within a composition. I tried importing another file and applying a tone effect to a layer, neither o