Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Drae

  • Rank

Profile Information

  • Gender
  1. No reason - just trying to position it correctly (and not have things behind them). Thanks Dave for that example. I'll have a good look at it after work today and then reply here again undoubtedly.
  2. Thanks guys! Here's a basic mock-up. At the moment I have six of the floating elements and ideally would like to part them into two sections (three above in one line, three more below) with the option of adding more. The sidebar on the right hand also floats at the moment and should not overlap with the floating box choices. I've done the floating boxes on the left as div classes if that helps (tried spanning it but didn't quite work out). I'm also aiming to make it responsive. Relevant coding is now like this: .drae-bb {float: left;display: block;width: 10%;height: 200px;bac
  3. Here is the coding for the floating elements: .drae-bb {float: left;width: 200px;height: 200px;background: #180028;opacity: 1;margin: 10px 6px 10px;padding: 6px;border: 1px solid #2a0044;font-size: 20px;text-align: center;line-height: 3;} They need to be in line within a set space before they then begin a new line below. At the moment I have not coded the non-floating element as when I did earlier it did not contain them. Would it help to see a mockup of what I am trying to accomplish?
  4. Hey guys! I currently have some floating elements that I would like to wrap with a non-floating element so that they display in the correct positioning. What is the best way to do this?
  5. Just double-checked my reference book and w3school's way of dealing with lis, and it closes them like I did in my snippet above? Something's not quite working either way. What's the correct way to hide the drop-down options that shouldn't display until their parent class is hovered over? This is the coding at present: #topbar-container { background: #dbd2b3; border-bottom: 1px solid #67624c; color: #67624c; line-height: 48px; font-size: 16px; height: 48px; margin-top: 0px; margin-left: auto; margin-right: auto;
  6. Thanks guys! I'm learning javascript slowly at the moment and will be learning php after, so for the time being I'll tell my client of some other options. Thanks again!
  7. Am I right in thinking that if I wanted to build a website that is password protected, I would need javascript to create the password specific bits? Would I also need to know sql?
  8. Thanks! To position the drop-downs so they display correctly underneath their parent ul, keeping in mind I'm trying to centre the menu, what would be the best way to code it's positioning?
  9. I'm working on a drop-down menu for someone and it's the largest one I've had to do yet (drop-downs are not a strong point of mine, and the largest I've ever had to do only had the one layer of drop-downs). This particular menu I want to have centered, along with it's drop-downs, and I was advised to code the first set of uls like this: This is the HTML for the menu: <ul class="topbar"> <li><a href="">News</a></li> <ul><li><a href="">Blog</a></li> <li><a href="">Podcasts</a><
  10. I am having difficulty coding the CSS for this drop-down - the only reference book I have for drop-downs floats everything and the w3school tut doesn't go into more complicated drop-downs. I've not needed to do one as complicated as this one before for anyone either. I'm having to replicate the menu from the client's wordpress for their forum skin I'm making for them. The largest layer of the menu is this: ul li ul li ul li ul li ul li ul li Any suggestions for where to start?
  11. Drae

    User posted comments

    That's pretty much what ran through my mind when the person asked if I could do it, though it doesn't seem to be a suitable solution for them. Thanks though
  12. Drae

    User posted comments

    I couldn't figure out the best place to post this, but if I wanted to create a website that would enable guests to post comments (possibly registered as well), what would I need to know coding-wise?
  13. Seems to be every time I come here it's because of suckerfish menus. Ah well! What is the best way to code a suckerfish so that you can center it's links? The way I know uses the float property which means I get stuck with aligning it to the left or right at present.
  14. Drae


    I'm working on a website design at the moment which holds all the content in a container. Here is the container's CSS: #container {width: 980px;background: #ededed;min-height: 1200px;border-left: #000 1px solid;border-right: #000 1px solid;margin: auto;border-radius: 20px;box-shadow: 2px 2px 4px #888888;z-index: -1;} I'm having a problem though as if the content goes over the minimum height for the container, the container does not expand. How do I make it expand automatically by taking into account the content held within it on the webpage itself?
  • Create New...