Could anyone tell me how to Center a Flash Movie in Dreamweaver ?
i want it to be at the top of the screen in the middle in all resolutions.
ThankS in AdvancE
Printable View
Could anyone tell me how to Center a Flash Movie in Dreamweaver ?
i want it to be at the top of the screen in the middle in all resolutions.
ThankS in AdvancE
<div align="center">
which, if you dont like editing source code, just place the cursor in front of the swf object and click on the center icon in the properties bar
if you want to center the .swf within the web browser then;
1. create a table 1x1 cells
2. insert the .swf into the table's first and only cell
3. set the align options for that cell to Horz:middle and Vert:center (click on the swf and hit the left arrow)
3. select Ctrl+A for the table properties
4. set width to 100% and height to 100%
hope this helps
BlinkOk
Anyone tried Dreamweaver MX? I used to use text editors like Zend IDE and Homesite to write HTML and PHP, but I've switched over, and I LOVE IT. Its a web programmer's dream.
You can display live data from the database on your page as you're designing it, create and edit CSS, upload files without an ftp client, and a great visual table creation (layout mode).
TRY IT!!
Thanks Heaps Guys :cool:
I've always used notepad, and still love it. Doesn't get any more fexible than that :)
by the way:
is the easiest way of doing it if you just want horizontal centering.Code:<center>insert swf here</center>
Olorin
for general html editing its notepad all the way, but I use dreamweaver (MX) for larger projects because of organization, templates and easy of testing serverside scripts remotely.
I also use notepad for large projects. I've never even used dreamweaver, but I don't see how it could make things easier. Doing things in notepad shows you the code right away, so you know what's going on. I've tried a few html editors some time ago, but they all added unwanted codes. If I code everything by hand, I know it'll work in all the current browsers and that it's nice and compact, no unwanted tags.
Does Dreamweaver support PHP scripting ?
Olorin
That I agree with. You just have to really careful about what you do with dreamweaver. If you let it run loose, you'll find you have hundreds of empty or useless tags. But while working on my latest project, just through careful organization, I have successfully put Dreamweaver on a short leash. Only for 5 or 10 minutes in the hours of development have I had to write any HTML, which I love.
However, I've worked with some designers that don't even consider the HTML Dreamweaver outputs. So if you don't know HTML, learn it first. Then make your decision.
dreamweaver (MX) does support php (with color coding and php4 hints).
It ALSO shows html code; its not just a WYSIWYG editor. It would be pretty worthless then. But it is also nice to be able to move an html page in your directory structure and have dreamweaver automatically open and change all the links in all your other pages to reflect that change. Similarly templates (unfortunately not supported in notepad) make similar unified changes very easy.
That doesn't sound too bad than. But of course templates are supported by notepad:
:)Code:<?php
include ("header.php4");
?>
Olorin
Oolorin, you sound like a Developer... ;-)
Of COURSE Dreamweaver is better. I can set up a multi-celled table much quicker than even the fastest typing developer...
Try it so you know what you're missing.
(also, it prevents you from making typos, which I see ALOT with developers who only use text editors)
you dont always have the luxury of working with server-side scripting ;)Quote:
Originally posted by Olorin
That doesn't sound too bad than. But of course templates are supported by notepad:
:)Code:<?php
include ("header.php4");
?>
Olorin
Ray Beez > Nope, I'm not gonna try dreamweaver. it costs money to buy, and that's another good reason for me not to use it :)
Olorin
one of the best ones :DQuote:
Originally posted by Olorin
it costs money to buy, and that's another good reason for me not to use it :)
Olorin
30 day trial. If you don't like it, then delete it and don't use it.
:-)
Why would I do that ? I KNOW I'm not gonna buy it, so why would I try it ?
Olorin
Hehe.. Notepad all the way.. ^__^
Even though that I regulary get errors of a forgotten ';'..
=P
Haha , i think to note pad way is so old skool and out dated. The new development programs eg dreamweaver make it so much quicker. And if theirs a problem you can always edit through the code window. Also a great atribute to dreamweaver is the CSS styles they are so mad :)