I hope this makes sense to you. If I want my website to have everything centered like apple.com or cnet.com no matter what the resolution is or how much I spread the browser window out...... How would I do this in Dreamweaver MX for OS X.
Thank you very much,
Teddy
Comments
<div align="center">
STUFF HERE
</div>
If you are using DWMX just select every thing (command-a) and click the center justification control on the property inspector, it will write the div tags in the correct place for you.
<div align="center">XXX</div>
will work if you have a valid doctype declaration in IE5.
content
</div>
Thanks
Teddy
Originally posted by Teddy
I have frames in my site...
Originally posted by ast3r3x
make a cell...
Teddy: Do your visitors a favor and get rid of frames in your design. Frames are oudated and obnoxious, mainly because visitors can't bookmark deep URLs, and because of sizing problems like the one you describe. Use a table layout instead of frames!
If you're using frames so that you don't have to have navigation bar code on every page, get cuttin' and pastin' OR learn how to use server side includes (SSI) to dynamically add a nav bar to each page.
Escher
PS: This question belongs in the Genius Bar, not Software.
Originally posted by unremarkable
Use a CSS layout instead of tables!
fvck it all and do it in flash.
html is for wankers.
Originally posted by unremarkable
Use a CSS layout instead of tables!
Big DITTO. Only use tables to make tables (and then think twice before you do) (and only use frames if you have a really good reason to.)
Teddy
*listen up others*
...so i didn't just comment like 'use css' ()
CSS is the best way to go but you'll have to learn it...if u are serious at all about learning web design i'd go to www.w3schools.com and pick up on it
if you aren't very serious and just playing around and dont plan on it to be used as a business or commercial site then id just make a cell...cente the cell, and put everything you want in that...its not a very clean way of doing it but its easy and it will get the work done for you if you center the cell then
if you dont knw how to make a cell i'll look when i get home and check dreamweaver for you...i havn't done it in a while so i dont remember
i think cell is what i want...but frames are bad if u want to use ur site seriously
ok i may have confused you and others so ask questions if i have, i suck at explaining things
Originally posted by running with scissors
fvck it all and do it in flash.
html is for wankers.
i have a question about flash so i dont have to make a new thread i'll post here...
i want to make a button that fades to the active position...how do i do this? i know regular buttons only have 4 frames....is there a way to add more, or do i use a movie clip with an activation for it to start playing on click...help me!
...oh yeah please
Originally posted by ast3r3x
i have a question about flash so i dont have to make a new thread i'll post here...
i want to make a button that fades to the active position...how do i do this? i know regular buttons only have 4 frames....is there a way to add more, or do i use a movie clip with an activation for it to start playing on click...help me!
...oh yeah please
several ways you might want to go about this spring to mind:
option A
place a movie clip into the first frame of your button with the fade animation in it. don't forget your stop actions or it's off to loopsville.
option B
instead of using a button, create a movie clip with all your various states placed on the time line and defined and seperated by frame labels. then just contol your mc from an invisible button(s) using actionscript.
option B is the way i'd go. it's a little more complicated, but it will give you more control in the long run.
Originally posted by curiousuburb
the <CENTER> tag is your friend
Wow. 1996 called. They want their HTML tag back.
Moving to barra del genio...
Originally posted by ast3r3x
k i'll try that adn ask if i haev questions...hahau wouldn't happen to have IM so i could ask u in real time questions could you? (if not its cool since you might not want to be bothered)
sure dude, no problem.
Originally posted by LoCash
Wow. 1996 called. They want their HTML tag back.
Moving to barra del genio...
well, i was debating whether to post HTML or RTFM.
Dreamweaver MX has an excellent Help system, includes a Reference panel with copious text from O'Reilly's HTML, Javascript, and CSS books built in for free, a Guided Tour that highlights and cirlces the Property Inspector's justification buttons, and manuals that explain how to do it.
suggesting a search in any of those places for the word "center" seemed a bit facetious and patronizing.
but yes, deprecated tags are not the best choice.
frames are also an undesirable choice given the inability of Search Engines to scan them properly
don't expect frames pages to rank well in any index
keep it simple (less to debug)
Originally posted by curiousuburb
frames are also an undesirable choice given the inability of Search Engines to scan them properly
don't expect frames pages to rank well in any index
Also search engines sometimes end up listing just one of the frames, so if some clicks on that link they end up missing content. Of course there is JavaScript out there that can detect if the pages in a frame, but then there has to be different version of the for different browsers...ugh. Web Standards are the future.