How to change from absolute positioning

  • Thread starter Thread starter Janice Shoemaker
  • Start date Start date
J

Janice Shoemaker

I see in someone else's earlier message what is probably
my problem: using absolute positioning, which makes my
pictures move over text in some people's browsers. So now
that I have them in place, how do I fix them? If I put
them inside a table column, will that make them stay put?
 
Tables should solve the problem and if you put text and
picture in separate cells it will works almost for sure.

Use of CSS should be best to manage your problem - I have
not much experience with it however.
Greetings from Copenhagen
Alex
 
If you've already used absolute positioning, you will have to remove the
positioning styles from your HTML. Probably the easiest way to do this is to
open the page in HTML view, and do a search for the word "style" - that
should lead you to all the places where you've used absolute positioning.
Then you can remove any style attributes that relate to "position".

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.
 
Okay, so once I remove "absolute potitioning," how do I
put the darned things where I want them? The FP Help
refers to "relative positioning," but it doesn't say how
you do it. Do I just place the top left corner where the
pointer is, and that's where they have to stay? Would I
be better off in just removing the pictures, then placing
them back in correctly?
 
Hi Janice,

Use tables for positioning. You can put table son the page with border,
cellpadding, and cellspacing set to 0, and the table will be invisible. Then
you just create your cells etc., and place your HTML elements inside the
cells of the table. You can use nested tables (tables inside other tables)
to get more granular control over the placement of individual elements. The
table dimensions can be set to absolute pixel values or percentages. I think
using absolute pixel values at this point would be easier for you. If you
set the outermost table size to 800 X 600, it will look good in most
browsers. People with larger screen resolution will see some space to the
right and bottom of the table, and people with smaller resolution may have
to scroll a bit, but most people out there are using 800X600 these days.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.
 
Back
Top