RoyBaird
Posts: 115
|
| Posted: 11/09/2009, 5:51 AM |
|
What has to be done to get a menu to be centered? Looking at the html that was generated by CCS Menu Builder, it shows the div to be "centered", but it is not. Is this a bug or feature?
Using PHP on IE 7.
Thanks,
_________________
Roy |
 |
 |
datadoit
|
| Posted: 11/09/2009, 1:25 PM |
|
Does it center in FF?
|
|
|
 |
damian
Posts: 838
|
| Posted: 11/09/2009, 7:40 PM |
|
just as a test try removing this line from your html -
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
damian
Posts: 838
|
| Posted: 11/09/2009, 7:40 PM |
|
also check your css styles...
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
infous
Posts: 8
|
| Posted: 12/04/2009, 9:04 AM |
|
I've just written an article about this http://starikovs.com/2009/12/04/centering-horizontal-css-menu/ because it's a very popular question about centering a fluid block element horizontally.
_________________
http://starikovs.com |
 |
 |
RoyBaird
Posts: 115
|
| Posted: 12/04/2009, 9:25 AM |
|
there are several CSS files for the Menu component and the style. Which one should be modified? The MENU builder put the HTML code in that you show.
_________________
Roy |
 |
 |
infous
Posts: 8
|
| Posted: 12/05/2009, 1:40 PM |
|
Hi! As for me, I usually create my custom css file where I overload standart styles. Then I include my custom css file into pages where I want these styles. If I have several css files to include into few or more pages I create an Includable Page with the inclusions of css files and I include this Includable Page into pages where I want my styles to be. You can choose your way
_________________
http://starikovs.com |
 |
 |