PDA

View Full Version : CSS Woes....


infringer
10-12-2004, 01:47 PM
The site is: http://mytrip.holidaytoursinc.com/login.php

Use the username 'diag' password 'diag'

Click on the only tour listed there... (DCMTEST)

now here is the page I'm having trouble with (in IE6).

This is annoying.

In the frame across the top on the right hand side you can see where "Sales Rep: DAVIDM, Contract Received: NO" are not up against the right edge, like it has a margin

Then also in the main frame (middle, white background) You can see the blue bar across the bottom is doing the same thing.

Any help? I can't remember what I did before to fix this on other sites and I've tried everything I can remember.

Site looks fine in Firefox..

Thanks,
-David

JimStanger
10-12-2004, 09:40 PM
You have table cells styled with different classes:


<td class="cellright" colspan="2">
<span class="bold">Sales Rep:</span>&nbsp;&nbsp;<a href="#">DAVIDM</a></td>


<td class="cellright" colspan="2">
<span class="bold">Contract Received:</span>&nbsp;&nbsp;<span class="boldred">NO</span></td>


td class="cellctr" colspan="2">
<span class="bold">Users:</span>&nbsp;&nbsp;<a href="#?user=1" target="_blank">diag</a>
&nbsp;&nbsp;<a href="#?user=2" target="_blank">EDIT</a></td>


...notice the first two TDs are class "cellright". The third row TD is class "cellctr".

"cellctr" is text-aligned center and "cellright" is text-aligned right in your style sheet. Very logical, of course. :cool:

Since every other TD is class "cellctr" I assume you'd want to change the first two to align property with the rest. The main frame issue is probably along those same lines.

Hope this helps!


-- Jim

infringer
10-14-2004, 07:16 PM
One thing that fixed my problem is in the frames that I knew would not be scrolling is setting the "scrolling='no'" option in the frameset command.

As for the ones with auto and yes, well they still have that 10px margin for the scrollbar. (So I just turned the scrollbar on always).