HighDots Forums  

Aligning div in the centre of page

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Aligning div in the centre of page in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
John S E
 
Posts: n/a

Default Aligning div in the centre of page - 11-25-2004 , 04:50 PM






I have three divs next to each other on my page, I would like them to sit in
the center of the page, how do I do this? can i put them in another centrally
aligned div? heres the page: http://www.dominosurf.com/test.html any help
would be great thanks in advance john


Reply With Quote
  #2  
Old   
Pablo
 
Posts: n/a

Default Re: Aligning div in the centre of page - 11-25-2004 , 04:56 PM






Hi John

This is fab to get to grips with things

http://www.communitymx.com/content/article.cfm?cid=A8BBA

Pablo





"John S E" <webforumsuser (AT) macromedia (DOT) com> a écrit dans le message de news:
co5k2u$igt$1 (AT) forums (DOT) macromedia.com...
Quote:
I have three divs next to each other on my page, I would like them to sit
in
the center of the page, how do I do this? can i put them in another
centrally
aligned div? heres the page: http://www.dominosurf.com/test.html any
help
would be great thanks in advance john




Reply With Quote
  #3  
Old   
John S E
 
Posts: n/a

Default Re: Aligning div in the centre of page - 11-25-2004 , 06:22 PM



Wow, thanks, this is great ... but i can't seem to get it to work, I have
updated my page on line and would be really grateful if someone could check the
code and let me know what I'm doing wrong. http://www.dominosurf.com/test.html
many thanks John


Reply With Quote
  #4  
Old   
Pablo
 
Posts: n/a

Default Re: Aligning div in the centre of page - 11-26-2004 , 04:48 AM



Hi John

Sorry I didn't get back sooner but I went to the pub and got plastered.

}
div.wrapper {
width: 770px;
text-align: left;
margin: 0px auto;
position: relative;
}

Cheers

Pablo



"John S E" <webforumsuser (AT) macromedia (DOT) com> a écrit dans le message de news:
co5pf0$ndm$1 (AT) forums (DOT) macromedia.com...
Quote:
Wow, thanks, this is great ... but i can't seem to get it to work, I have
updated my page on line and would be really grateful if someone could
check the
code and let me know what I'm doing wrong.
http://www.dominosurf.com/test.html
many thanks John




Reply With Quote
  #5  
Old   
John S E
 
Posts: n/a

Default Re: Aligning div in the centre of page - 11-26-2004 , 05:09 AM



Cheers Pablo....

works a treat, hope the hang overs not too bad...

thanks

john

Reply With Quote
  #6  
Old   
Pablo
 
Posts: n/a

Default Re: Aligning div in the centre of page - 11-26-2004 , 05:16 AM



I never get a hangover, I just carry on drinking



"John S E" <webforumsuser (AT) macromedia (DOT) com> a écrit dans le message de news:
co6vct$qcc$1 (AT) forums (DOT) macromedia.com...
Quote:
Cheers Pablo....

works a treat, hope the hang overs not too bad...

thanks

john



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.