align
http://sod.colony-x.com:81/newsite/index.php
I've this code in my header
and as you can see if you click on one of the buttons the page does not align all the way to the right or to the bottom. Now if u click refresh it will align all the way to the right and bottom. How can I fix this? I've access to php on this project. Could I just do an auto refresh as soon as the page loads?
venom posted this at 02:35 — 18th March 2002.
They have: 34 posts
Joined: Feb 2002
p.s. It loads fine when the page is opend in a new window so you will need to click one of the buttons to see what i'm talking about.
disaster-master posted this at 04:36 — 18th March 2002.
She has: 2,154 posts
Joined: May 2001
HMMMM....I have no idea why the borders are changing when you refresh the page.
Try adding rightmargin="0" bottommargin="0" to your body tag and see if that stops it.
Or you could do this:
Busy posted this at 08:18 — 18th March 2002.
He has: 6,151 posts
Joined: May 2001
what browser are you finding this fault in?
IE5 displayed fine.
Opera6 (as opera6) has alignment problems, but not margin faults, so netscape would have similar problems and no flash navigation
just a note on the CSS option, its not fully supported but version 4 browsers
disaster-master posted this at 09:57 — 18th March 2002.
She has: 2,154 posts
Joined: May 2001
Busy, I am looking at it on IE 6.0 and I see what what venom is taking about. The first image is when you open a new page and the second is after it is refreshed. I guess it could be an alignment problem but what would make it change after refreshing the page?
Busy posted this at 23:32 — 18th March 2002.
He has: 6,151 posts
Joined: May 2001
I had a look at your code, seems ok apart from a few missed width, height and alt tags in images. you also need to use a lighter color for your bgcolor tag, dark brown is to weird, also try keep to web safe colors.
I think the biggest problem is missing width and height tags, the main header section for example, you have :
<table border="0" cellpadding="0" cellspacing="0"
style="border-collapse: collapse" bordercolor="#111111"
width="100%" id="AutoNumber2">
<tr>
<td width="100%" align="left" valign="top"><img border="0"
src="images/banL.jpg"></td>
</tr>
</table>
the flash wont display in NS or Opera and alignment in NS and opera is the same - messy, adjust your table and td cells to suit its content, even thou you have nested tables only a few need the width of 100% (main table and the cells that expand).
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.