Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


wdvltalk Roundup May 2002 - Page 20

June 4, 2002

Please note that any suggestions and/or recommendations regarding Web hosting companies, software, etc. are solely derived from the members of the list and do not necessarily constitute a recommendation from the editors of wdvl or internet.com. Links are provided in the comments and suggestions for additional help or information.

I have a site which pulls lists of images from a database and displays thumbnails that, when clicked, opens popup windows the size of the image. This is all working fine apart from the browser adding a border to the top and left of the image. The border is about 15 px.

  • Using javascript to open a window, you must either supply the html for the page that opens in the second window, or else the body will have a default margin
  • If you are pulling the size of the thumbnail image from a record set, just add something like 30 or 50 pixels to the dimensions to allow for it, otherwise you would have to use document.write()
  • the margin can be set to zero using
         body { margin:0px; }
    

    in a style sheet, or

       <body marginwidth="0" marginheight="0"
             leftmargin="0" topmargin="0">
    

    in the html

Is there a way to make the submit buttons different colors?

Can someone tell me in a SIMPLE sentence or two, just what does Cold Fusion do?

Just started looking at z-index in the hope that it might make the HTML table variation <tbody> function actually work.
Two points I haven't got my mind around at the moment :

  1. It seems that you have to have overlapping elements for it to work?
  2. Testing in IE 5.5 I am getting variable results in the use of element definitions [ but that could just be me, lol ] in different tags.
  • After a little fooling around I came up with this table below. It features a stationary table head, and scrolling body. Just might be what you've got in mind. Take a look.
    Hold your position!
    text and text and text and text
    text and text and text and text
    text and text and text and text
    text and text and text and text
    text and text and text and text
    text and text and text and text
    text and text and text and text
    text and text and text and text
    text and text and text and text
    Row Three
    Row Four

    The HTML for the above table:
    
    <table  	width	= "400" 
    	cellpadding	= "4" 
    	cellspacing	= "3" 
    	bgcolor		= "#333333"
    	border		= "0">
    	<th bgcolor="#aaaaee">
    		Hold your position!
    	</th>
    	<tbody  bgcolor="#ffffdd">
    		<td  style	= "padding:0;" 
    			align	= "center" 
    			valign	= "middle"
    			height	= "25">
    	<span style="height:25px; width:100%; line-height:25px;
    overflow:auto;">
    		text and text and text and text<br />
    		text and text and text and text<br />
    		text and text and text and text<br />
    		text and text and text and text<br />
    		text and text and text and text<br />
    		text and text and text and text<br />
    		text and text and text and text<br />
    		text and text and text and text<br />
    		text and text and text and text<br />
    		</span>
    		</td>
    	</tbody>
    	
    	<tr bgcolor="#aaaacc">
    		<td align="center" valign="middle" height="25">
    		Row Three
    		</td>
    	</tr>
    	
    	<tr bgcolor="#bb99bb">
    		<td align="center" valign="middle" height="25">
    		Row Four
    		</td>
    	</tr>
    </table>
    
    

wdvltalk Roundup April 2002 - Page 19
wdvltalk Roundup
wdvltalk Roundup May 2002 - Page 21


Up to => Home / WDVL / Forum / Roundup




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers