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.

IE and FF problem, can anyone help?

Discussion in 'CSS' started by saintdw, Mar 12, 2005.

  1. #1
    Site in my sig.

    Problem is: IE its all double spaced, in FF it looks like it should.


    Im trying to see where the problem might be but i cant see it.

    Anything you can suggest or just leave it alone because it looks ok? :confused:
     
    saintdw, Mar 12, 2005 IP
  2. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do not use blockquote for indenting text; use <p> with margin-left instead. Your double-spacing is probably because of the way you use <br> tags - this tag cannot have the end tag (i.e. </br> is illegal):

    J.D.
     
    J.D., Mar 12, 2005 IP
  3. saintdw

    saintdw Peon

    Messages:
    453
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3

    W3 validator actually told me to close <br> tags for page to be xhtml valid.

    Ill try to remove them and see how it looks.

    found it:
    http://www.w3schools.com/tags/tag_br.asp
    "In XHTML the <br> tag must be properly closed, like this: <br />."


    Ah i see the mistake now! thanks for pointing me in right direction! :D
     
    saintdw, Mar 12, 2005 IP
  4. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Well, illegal was not the right word to use with regards to XHTML (I took a quick look didn't realized it was XHTML until your second post). With XHTML, it's more like this syntax is confusing for some user agents and they may interpret the sequence of <br></br> as if two <br>'s were used. As you have figured out, it is better to use minimized tag syntax in XHTML (e.g. <br />).

    J.D.
     
    J.D., Mar 12, 2005 IP