Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Style relative creates empty area
Message
From
22/02/2013 18:59:56
 
 
To
22/02/2013 18:50:55
General information
Forum:
HTML5
Category:
HTML
Miscellaneous
Thread ID:
01566796
Message ID:
01566797
Views:
43
Here is the tricky part.

I found this by coincidence as this is very difficult to find something in regards to this:

http://stackoverflow.com/questions/5868849/relative-positioning-of-div

It is the very bottom paragraph.

In order to avoid the gap, we need to adjust the style of the object to be fixed and add the Margin-Bottom style for the equivalent of the gap.

So, this:
<DIV Style="Position: Relative; Top: -22px; Left: 78px;">
...becomes this:
<DIV Style="Position: Relative; Top: -22px; Left: 78px; Height: 20px; Margin-Bottom: -20px;">
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform