Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

I need a Little Help with a project

  • 14-04-2011 2:13pm
    #1
    Registered Users, Registered Users 2 Posts: 168 ✭✭


    I am redesigning a new website, I need help with the code to center the digital book on my website. I would also like to move the digital book down a little from the links bar.

    http://www.irishmediaguide.com/Media%20New.html

    Any help would be much appreciated.

    Brendan


Comments

  • Registered Users, Registered Users 2 Posts: 213 ✭✭Hoku


    Firstly, I'd advise you to really clean up the code on the page.
    Use CSS rather than line-breaks and random blank paragraphs to space out your content.

    Now on to the issue itself.

    The <div class="content"> in which the digital book is nested - you should rename that to something else... Something more relevant. Since the feature is unique (to this page anyway), you could use id instead of class. It really depends what you have planned for the website.

    Anyway, once that's done, add this little piece of CSS to any of your stylesheets:
    div .digitalbook table {margin: 10px auto; text-align: center; clear: both;}
    
    In this example, I assumed that the class name of the div is digitalbook. If you opt for the id version, then use #digitalbook instead of .digitalbook

    Should work, if all tags are correctly matched..


  • Registered Users, Registered Users 2 Posts: 168 ✭✭Brendan552004


    Thank you very much for your very kind advice.

    Brendan


Advertisement