Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Sideboxes gone wrong.

    Well, yes the sideboxes are not standard but this is not what is messing witht he horizontal alignment.

    The truck image as it is takes the whole width of the sidebox. The images themselves have white/transparent borders left and right. To get rid of those borders you need to edit the image itself.

  2. #2
    Join Date
    Aug 2007
    Posts
    109
    Plugin Contributions
    0

    Default Re: Sideboxes gone wrong.

    Thanks for the reply, the image doesnt havent white/transparent borders left to right, its exactly the right pixel dimensions. Ill have a play around with some css im sure ill get it soon!

  3. #3
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Sideboxes gone wrong.

    Attached is screenshot with the images highlighted. The image is 159px wide. The truck is about 145px wide. So you have 14px of white space.

    I would get rid of the sideboxes that you are using which are causing some dubious code and have a look at the blank sidebox mod and use that.

    But maybe I am misunderstanding what you are trying to do.

    At the moment the css for the class sideboxContent looks like:

    Code:
    .sideBoxContent {
    
    	background-color: #ffffff;
    
    	padding: 0.4em;
    
    	}
    Which means that the box that the image is sitting in has some padding. If the image is the width of the containing element it will not fit properly. The width of the containing element needs to be the width of the image plus the padding.

    So, perhaps you need to get rid of the padding?
    Attached Images Attached Images  

  4. #4
    Join Date
    Aug 2007
    Posts
    109
    Plugin Contributions
    0

    Default Re: Sideboxes gone wrong.

    Hi, i had a play around with the css of bannerboxallcontent and managed to solve.

    Many thanks

 

 

Similar Threads

  1. What's gone wrong?
    By Value Plus in forum Basic Configuration
    Replies: 2
    Last Post: 2 Aug 2012, 05:53 PM
  2. Sideboxes gone
    By natasja235 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Nov 2009, 09:34 PM
  3. Custom layout gone wrong..
    By dandownunder in forum Basic Configuration
    Replies: 3
    Last Post: 7 Jun 2006, 08:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg