PDA

View Full Version : help with a layout...


stereohi
02-13-2003, 05:07 AM
Hi guys. :)

I need some help with a layout I have on this site (http://siberiablog.tripod.com). I would like the box to be centered on the page, no matter what the size/resolution of the screen, and I don't know how to do that. Also, on larger screens, the black border on the far right side does not adhere to the box. I have no idea how to fix that either.

I would really appreciate anyone's help with this! Thanks!

stereohi

A1ien51
02-13-2003, 05:49 AM
basically what I do is this

<table width="100% height="100% border="0">
<tr><td align="center" valign="middle">

PUT YOUR HTML CODE HERE

</td></tr>
</table>

stereohi
02-13-2003, 05:58 AM
Awesome! Thanks, that's like the simplest thing and I didn't even think of it. It's been so long since I've coded :p

But the black border thing is still a problem, and now it happens on both sides. I didn't write this HTML and it's been a while since I've done it so I'm really not sure what's causing it or even what code corresponds to the lines. Can anyone help me with that?

Thanks again A1ien51!

stereohi

A1ien51
02-13-2003, 06:04 AM
all i can think is that one of the css (1-2-3-4) is pointing to the wrong spot, You may want to play with the numbers and see what one is effecting it.....

then look throught the code to see where it is, I would do it, but I have a little coding problem of my own....lol

stereohi
02-13-2003, 06:30 AM
I think it's div #4 that's the problem. It's the one that codes for the two borders. I'm not sure how to fix it though, I mean there are no positioning parameters on it.

I have to go right now, I'll be back tomorrow. Then I'll have more time to look at this.

Thanks.

stereohi

stereohi
02-14-2003, 06:49 PM
Fixed it! I just made all the tables have id="4", instead of having having everything in a div.

:)

stereohi