|
| |
|
|
vision2000
Posts: 532 From: USA Status: offline
|
How do I align background image? - 10/2/2004 11:26:30
http://www.ihost-websites.com/fred/index2.shtml Hi, How do I align the background image above to the right so it fills the page horizontally? It looks fine now at 800x600 but not at 1024x768. Thanks, Herman
|
|
|
|
Minix
Posts: 435 Joined: 2/13/2004 Status: offline
|
RE: How do I align background image? - 10/2/2004 11:29:38
Vision what size is that background image?
|
|
|
|
vision2000
Posts: 532 From: USA Status: offline
|
RE: How do I align background image? - 10/2/2004 11:59:48
Thanks for the swift response, 800x196
|
|
|
|
Minix
Posts: 435 Joined: 2/13/2004 Status: offline
|
RE: How do I align background image? - 10/2/2004 12:58:33
quote:
ORIGINAL: vision2000 Thanks for the swift response, 800x196 I have a very clumsy way of accomplishing what you need to do, but I'll save that until somebody with expertise on tiling, positioning or CSS or whatever other method is most efficient. I'll check back later. In the meantime, I'm assuming you set that image as a background, instead of inserting it directly into the cell, so that you could put the text over it, rather than working around the image positioning within the cell ?
|
|
|
|
d a v e
Posts: 4168 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: How do I align background image? - 10/2/2004 13:22:36
it is in the background but if you use css then you have something like
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center"
style="background-image: url("images/frederick-header1.jpg");
background-attachment: fixed;
background-position: top right;
background-repeat: no-repeat;">
http://www.w3.org/TR/CSS21/colors.html#propdef-background
_____________________________
David Prescott Gekko web design
|
|
|
|
d a v e
Posts: 4168 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: How do I align background image? - 10/3/2004 3:16:35
welcome. if you chop of that extra white space on the left of the image you can save around 5k :)
_____________________________
David Prescott Gekko web design
|
|
|
|
vision2000
Posts: 532 From: USA Status: offline
|
RE: How do I align background image? - 10/3/2004 17:55:49
Thanks Dave..for pointing out that tip - I would not have reduced it otherwise:-) Could you help with the alignment of the header image on this site I am working on: http://www.fvc-home-study.com It's aligned correctly (left aligned) at 800x600 but not at 1024x768 I want the logo aligned with the menu bar and the header text with the body text. Thank you Herman
< Message edited by vision2000 -- 10/3/2004 19:25:25 >
|
|
|
|
d a v e
Posts: 4168 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: How do I align background image? - 10/3/2004 23:59:01
you need to make the left td a fixed width so it is the same width (including any padding, etc) as the image above it i.e. o it falls where you want it. then let the right td stretch to fill the remaining space.
_____________________________
David Prescott Gekko web design
|
|
|
|
vision2000
Posts: 532 From: USA Status: offline
|
RE: How do I align background image? - 10/4/2004 0:25:07
Could you clarify what you mean..I don't have an image above the header banner, just table rows. Should I insert a table (with 2 columns) where the banner is and place the banner inside it? Herman
|
|
|
|
vision2000
Posts: 532 From: USA Status: offline
|
RE: How do I align background image? - 10/4/2004 22:54:02
Sorry David...couldn't figure out what you mean.
|
|
|
|
d a v e
Posts: 4168 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: How do I align background image? - 10/4/2004 23:57:58
table cell with red background and the mene in white :)
_____________________________
David Prescott Gekko web design
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|