Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
decapyre #1
Centering an Element
Ok, this is my first extentsion, i have read up on how to create them, aswell
as some of the dw API.
Overview::::
Extentsion takes a currently selected element (such as the <div> container )
and creates the necessary code to center that element using the negative
margins approach.
So far Im having a little trouble calling the api functions to wrap a CSS ID
around a selected element ( DIV, or table)
I was able to create a new ID called #CenterContainer, which includes ::
#CenterContainer { position:absolute; top:50%; left:50%; overflow:hidden; }
I have to be able to store the width and height of a selected element, then do
some math functions to find the negitive half of that number. and store it as
margin-left and margin-top.
So basically i need help with wrapping a ID around a selected Element.
this may sound confusing, or may not, much appreicated for the ones who take
their time to help.
decapyre Guest
-
Help!! Centering Problem!
Site has been setup to center itself within browser window. However, QT video clips embedded in a layer and one other layer will not center... -
Need Help Centering a SWF on page
i need a straight forward answer on how to center the website i designed in flash in a browser window, no matter what the screen resolution is. ... -
Centering
In Publisher 2000, centering a title or headline between text that is full justified or left justified results in a bunch of extra space above and... -
Centering no, but bigger yes
At times there is a question on how to center a web site page. Publisher, (I use 2000) doesn't support centering but what you can do is select... -
[HTML::Element] how to read element by element
Hello I read the doc about HTML::Element, but I don't find how to read the tree create by parse() element by element. The doc says the tree looks...



Reply With Quote

