HighDots Forums  

relative divs

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss relative divs in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
lawrie
 
Posts: n/a

Default relative divs - 11-07-2004 , 10:13 AM







Is there any problem with putting a relative div inside a table cell?
The relative div would have an absolute div inside it.
thanks



Reply With Quote
  #2  
Old   
Osgood
 
Posts: n/a

Default Re: relative divs - 11-07-2004 , 10:14 AM






Nope, no problem at all. Its the correct way to do it.




lawrie wrote:

Quote:
Is there any problem with putting a relative div inside a table cell?
The relative div would have an absolute div inside it.
thanks




Reply With Quote
  #3  
Old   
Pablo
 
Posts: n/a

Default Re: relative divs - 11-07-2004 , 10:19 AM



Don't put divs into tables.

Cheers

Pablo


"lawrie" <lawrie (AT) nononospam (DOT) spam> a écrit dans le message de news:
cmle2m$ss9$1 (AT) forums (DOT) macromedia.com...
Quote:
Is there any problem with putting a relative div inside a table cell?
The relative div would have an absolute div inside it.
thanks





Reply With Quote
  #4  
Old   
Osgood
 
Posts: n/a

Default Re: relative divs - 11-07-2004 , 10:22 AM



Its ok as long as they are either not positioned or the parent <div> is
positioned relatively.



Pablo wrote:

Quote:
Don't put divs into tables.

Cheers

Pablo



Reply With Quote
  #5  
Old   
Osgood
 
Posts: n/a

Default Re: relative divs - 11-07-2004 , 10:25 AM



Osgood wrote:

Quote:
Its ok as long as they are either not positioned or the parent <div> is
positioned relatively.

Actually I need to clarify that because you can float them as well which
is positioned I guess. So as long as they are not inserted directly into
the table/cell with a psoition of absolute then its ok.

An absolutely positioned layer inside a relatively positioned <div>
which is inside a table/cell is perfectly valid and will present no
problem x-browser.




Reply With Quote
  #6  
Old   
Pablo
 
Posts: n/a

Default Re: relative divs - 11-07-2004 , 10:30 AM



I just tested that and it works fine, I always thought this caused problems
on Mac? Is that still the case?


"Osgood" <notavailable (AT) atthisaddress (DOT) com> a écrit dans le message de news:
cmlequ$7a$1 (AT) forums (DOT) macromedia.com...
Quote:
Osgood wrote:

Its ok as long as they are either not positioned or the parent <div> is
positioned relatively.


Actually I need to clarify that because you can float them as well which
is positioned I guess. So as long as they are not inserted directly into
the table/cell with a psoition of absolute then its ok.

An absolutely positioned layer inside a relatively positioned <div
which is inside a table/cell is perfectly valid and will present no
problem x-browser.





Reply With Quote
  #7  
Old   
lawrie
 
Posts: n/a

Default Re: relative divs - 11-07-2004 , 10:32 AM



:-)

thanks

"Osgood" <notavailable (AT) atthisaddress (DOT) com> wrote

: Nope, no problem at all. Its the correct way to do it.
:
:
:
:
: lawrie wrote:
:
: > Is there any problem with putting a relative div inside a table cell?
: > The relative div would have an absolute div inside it.
: > thanks
: >
: >
:



Reply With Quote
  #8  
Old   
Osgood
 
Posts: n/a

Default Re: relative divs - 11-07-2004 , 10:33 AM



Pablo wrote:

Quote:
I just tested that and it works fine, I always thought this caused problems
on Mac? Is that still the case?
No, its presents no problems at all on Mac. Only if you insert an
absolutely positioned (layer)<div> directly into a table/cell without
first wrapping it in a relatively positioned one will it cause problems.

It's neat and opens up endless possiblities.



Reply With Quote
  #9  
Old   
Pablo
 
Posts: n/a

Default Re: relative divs - 11-07-2004 , 10:41 AM



Cool, thanks for the insight.

Cheers

Pablo


"Osgood" <notavailable (AT) atthisaddress (DOT) com> a écrit dans le message de news:
cmlfa6$cl$1 (AT) forums (DOT) macromedia.com...
Quote:
Pablo wrote:

I just tested that and it works fine, I always thought this caused
problems
on Mac? Is that still the case?

No, its presents no problems at all on Mac. Only if you insert an
absolutely positioned (layer)<div> directly into a table/cell without
first wrapping it in a relatively positioned one will it cause problems.

It's neat and opens up endless possiblities.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.