1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

IMG Wrapping in FireFox

Discussion in 'HTML & Website Design' started by T0PS3O, Dec 23, 2004.

  1. #1
    Hi,

    Since my move to FireFox I found out that most of our pages are horribly designed (haha my bad :eek: )! In IE when I put an image aligned right within a <p>aragraph, the text would just wrap around it. But now in FF, the text first, as expected, wraps left of the image, but doesn't 'wrap back'. It stays left of the image and never fills up the space under the image no more.

    Does FF require xhtml?

    If this info is not enough but you think you know the answer and are willing to help out, I can PM you an example URL.

    Thanks!
     
    T0PS3O, Dec 23, 2004 IP
  2. xml

    xml Peon

    Messages:
    254
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <p>Loadsa text <img style="float: right" src="wtf.gif" /></p>

    Does that work?
     
    xml, Dec 23, 2004 IP
  3. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I think I found it. It only happens on pages where I have a list but without the <ul> tag. Only with <li>'s.

    I never bothered with the opening and closing <ul> tags because then, the bullets would hide behind the image left of it. No probs in IE. But FF seems the require these tags in order to align further code alright.

    Thanks for the help though!

    Any advantage in general for using this style specification instead of align='right'?
     
    T0PS3O, Dec 23, 2004 IP
  4. xml

    xml Peon

    Messages:
    254
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hmm its a W3C compliant method, thats all really :)
     
    xml, Dec 23, 2004 IP
  5. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I'm too scared running the validation.. I'll probably end up with tons of HTML work to do which I find boring... But I know, one day it'll have to be done...
     
    T0PS3O, Dec 23, 2004 IP