Whitespace where I don't want it

Discussion in 'Coding Help' started by fonzi, Sep 25, 2007.

  1. fonzi

    fonzi New Member

    Jeez, thanks for going to all that trouble. I changed my resolution to the highest (1680*1050) and the lowest (800*600) and then looked at that page. The last one scales the best as the background-repeat appears with the other two on my resolution (1024*768) which looks ****e.
     
  2. louie

    louie New Member

    the first and second are highly not recommended as it uses the text-align:center; properties, while the third one keep your image on the left as it is considered to include your logo as well.
     
  3. fonzi

    fonzi New Member

    I'm still having problems:the link you gave me looks fine but when I d'load and save the page the image is repeating even though I have the repeat tag turned off?
     
  4. louie

    louie New Member

    hold CTRL key down and press F5 to refresh the browser.
    if that doesn't work copy and paste the code you have here in the forums.
     
  5. fonzi

    fonzi New Member

    I see what the problem is: you have two image tags: a background one and the "img src" one:
    "screen_cap_exp_r.jpg" and "screen_cap.jpg" .
    Did you create two different images?


    Code:
    
    <div style="text-align:left; background-image:url(screen_cap_exp_r.jpg); background-repeat:repeat-x; height:184px;">
    <img src="screen_cap.jpg" alt="header layo/>

    Edit: I am running mine on Visual Studio and when I test pages I look at them on my own machine. Yours is live,maybe that's why mine isn't working?
     
  6. louie

    louie New Member

    of course there are 2 images.
    the large logo and the small 2-3 px that repeats in the background.
     
  7. fonzi

    fonzi New Member

    That makes things a bit clearer, thanks!
     
  8. louie

    louie New Member

    you should have a look into css for future references.
     

Share This Page