This is a discussion on "Mozilla floating my div to the left and not Center" within the Web Page Design section. This forum, and the thread "Mozilla floating my div to the left and not Center are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Mozilla floating my div to the left and not Center
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Mozilla floating my div to the left and not Center
Hi,
I can not seem to get my div tags to center in mozilla. Everthing is fine in ie; however, i can not get anything to center in mozilla... Can someone tell me the secret.... >????? Thanks so much. Erik |
|
|
|
||||
|
Re: Mozilla floating my div to the left and not Center
And you'll need to add a width along with what ryan said.
|
|
|||
|
Re: Mozilla floating my div to the left and not Center
This worked great!
Just added this site to my css-Favorites.. Erik |
|
|||
|
Re: Mozilla floating my div to the left and not Center
Great to have you here - hope you find it useful in future too
|
|
||||
|
Re: Mozilla floating my div to the left and not Center
yeah when centering you always need a width specified. However the width can be px, em, % whatever. But it has to be included or the browser won't know what center is..
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
![]() |
| Tags |
| centering, css, mozilla |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Headings floating left and right | jonnymorris | Starting Out | 5 | Jul 21st, 2007 22:27 |
| Floating <hr>s to the left/IE problems... | escaflowne11 | Web Page Design | 5 | Oct 15th, 2006 21:34 |
| css and IE and Mozilla et al | wood1e | Web Page Design | 1 | Aug 3rd, 2005 03:31 |
| Mozilla & Netscape vs. IE | p_hp_fan | Web Page Design | 9 | Jun 3rd, 2005 16:03 |
| Mozilla vs IE CSS | zed2004 | Web Page Design | 2 | Oct 18th, 2004 20:17 |