rté.ie - centre


RTÉ just updated their site design - unfortunately still not centring the site

I was using:
@-moz-document domain(rte.ie) {
body {
margin:auto !important;
width:910px !important;
to centre it but this is interfering with the shadow effect they have employed

how do I fix this ?


  • @namespace url(http://www.w3.org/1999/xhtml);

    @-moz-document domain(rte.ie) {
    [class="wrapperGrey"] { padding-left: 7% ! important; padding-right: 8% ! important; width: 85% ! important; }
  • thanks weishun

    but that doesn't seem to do it

    'wrapperGrey' seems to be only a div across the top of some pages - I'm confused

    the image seems to be http://www.rte.ie/images/bg.png
  • edited January 2007
    oops...I didn't go beyond the main page but that gives you the method...all you should have to do is change the selector to "body".
  • i changed it to
    @-moz-document domain(rte.ie) {

    body { padding-left: 7% !important; padding-right: 8% !important; width: 85% !important; }
    but it still is obscuring the shadow effect
  • My misunderstanding; I thought the objective was to center the content. I'll have another look, at it, to-night.
  • @namespace url(http://www.w3.org/1999/xhtml);
    @-moz-document domain("rte.ie") {
    body { margin-left: 7% ! important; background-position: -25% ! important; }
    [id="towerBanner"] { display: none ! important; }
  • Why
    and not
  • 'cause I could post the [id="towerBanner"] in less time, without having to touch the keyboard. 8-þ
  • thanks again weishun

    yeah i did want it centred but also to maintain the shadow effect
Sign In or Register to comment.