PDA

View Full Version : Converting absolute positioning


LadyShelly2
7-13-02, 05:18 PM
Help.... please anyone. I'm so confused.

Okay, I've done html writing before...I used to know what I was doing. But now since I've been using a really simple page builder to format my pages I've basically forgotten how to change certain things on my own...

Here's the problem:
The page builder wrote in a table at a certain position:
<div style="position:absolute;left:174;top:89;width:82;height: 31;"><table width=82 height=31 border=0 cellpadding=0 cellspacing=0><tr valign="top"><td>.....

Now I'd like to keep the table at that spot but not be absolute, so that it can change in relation to the browser or resolution. How do I go about converting it? Is there an easy way?

Thanks, any imput would be greatly appreciated!

~Shelly
www.themoorecollection.com

blurchy
7-13-02, 07:19 PM
hi

try this this is the closest i can get

you have the table inside a "layer"

layers move around , this one should stay in the middle

size the layer by percentage

also size the table by percentage

bring the other layer in with this one

and compare them

paste this between the <body></body> tags

<div style=" position:absolute;left:9px;top:56px;width:100%;hei ght:
29px;; background-color: #CCCCCC; layer-background-color: #CCCCCC; border: 1px none #000000">
<table width=100% height=31 border=0 cellpadding=0 cellspacing=0>
<tr valign="top">
<td>&nbsp;

</table>
</div>

let me know if it works

LadyShelly2
7-27-02, 08:21 PM
I had to take a break from building but I finally tried that and everything ended up in the left corner.

So, I have entirely redone my site with tables instead and I think I have a good handle on it.

Thanks for the reply though.

~Shelly
www.themoorecollection.com

blurchy
7-28-02, 09:27 AM
hi

yes tables are great arent they

they make a site look professional

especially when you put images in the background

cool :)