This is a discussion on "CSS thumbnails - overriding margins" within the Web Page Design section. This forum, and the thread "CSS thumbnails - overriding margins are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS thumbnails - overriding margins
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
CSS thumbnails - overriding margins
Hello all,
I'm new here and looking forward to learning from all the experts out there! I have a slight problem on a page I'm currently working on: http://www.customportraits.co.uk/cus...-cssedit.shtml As you can see I've added right and bottom margins to the links/images just to space out the CSS thumbnails. However I am trying to override the right hand images with a class (class="thumbsnopad") with no right margin, so that it fits into the the overall layout. However it doesn't seem to be working and the right side images are just breaking onto the next line. It supposed to be lke this (but I've been told the coding is clumsy): http://www.customportraits.co.uk/cus...-gallery.shtml I would be most grateful if anybody can have a look and tell me where I'm going wrong. Thanks, PJC |
|
|
|
|||
|
Re: CSS thumbnails - overriding margins
It's a little difficult for me to know for sure because you don't have any width's specified for the images in the lists.
But looking at the properties of the images some are 254 px wide and some are 255px wide. My guess is if you just reduced the margin-right on the thumbs a you'll be able to fit those three on a line.
|
![]() |
| Tags |
| margins, thumbnails |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Overriding a pre-existing webpage | gidgetgirl | Starting Out | 17 | Oct 5th, 2007 12:52 |
| Overriding display:inline-block | gazzou | Web Page Design | 0 | Aug 27th, 2007 12:03 |
| ff margins | Dapandyman | Web Page Design | 10 | Feb 12th, 2007 23:03 |
| Overriding pre-set text/font size | autumn_whispers2me | Web Page Design | 10 | Apr 25th, 2005 17:24 |
| body margins | benbacardi | Web Page Design | 2 | Apr 10th, 2004 14:51 |