ianinspain
asked on
Aligning Layer (div) using wysiwyg - convert later?
Hi there,
I am designing a web page and i have a standard DIV Tag which has no properties assigned just an ID as I do positioning within an attached style sheet.. which works great.
Problem is now, I need to arrange more div tags (layers) within this div tag so i wanted to use the Wysiwyg editor of dreamweaver to INSERT LAYER which works great and produces something like this
<div id="Layer1" style="position:absolute; width:200px; height:115px; z-index:1; left: 280px; top: 81px;"></div>
My question is, does anybody know if this is the way I should do things?
Really I think I would like to put the style properties of this div tag into my external style sheet to keep everything together.
I could just remove the properties and paste them into my external style sheet with the ID of (above) Layer1 for example but wondered if anybody can comment if i doing this correct or is there an extension that automatically converts a Div tag with properties to a standard div tag and copies all the properties to an external style sheet.
I did think about doing it manually but because of the layout I really need to use the wysiwyg editor or the layer in dreamweaver so i can position it exactly
Any comments or ideas?
Thanks
ian
I am designing a web page and i have a standard DIV Tag which has no properties assigned just an ID as I do positioning within an attached style sheet.. which works great.
Problem is now, I need to arrange more div tags (layers) within this div tag so i wanted to use the Wysiwyg editor of dreamweaver to INSERT LAYER which works great and produces something like this
<div id="Layer1" style="position:absolute; width:200px; height:115px; z-index:1; left: 280px; top: 81px;"></div>
My question is, does anybody know if this is the way I should do things?
Really I think I would like to put the style properties of this div tag into my external style sheet to keep everything together.
I could just remove the properties and paste them into my external style sheet with the ID of (above) Layer1 for example but wondered if anybody can comment if i doing this correct or is there an extension that automatically converts a Div tag with properties to a standard div tag and copies all the properties to an external style sheet.
I did think about doing it manually but because of the layout I really need to use the wysiwyg editor or the layer in dreamweaver so i can position it exactly
Any comments or ideas?
Thanks
ian
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yep seems to be working... You would think dreamweaver would have a convert to external style sheet but as everyone said it isn't too much hassle to copy over...
Thanks again
ian