Jump to content
Killersites Forums


  • Posts

  • Joined

  • Last visited

theo's Achievements


Newbie (1/14)



  1. Hey everyone, I'm currently trying to get my head around a subject which seems to be poorly explained by others, however, and I was wondering if any of you might have a good explanation? I'm trying to work out what static classes are in OOP and how they differ from instance classes. Hope someone can help clear this up for me. Many thanks, Theo.
  2. I have a navbar which is a bit like the one found here ( http://www.bbc.co.uk/iplayer/ ), however with mine I would like to have left and right (previous and next) arrows which will display less/more of the item in my html unordered list. Does anyone know if this is possible and how I would go about doing it? I'm thinking that it might be a case of using javascript to move things around in the unordered list which I styled into a navbar. The only problem is that sometimes the text might be too long to fit and so might disappear off the right-hand side of the page - so it would need to be able to somehow detect this. The other way would be to do it in the same way that images carousel (such as those found on the iplayer website), however then you'd have to make all of the list items equal width, and this might not be the best solution as I probably won't be able to fit much on the navbar. - You should know that this part of the navbar is displaying a long list of genres all the way across. Any thoughts on this? Thanks, Theo.
  3. Yes that is what I have. But thanks anyway.
  4. Interesting, I just realised that iplayer (www.bbc.co.uk/iplayer) uses this, or a very similar, method. So go there if you want a working example (check out http://www.bbc.co.uk/iplayer/r10471/style/img/page_bg.gif)
  5. OK I'll upload a sample page which shows you it. Where's a good free place to upload to?
  6. OK, thanks for the advice. I'm interested though, has anyone here ever used this background-border method before?
  7. Once it is finished I'll upload it and show you.
  8. Sorry, I shoud have said that yes, I have a central content div of 1009px wide. As I said, the reason why I need it in a separate div and not as part of the body is that I am already using the body to display a downwards gradient and a dark grey color below this (i.e. background: #color url(gradient.gif)). I'm not bothered about scrolling at resolutions below 1024 though. It's not failproof I know, however it doesn't matter a huge amount if the scroll bar varies, as you then just see a bit more of the border if the page is too short to need a scroll bar. Is there a recommended maximum width to ensure that a web page will fit the 1024px size minus scroll bar width though?
  9. I've worked it out. It was staring me right in the face really. Basically all you have to do is to create a div with width:100%, then use a background image which is 10pxls larger on either side of the resolution (in this case 1024px, but what is in reality 1009px once the scroll bar has taken 15pxls) which you intend to border, centre it and repeat-y. The code: And hey presto! you have borders which won't add to the width of the page/reduce the size of the page which you are able to work with.
  10. Yes it is the horizontal scroll bar which I am trying to avoid. My method of using a centred image does work as I said, but anyone go any other ideas?
  11. Hi all again, This isn't my site, but it highlights the highlight problem which I am having with the search box on my page. In Firefox go to http://www.cherrieboxmedia.com and take a look at what happens when you have clicked on the username or password box and then move your cursor around. You'll notice that the bottom of the blue highlight which surrounds the box is bigger than it is meant to be and flashing a little bit. Does anyone have any idea why it does this? Cheers, Theo.
  12. Hi all, I'm trying to do something which might be quite unique, so I'll understand if no-one has an answer. Basically, due to space constraints, I'd like my page to have 10px borders left and right only as the browser window moves beyond 1024px. I have achieved this with a background image which is centred, however this method is not ideal, because it means that I need a very large image to cater for all resolutions (because I also have a downwards gradient outside the borders). So I guess my question is whether there is a way of creating 'outside (i.e. 1024px + 10px either side) borders' which don't affect the width of the page? Many thanks, Theo.
  • Create New...