WordPress.org

Ready to get started?Download WordPress

Forums

Float works in FF but not IE (14 posts)

  1. martini
    Member
    Posted 9 years ago #

    My website, http://www.pwrbtn.com, won't work right it seems under Internet Explorer! It works fine in Firefox, floating the image to the right and having the text around it. Can someone please take a look and help me out?

    Thanks in advance!

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    I see no images in IE .... try making all your image paths to be full urls ?

  3. Jinsan
    Member
    Posted 9 years ago #

    add a height and width to the image attribute

  4. martini
    Member
    Posted 9 years ago #

    The images are full URL and adding in height and width now only barely shows the image. Is there a way to get the height and width to the attribute through CSS without having to put it in each time manually?

  5. Jinsan
    Member
    Posted 9 years ago #

    image in general SHOULD have a height and width set in the img attribute. how will you modify the height and width for images that do not fit that dimension? Unless you ensure that all your images are a certain height and width, in which case you can add:

    height: x;
    width: x;

    in the css for your img value

  6. martini
    Member
    Posted 9 years ago #

    I modify the height/width in Photoshop. I added those tags but it still didn't bring those images up and floating next to the text.

  7. Denis de Bernardy
    Member
    Posted 9 years ago #

    try removing the advertisement. likely is that the images are behind them.

  8. Denis de Bernardy
    Member
    Posted 9 years ago #

    note that you can use the align="right" image attribute, too.

  9. martini
    Member
    Posted 9 years ago #

    I completely removed the right column and that didn't work!

  10. martini
    Member
    Posted 9 years ago #

    Any more ideas?

  11. yearginsm
    Member
    Posted 9 years ago #

    Validators says ...

    Line: 195 Context : img -- Property align doesn't exist : right

  12. martini
    Member
    Posted 9 years ago #

    What exactly does that mean?

  13. davidjg
    Member
    Posted 9 years ago #

    Validator for HTML said to close the image property in line 104.

    Also, if it's not working in IE it may be an IE-specific problem - check out the IE page on Position Is Everything, as it covers a few float problems.

  14. yearginsm
    Member
    Posted 9 years ago #

    Perhaps applying the attribtue "text-align" instead of just "align" in your CSS.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags