SitePoint Sponsor

User Tag List

Results 1 to 10 of 10

Thread: Strange problem

  1. #1
    SitePoint Enthusiast pff's Avatar
    Join Date
    Dec 2000
    Location
    Google PageRank: 6
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Strange problem

    Hello,
    I'm having trouble with the line heights displaying incorrectly.
    [edited]
    Here is the problem (notice the different amount of spaces between the first 3 lines, that's my problem)
    Here is the css file
    [/edited]

    Any help will be greatly appreciated!
    Thanks,
    Last edited by pff; Jun 22, 2001 at 03:44.
    pff | I am not what I am

    'Does he exist in the same way as I exist?'
    'You do not exist Winston,' said O'Brien.

  2. #2
    SitePoint Evangelist pip's Avatar
    Join Date
    Jun 2001
    Location
    Cape Town, South Africa
    Posts
    548
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Which Browser are you using to view this page? It seems like you're using Netscape? If this is the case, I think it's a Netscape error. Try to view the page using IE and see if there is any difference.
    - Pip
    ---------------------------------------------------------------------------------
    Nothing takes the taste out of peanut butter quite like unrequited love.

  3. #3
    SitePoint Enthusiast pff's Avatar
    Join Date
    Dec 2000
    Location
    Google PageRank: 6
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nope, I'm using Internet Explorer 5.0
    pff | I am not what I am

    'Does he exist in the same way as I exist?'
    'You do not exist Winston,' said O'Brien.

  4. #4
    SitePoint Wizard silver trophy TheOriginalH's Avatar
    Join Date
    Aug 2000
    Location
    Thailand
    Posts
    4,811
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    What did you use to produce that code?

    Post it in text format rather than gif & I'll have a monkey around - as it is, It hurts my eyes to look at it!



    H
    ~The Artist Latterly Known as Crazy Hamster~
    922ee590a26bd62eb9b33cf2877a00df
    Currently delving into Django, GIT & CentOS

  5. #5
    SitePoint Evangelist pip's Avatar
    Join Date
    Jun 2001
    Location
    Cape Town, South Africa
    Posts
    548
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very odd indeed.

    I re-wrote your code and saved it into a file, kept only the css attributes used for the specific paragraph, then when I displaid it on IE 6b, it did not show any line spaces as on yours.

    At first I thought it might have to do with the lil arrow image that you have before the text start, but I've also placed an image infront of the text, and had no such problem. My reason for thinking this is because if you look at the space below the first line, it's smaller than the other two. However, the other two spaces seems to be the same size.

    Could you put the page up so that one can view it as a normal web page instead of an image?
    - Pip
    ---------------------------------------------------------------------------------
    Nothing takes the taste out of peanut butter quite like unrequited love.

  6. #6
    SitePoint Enthusiast pff's Avatar
    Join Date
    Dec 2000
    Location
    Google PageRank: 6
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for trying to help, I appreciate it. Here it goes:
    http://www.csmerkezi.com/sitepoint.shtml
    http://www.csmerkezi.com/sitepoint.css

    TheOriginalH: I created the site with Dreamweaver 4 and I'm using Newspro for the news part.

    Note: My website is in Turkish, that's why I posted it as a gif before. Now I created a specific page for you ....
    Last edited by pff; Jun 22, 2001 at 03:43.
    pff | I am not what I am

    'Does he exist in the same way as I exist?'
    'You do not exist Winston,' said O'Brien.

  7. #7
    SitePoint Evangelist pip's Avatar
    Join Date
    Jun 2001
    Location
    Cape Town, South Africa
    Posts
    548
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok...

    I've taken the source code, then placed it into another file in order to have the exact same content. Then I removed the arrow image infront of the text, and then the space below the first line becomes the same size as the spaces on the other lines which, makes them all equal.

    Maybe you should try another method for placing the arrow image infront of the text.
    - Pip
    ---------------------------------------------------------------------------------
    Nothing takes the taste out of peanut butter quite like unrequited love.

  8. #8
    SitePoint Evangelist pip's Avatar
    Join Date
    Jun 2001
    Location
    Cape Town, South Africa
    Posts
    548
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you place an ALIGN="CENTER" attribute in the image tag, then the spaces becomes equal on IE, but aligns the arrow on the bottom of the line in Netscape.
    - Pip
    ---------------------------------------------------------------------------------
    Nothing takes the taste out of peanut butter quite like unrequited love.

  9. #9
    SitePoint Enthusiast pff's Avatar
    Join Date
    Dec 2000
    Location
    Google PageRank: 6
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot for your help pip!
    Adding the align="center" tag did the trick. I don't care about Netscape though...
    pff | I am not what I am

    'Does he exist in the same way as I exist?'
    'You do not exist Winston,' said O'Brien.

  10. #10
    SitePoint Wizard silver trophy TheOriginalH's Avatar
    Join Date
    Aug 2000
    Location
    Thailand
    Posts
    4,811
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Couple of gliches for yer pff.

    *You define the content type twice.

    *You haven't closed <p> tags (will cause mess in some browsers, & it's good to get in the habit now for future compatibility)

    *<span class="dosyalar"> </span> - not really sure why that's there, it's not defined in your css and doesn't surround anything. Lose that and your "windows" definition and you'll make up for the extra bytes involved in closing yer "<p's>"

    *You are alienating low res browsers when you really don't need to. Although I am a staunch "all res" type, I understand what drives people to design only for 800*600 upwards. On the strength of this page, it looks like you could happily use expanding/collapsing tables.

    If you want help with any of the above (none is essential - just good practice) - give me a holler.

    H
    ~The Artist Latterly Known as Crazy Hamster~
    922ee590a26bd62eb9b33cf2877a00df
    Currently delving into Django, GIT & CentOS


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •