google-code-export / wwwsqldesigner

Automatically exported from code.google.com/p/wwwsqldesigner
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Table positions are absolute (CSS) #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a div before the #area div with some contents in the index.html

Expected:
All tables and wwwsqldesigner stuff will be moved down some pixels.

Instead:
Only the SVG has moved. The tables are still at the same position and
overlap the new div.

I'm using 2.3.3 with FF on WinXP.

I think for good reasons the table position are calculated absolute. But
they could calculated relative to the #area div, because it contains the
SVG. Either all should be calculated absolute or all relative.

Original issue reported on code.google.com by pow...@gmx.de on 25 Nov 2009 at 7:03

GoogleCodeExporter commented 9 years ago
If you wish to modify the source, do it with full understandings of CSS. 

If you want to insert some element before #area, hoping everything moves 
accordingly,
you must make sure that #area has a non-static position (achievable, for 
instance, by
adding position:relative to #area).

I see no reasons for modifying this, when no defect actually occurs. This issue 
seems
to be relevant only to some customized version of wwwsqldesigner and I am not 
able to
take care of all customized versions worldwide.

Original comment by ondrej.zara on 25 Nov 2009 at 7:33