THALO.net Home    THALO.net Forums  Hop To Forum Categories  Software Talk    Dreamweaver
Go
New
Find
Notify
Tools
Reply
  
Dreamweaver
 Login/Join
 
THALO.net divinity
Picture of RicoX
Posted
Question:

We are working with Dreamweaver.

We have a vertical column with Images in it. When we add a Table there is a gap between the Table and last Image. How do you get the Table to but up against the Image.

TIA.
 
Posts: 5070 | Registered: Sat June 07 2003Reply With QuoteReport This Post
Master Baiter
Picture of thalo
Posted Hide Post
I'm not quite sure I'm understanding you. Are the vertical column images inline? Or in a table themselves? If the images are inline, you might have to strip any paragraph styles that are in the "text" to close up the space with the table.

If you like, you can email me the code and let me look at it.
 
Posts: 10498 | Registered: Thu May 01 2003Reply With QuoteReport This Post
THALO.net divinity
Picture of RicoX
Posted Hide Post
Brother thalo thanks for the quick response.

If I can clarify the designer was working in a sidebar. They were adding Images to the side bar. When they added a Table it would not butt up against the bottom Image. They rectified this by creating a Table in the side bar first then adding the images into the Table. I think this has fixed the problem. Does this make sense or is there a better way to approach it from the start?

Another question in the side bar at the top and bottom is space above and below the Table. The date is displayed in the Header spot. Is there a way to control the amount of space here? There is what I would describe as a return space above the text.
 
Posts: 5070 | Registered: Sat June 07 2003Reply With QuoteReport This Post
Master Baiter
Picture of thalo
Posted Hide Post
There are a number of ways to control space in that spot (assuming the top of the sidebar is roughly at the top of the page). The problem is, it could be there for many different reasons, which I'm just guessing at without seeing the page. The first thing you have to check is the spec of the html document, some space is added by default unless you specify margins as zero in this tag:

<body bgcolor="#ffffff" leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">

In Dreamweaver, that body tag is controllable from the "Page Properties" dialog, accessible from a button on the properties pane.

If you open a plain Dreamweaver doc, and type "this is a test" BEFORE you change that body tag, then change the values to zero, you'll see the space it creates.

If you're using cascading style sheets (CSS), which you should be, paragraph height and line height are controlled in each style, so check your stylesheets. Also accessed via the properties pane, from the "CSS" button.

And sometimes what amounts to a "return space" is hidden in the basic PARAGRAPH format too, you have to watch that. The paragraph format is accessed in Text > Paragraph Format >

You'll see a difference in leading space if you choose, say "Heading 1" vs. "None."

You could check to see if there's a paragraph (normally Dreamweaver gives you a non-breaking space in-between two paragraph tags) or a linebreak, i.e. <br />

Another thing it could be, depending on how you've set up the date, is that there might be some space hidden in the placement your date if it's part of a javascript element (so the date changes every day)... when you're dealing with an inline code element, if it's styled or in a table div, you have to watch those things for extra space. It might just be you put the code element in the head, AND whatever part of it in a table cell atop the sidebar, so you can control that space.

That's normally how I do dates. I have a javascript in the head that runs the date changing script, then an inline script "container" that's styled, in a table division where I want the date to show up. I control any space with shims or with the height of the table the date is in (and sometimes its vertical alignment).
 
Posts: 10498 | Registered: Thu May 01 2003Reply With QuoteReport This Post
  Powered by Social Strata  
 

THALO.net Home    THALO.net Forums  Hop To Forum Categories  Software Talk    Dreamweaver

© 2005 THALO.net