www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > HTML

    HTML Discussion and technical support for building, using and deploying HTML sites.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 07-06-2007, 10:05 PM
    ENIGMACODE ENIGMACODE is offline
    Registered User
     
    Join Date: Jul 2007
    Posts: 7
    Question 'Wide Screen Viewing' backgrounds appear with tiling to left and right

    Hello

    I've been using an older Editor called 'Page Wiz'

    I can tweak the HTML, but I don't know what code or where to put it in order to limit the Page Backgrounds from tiling to the left and right?

    In the backgrounds of these pages is usually a photograph which looks fine on a normal screen, but it tiles to either side on a Wide Screen.

    Here's the page:
    ww2survivorstories-com

    Thanx for your help
    Mike
    Reply With Quote
      #2  
    Old 07-06-2007, 11:49 PM
    ray326's Avatar
    ray326 ray326 is offline
    Got Link?
     
    Join Date: Nov 2003
    Location: Jerryville, Tejas
    Posts: 11,741
    In the stylesheet try:
    body { background: url(theimage.jpg) no-repeat center center; }

    BUT that editor has outlived its usefulness. Trade it immediately for HTML-kit and let Tidy fix each of your pages.
    __________________
    Help Save Ana

    Why use Web Standards: Zeldman
    How (new): Castro
    How (experienced): Cederholm
    If you can only get one book and you're already HTML savvy then this is it:
    stylin' with CSS: A Designer's Guide
    Charles Wyke-Smith
    New Riders


    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
    Reply With Quote
      #3  
    Old 07-07-2007, 01:55 PM
    ENIGMACODE ENIGMACODE is offline
    Registered User
     
    Join Date: Jul 2007
    Posts: 7
    Thank you ray326 - Please take another looksee - I screwed something up



    http://www.ww2survivorstories.com/test-1.htm
    Reply With Quote
      #4  
    Old 07-07-2007, 01:58 PM
    ENIGMACODE ENIGMACODE is offline
    Registered User
     
    Join Date: Jul 2007
    Posts: 7
    Thank you ray326

    Please take another looksee - Obviously I screwed something up:
    ww2survivorstoriesdotcom/test-1dothtm

    Last edited by ENIGMACODE; 07-07-2007 at 02:01 PM.
    Reply With Quote
      #5  
    Old 07-07-2007, 02:05 PM
    WebJoel's Avatar
    WebJoel WebJoel is offline
    Super Moderator
     
    Join Date: Dec 2005
    Location: American, living in Toronto, ON. CANADA
    Posts: 6,668
    Quote:
    Originally Posted by ENIGMACODE
    Thank you ray326

    Please take another looksee - Obviously I screwed something up:
    ww2survivorstoriesdotcom/test-1dothtm

    Quote:
    !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
    <HTML>
    <HEAD>
    <TITLE></TITLE>
    </HEAD>
    <BODY>
    html { background: gray url("http://www.ww2survivorstories.com/home-backgrd-2.JPG")center no-repeat; }
    <DIV ><table width="600" align="center">
    <TBODY><tr><td>....
    Should instead be:

    Quote:
    !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
    <HTML>
    <HEAD>
    <TITLE></TITLE>

    <style>
    html { background: gray url("http://www.ww2survivorstories.com/home-backgrd-2.JPG")center no-repeat; }
    </style>


    </HEAD>
    <BODY>

    <DIV ><table width="600" align="center">
    <TBODY><tr><td>....
    This is "style" and that goes before the closing "</head>"
    __________________
    Help Save Ana My Portal: I Build WebPages
    Pricing? Read:http://www.webdeveloper.com/forum/pricing_faq.html
    AUP: http://www.jupitermedia.com/corporate/privacy/aup.html
    I test with: Firefox, Mozilla, Opera, Safari-on-XP, Google Chrome, SeaMonkey
    Internet.com freelancers
    Reply With Quote
      #6  
    Old 07-07-2007, 02:35 PM
    ENIGMACODE ENIGMACODE is offline
    Registered User
     
    Join Date: Jul 2007
    Posts: 7
    Thank you you're very patient



    http://www.ww2survivorstories.com/test-1.htm
    Reply With Quote
      #7  
    Old 07-07-2007, 03:28 PM
    bolty2uk bolty2uk is offline
    Registered User
     
    Join Date: Feb 2006
    Posts: 91
    i cant see a problem in different resolutions?

    Use this code.

    HTML Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>link</title>
    <style>
    html { background: gray url("http://www.ww2survivorstories.com/home-backgrd-2.JPG")center no-repeat; }
    </style>
    </head>
    <body>
    <DIV ><table width="600" align="center">
    
    <TBODY><tr><td>
          <P align="center">
    
    <A href="http://www.ww2survivorstories.com/"><FONT size="3" face="Impact">Home</FONT></A>&nbsp;</FONT> 
    <A href="story.htm"><FONT face="Impact" size="3">The Story</FONT></A>&nbsp; <A href="veterans.htm"><FONT face="Impact" size="3">The 
    Veterans</FONT></A>&nbsp; <A href="photos.htm"><FONT face="Impact" size="3">Photographs</FONT></A>&nbsp; <A href="preview.htm"><FONT face="Impact" size="3">Preview</FONT></A>&nbsp; <A href="research.htm"><FONT face="Impact" size="3">Research</FONT></A>&nbsp; <A href="links.htm"><FONT face="Impact" size="3">Links</FONT></A>&nbsp;&nbsp;&nbsp; </FONT></P>
    
          <P></P>
          <P></P>
    <P align="center"><FONT color="#ffffff" face="Arial">&nbsp;&nbsp; </FONT></P>
          <P align="center"><FONT face="Arial" color="#ffffff"><FONT face="Impact" color="#000000" size="6"> </FONT></FONT>
          <P align="center"><FONT face="Arial" color="#ffffff"><FONT face="Impact" color="#000000" size="6"> </FONT></FONT>
          <P align="center"><FONT face="Arial" color="#ffffff"><FONT face="Impact" color="#000000" size="6">Survivors' Stories</FONT>&nbsp;&nbsp;</FONT><FONT color="#ffffff" face="Arial">
    <P align="center"><FONT face="Arial" color="#ffffff"><FONT face="Impact" color="#000000" size="6">&nbsp;&nbsp;&nbsp;&nbsp;<FONT size="5">North Africa 
          1942-43</FONT> </FONT>&nbsp;&nbsp;</FONT><FONT color="#ffffff" face="Arial">&nbsp;       
          </FONT>&nbsp;</P></FONT>
    
    <P align="center"><FONT color="#ffffff" face="Arial">&nbsp;&nbsp; </FONT></P>
          <P align="center"><FONT face="Arial" color="#ffffff"><FONT face="Impact" color="#000000" size="4">&nbsp; An independent non-profit film</FONT>&nbsp;&nbsp;</FONT><FONT color="#ffffff" face="Arial"></FONT></P>
    </td></tr></TBODY></table>
    <DIV></DIV>
    <P>&nbsp;</P>
    <P align="center">&nbsp;</P>
    <P align="center">&nbsp;</P>
    <P align="center">&nbsp;</P>
    <P align="center">&nbsp;</P>
    <P align="center">&nbsp;</P>
    <P align="center">&nbsp;</P>
    <P align="center">&nbsp;</P>
    <P align="center"><FONT face="Courier New" size="2"><STRONG>For information on how 
    to obtain a copy of the DVD, contact: </STRONG></FONT></P>
    
    <P align="center"><FONT face="Courier New" color="#0000ff" size="2"><STRONG><A href="mailto:survivorstories@comcast.net">survivorstories@comcast.net</A></STRONG></FONT></P>
    <P align="center"><FONT size="2"><FONT face="Courier New">&copy;&nbsp; <FONT color="#000000">Copyright 
    2007</FONT></FONT></FONT></P></A></TD></TR></TABLE></DIV>
    </body>
    </html>

    Last edited by bolty2uk; 07-07-2007 at 03:34 PM.
    Reply With Quote
      #8  
    Old 07-07-2007, 08:52 PM
    ray326's Avatar
    ray326 ray326 is offline
    Got Link?
     
    Join Date: Nov 2003
    Location: Jerryville, Tejas
    Posts: 11,741
    My only comment is the style should probably be on the body rather than the html.
    __________________
    Help Save Ana

    Why use Web Standards: Zeldman
    How (new): Castro
    How (experienced): Cederholm
    If you can only get one book and you're already HTML savvy then this is it:
    stylin' with CSS: A Designer's Guide
    Charles Wyke-Smith
    New Riders


    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan
    Reply With Quote
      #9  
    Old 07-07-2007, 11:34 PM
    ENIGMACODE ENIGMACODE is offline
    Registered User
     
    Join Date: Jul 2007
    Posts: 7
    I'm trying and trying



    http://www.ww2survivorstories.com/Test-5.htm

    I copied the code exactly - but now I've lost the photo altogether
    Reply With Quote
      #10  
    Old 07-08-2007, 01:12 AM
    bolty2uk bolty2uk is offline
    Registered User
     
    Join Date: Feb 2006
    Posts: 91
    When i look at your link i see a page with a background with a big ship in the middle.

    Do you see that? If not, how are you viewing the page.??
    Reply With Quote
      #11  
    Old 07-08-2007, 08:02 AM
    ENIGMACODE ENIGMACODE is offline
    Registered User
     
    Join Date: Jul 2007
    Posts: 7
    Hi bolty

    Hi bolty how ya doin?

    If you stay just exactly on the page:
    http://www.ww2survivorstories.com/Test-5.htm

    without clicking on any of the links, the background photo doesn't appear
    (try refreshing your browser)

    This problem that I'm having ONLY refers to viewing on a wide screen computer - NOT a coventional sized screen

    I've tried EVERYTHING - It seems I just can't find the code that will FIT that background photo DIRECTLY in the middle of a stretched WIDE screen, while adding a gray colored border to either side left and right, to act as a limit to the each side of the background photo.

    I've tried BOTH Editors:
    My older Page Wiz Editor
    AND
    The link to the newer technology free 'HTML KIT'

    Both Editors cannot seem to solve this problem

    My alternatives:
    Simply stretch/distort the ENTIRE length of the background photos affected, so they won't TILE
    Then when folks will view them on a wide screen, they'll just see more of the STRETCHED background photo ....

    Thanx

    Last edited by ENIGMACODE; 07-08-2007 at 08:08 AM.
    Reply With Quote
      #12  
    Old 07-08-2007, 01:23 PM
    ENIGMACODE ENIGMACODE is offline
    Registered User
     
    Join Date: Jul 2007
    Posts: 7
    Thank you everyone

    Hello and thank you everyone who tried to help me
    (I really appreciated it)

    I've settled for a reasonable compromise and just stretched a few
    photos from specific photos that I felt were important NOT to Tile
    when viewing.

    The other backgrounds actually look better 'Tiled' because there is
    important information that can be read adequately without
    missing anything when viewed on a normal sized view screen.

    Take a another look in both wide screen and normal view:
    http://ww2survivorstories.com/
    (I'm satisfied)

    Thanx so much
    Mike
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 02:55 PM.



    Acceptable Use Policy


    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.