×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: General Alignment of JoomlaComment

General Alignment of JoomlaComment 14 years 7 months ago #9410

  • Marcel
  • Marcel's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi there - I am using your JoomComment and it works fine. I have changed everything to my desire - using www.ds2.nl/media/myjosctemplates/mymodern/css/black.css

But I just can't get JoomlaComment centered on my pages... ???
tried almost everything -

My website is under construction - but i have an example for you at :
www.ds2.nl/index.php?option=com_content&...icle&id=47&Itemid=54

Could you please advice me about this...???

Thanks...

General Alignment of JoomlaComment 14 years 7 months ago #9412

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
you container has a width of 100% and you cannot center anything in it, because the browser thinks that everything is centered since it takes 100% of your page.

To align it add to your #container a width of 960px or so.

General Alignment of JoomlaComment 14 years 7 months ago #9414

  • Marcel
  • Marcel's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
(thx for your superfast reply!!!)

Putting the container width at 990px works fine, but for future purposes i'd like to keep it a 100% - isn't it possible just to center the JoomlaComment? I've also tried adding #comment {text-align:center;} - but it doesn't listen to it.

Thx.

General Alignment of JoomlaComment 14 years 7 months ago #9415

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
then make the comment div widh 960px and set margin: 0 auto;
  • Page:
  • 1
Time to create page: 0.104 seconds