HighDots Forums  

Re: This can't be that difficult

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: This can't be that difficult in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Julian Roberts
 
Posts: n/a

Default Re: This can't be that difficult - 07-15-2003 , 07:44 PM






That works OK for me.

--

Jules
-----
Charon Cart 3
http://www.charon.co.uk/charoncart



mickey wrote:
Quote:
How the heck do I align a layer in the center of a page even after
resizing the browser???

I though it would be:

div id="yada" align="center" > text </div

But it ain't workin'.

How do I do this simple task???

Thanks,
mickey



Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: This can't be that difficult - 07-15-2003 , 07:48 PM






Depending on any style for #yada of course.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Julian Roberts" <newsgroup (AT) charon (DOT) co.uk> wrote

Quote:
That works OK for me.

--

Jules
-----
Charon Cart 3
http://www.charon.co.uk/charoncart



mickey wrote:
How the heck do I align a layer in the center of a page even after
resizing the browser???

I though it would be:

div id="yada" align="center" > text </div

But it ain't workin'.

How do I do this simple task???

Thanks,
mickey





Reply With Quote
  #3  
Old   
Julian Roberts
 
Posts: n/a

Default Re: This can't be that difficult - 07-15-2003 , 08:06 PM



Isn't it? Just goes to show how much I know, lol. I just copied that code
into a page and it was centred.

--
Jules
-----
Charon Cart 3
http://www.charon.co.uk/charoncart



Murray *TMM* wrote:
Quote:
It's not a layer.... 8)


"Julian Roberts" <newsgroup (AT) charon (DOT) co.uk> wrote in message
news:bf23mi$jes$1 (AT) forums (DOT) macromedia.com...
That works OK for me.

--

Jules
-----
Charon Cart 3
http://www.charon.co.uk/charoncart



mickey wrote:
How the heck do I align a layer in the center of a page even after
resizing the browser???

I though it would be:

div id="yada" align="center" > text </div

But it ain't workin'.

How do I do this simple task???

Thanks,
mickey



Reply With Quote
  #4  
Old   
Colin Steadman
 
Posts: n/a

Default Re: This can't be that difficult - 07-16-2003 , 12:00 PM



Quote:
Alternatively, you can use a static div and set its left and right margins
to "auto"

#centeredDiv {
width: whatever;
margin: 0 auto;
}
Does this work for top and bottom margins?

TIA,

Colin


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.