User Profile

Collapse

Profile Sidebar

Collapse
jerrygadd
jerrygadd
Last Activity: Nov 19 '08, 11:09 AM
Joined: Mar 20 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jerrygadd
    started a topic Center Image Vertically

    Center Image Vertically

    Can some body help me vertically center an image using CSS?
    The customer only uses IE, and so the code is not debugged for other browsers!
    The image in question is found on line 1075 : "div.layout _img img"
    The image size is unknown

    I have tried to use the "margin:0px auto;" method with no success.

    I include the code here

    Code:
    <?xml version="1.0"
    ...
    See more | Go to post

  • The page is being generated by an XSL, and the contents of the top and bottom divs are not known until processing. So I do not know what height to set the top and bottom divs

    here is my validated code.
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    <html
    ...
    See more | Go to post

    Leave a comment:


  • jerrygadd
    replied to Html and Css (divs)
    Sorry drhowarddrfine is correct, my example does not work on all browsers, due to the page-break-xxx CSS not being supported in all browsers, and I do not know where I got float:top from! Appologies!
    See more | Go to post

    Leave a comment:


  • Ah here lies the problem, I do not know what the height of the top or bottom rows are! They are filled dynamically and I want them to expand according to the contents.
    See more | Go to post

    Leave a comment:


  • Fixed size three row table with middle row 100% of remaing space

    Hi can anyone please help?

    I have a need to make a table of fixed size, containing three rows, where the middle row auto expands to fill the remaining space between the top and bottom rows.

    Here is what I have so far, unfortunately using height:100% for the middle row blows the size of the table!


    Code:
    <html>
    	<head>
    		<title>Auto expanding middle row!</title>
    ...
    See more | Go to post

  • jerrygadd
    replied to How to Fix the size of <td></td>?
    What exactly do you want to happen?

    If you want to specify a fixed width that does not expand when the contents expand then you must use "table-layout:fixed" and specifying a "height" and "width".
    What the browser then does with the overflowing text can be decided by using "overflow"
    See more | Go to post

    Leave a comment:


  • jerrygadd
    replied to Html and Css (divs)
    Here is a sample of using divs instead of tables + CSS

    Code:
    <html>
    	<head>
    		<style type="text/css">
    			body { margin:0 0 0 0; font-family:arial; }
    			h1 { font-weight:bold; white-space:nowrap; font-size:12pt; margin:0}
    			table { border-collapse:collapse; border:width:0 0 0 0; border-outset:0; border-inset:0; }
    			td, th { padding:0 5pt 0 5pt; margin:0; white-space:nowrap;
    ...
    See more | Go to post

    Leave a comment:


  • How to ensure table and contents are resized to print out

    I need to create a web page which will contain a dynamic number of tables, which when printed needs to fit each nicely on separate pages.
    Embeded in each table will be several 3D viewers.
    The user will be able to manipulate each the 3D viewer (zoom, scroll), in preparation to printing.
    My idea is to present the webpage as wysiwyg for the printing.

    I had toyed with the idea of fixing the table sizes, so that they...
    See more | Go to post
No activity results to display
Show More
Working...