|
|||||||
| HTML Discussion and technical support for building, using and deploying HTML sites. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
Thank you ray326 - Please take another looksee - I screwed something up
|
|
#4
|
|||
|
|||
|
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. |
|
#5
|
||||
|
||||
|
Quote:
Quote:
Quote:
__________________
Help Save Ana My Portal: I Build WebPagesPricing? 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 |
|
#6
|
|||
|
|||
|
Thank you you're very patient
|
|
#7
|
|||
|
|||
|
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> </FONT> <A href="story.htm"><FONT face="Impact" size="3">The Story</FONT></A> <A href="veterans.htm"><FONT face="Impact" size="3">The Veterans</FONT></A> <A href="photos.htm"><FONT face="Impact" size="3">Photographs</FONT></A> <A href="preview.htm"><FONT face="Impact" size="3">Preview</FONT></A> <A href="research.htm"><FONT face="Impact" size="3">Research</FONT></A> <A href="links.htm"><FONT face="Impact" size="3">Links</FONT></A> </FONT></P> <P></P> <P></P> <P align="center"><FONT color="#ffffff" face="Arial"> </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> </FONT><FONT color="#ffffff" face="Arial"> <P align="center"><FONT face="Arial" color="#ffffff"><FONT face="Impact" color="#000000" size="6"> <FONT size="5">North Africa 1942-43</FONT> </FONT> </FONT><FONT color="#ffffff" face="Arial"> </FONT> </P></FONT> <P align="center"><FONT color="#ffffff" face="Arial"> </FONT></P> <P align="center"><FONT face="Arial" color="#ffffff"><FONT face="Impact" color="#000000" size="4"> An independent non-profit film</FONT> </FONT><FONT color="#ffffff" face="Arial"></FONT></P> </td></tr></TBODY></table> <DIV></DIV> <P> </P> <P align="center"> </P> <P align="center"> </P> <P align="center"> </P> <P align="center"> </P> <P align="center"> </P> <P align="center"> </P> <P align="center"> </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">© <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. |
|
#8
|
||||
|
||||
|
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 |
|
#9
|
|||
|
|||
|
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 |
|
#10
|
|||
|
|||
|
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.?? |
|
#11
|
|||
|
|||
|
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. |
|
#12
|
|||
|
|||
|
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 |
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|