Skip navigation
marko117
Currently Being Moderated

Conflicting design view and live view

Aug 17, 2012 7:34 AM

Tags: #cs5.5

Can anyone shed some light...Using the float property to align 3 images and 3 text boxes alongside each other inside a DIv. Everything looks fine in design/code view, however if I switch to live view or preview in browser, the images and text all align vertically underneath each other. Please Help!

 
Replies
  • Currently Being Moderated
    Aug 17, 2012 8:13 AM   in reply to marko117

    Without looking at your code, I can only guess that this is related to the color of your socks.  If you want a better answer than that, you'll have to show us code!

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 17, 2012 7:47 PM   in reply to marko117

    Do you mean something like this:

     

    <http://www.mytechnet.x10.mx/marko117.html>

     

    If not then you will need to post your code here otherwise we'll just be guessing what you are thinking about.

     

    G/L

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 17, 2012 8:54 PM   in reply to marko117

    Now you also need to give us your HTML code.  CSS without the HTML code is useless because CSS apllies to all HTML code but you need to target your own HTML code.

     

    Hope this helps.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 18, 2012 4:33 AM   in reply to marko117

    The W3C validator (http://validator.w3.org) gives me 9 errors with your HTML - all of them relate to the fact that you cannot begin an ID attribute's value with a number, e.g., <div id="08pic_img">.  Try making all of these like this -

     

    <div id="pic_img08">

     

    See if that change helps.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points