Hi Cheryl,

I was using a table inside because that's the only way I knew how to use a
slice to stretch the image when/if the screen page grows.  But now I see
(thankgoodness for DWeaver) that you can do that in the div layer.  Whew -
this looks alot better, thanks.

How do you generally allow for 800 X 600 ?  Do I make the div layers exactly
800 X 600 pixels ?  Is that what you do?

Thanks for the help

Mignon

ps sorry for the dupe posting - I thought the one from work didnt go and
then I unsubscribed from there.

-----Original Message-----
From: Cheryl D. Wise [mailto:cdwise@;wiserways.net]
Sent: Monday, November 11, 2002 10:25 PM
To: [EMAIL PROTECTED]
Subject: [wdvltalk] RE: images/tables/div layers


Why are you using a table in your <div> with the images? You are using
absolute positioning so I don't see that a table adds anything to your
code and may well be causing your 'gap'.

You may also want to declare margin: 0 and padding: 0 on your image css
definition to prevent default spacing from occurring there if just
removing the table doesn't work.

Cheryl D. Wise
WiserWays
Office: 713.353.0139
Mobile: 713.412.0406
[EMAIL PROTECTED]


-----Original Message-----
From: Mignon Hunter [mailto:hunter@;tic.toshiba.com]
Sent: Friday, November 08, 2002 2:48 PM
To: [EMAIL PROTECTED]
Subject: [wdvltalk] images/tables/div layers


Having some issues with stretching images.  I am trying to install
background slices for my top and nav images, so that when pages that are
very long the images will grow longer (and/or wider).

My top_slice is exactly 100 px long and so is my image, pic2.jpg.  But
when loaded in the browser, you can see the background image peeking
through about another 5 pixels. And I have no padding or spacing...I
know it's hard to describe - but for security reasons unable to post
code on internet.

How do people generally do this?  I'm sure there must be some 'trick'.
Have played around with different code possibilities but havnt gotten
anywhere and have looked in books and internet.

Any advice would be appreciated.


<div id="Layer1" style="position:absolute; width:100%; height:100px;
z-index:1; left: -2px; top: -4px">

<table border = 0 width = 100%><tr><td background =
"images/top_slice.jpg"> <img src="images/pic2.jpg"> </td></tr> </table>
</div>


<div id="Layer2" style="position:absolute; width:215px; height:100%;
z-index:2; top: 96px; left: -2px">

<table border =0 height = 100%><tr background =
images/side_slice.jpg><td valign=top> <img src=images/pic1.jpg>
</td></tr> </table> </div>

Thanks
Mignon





____ . The WDVL Discussion List from WDVL.COM . ____
To Join wdvltalk, Send An Email To: mailto:wdvltalk-join@;lists.wdvl.com
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED] To
unsubscribe send a blank email to %%email.unsub%%


____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:wdvltalk-join@;lists.wdvl.com
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to %%email.unsub%%


____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:wdvltalk-join@;lists.wdvl.com 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to