1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

CSS Removing Right-side block on Counterstrike

Discussion in 'Web Development' started by morecowbell, Jul 15, 2008.

  1. morecowbell

    morecowbell New Member

    Counterstrike - beautiful template.

    For my website I don't need the container on the right-hand side (the section with the soldier images), so I've removed it. The problem is that I can't figure out how to change the CSS so that the central containers stretch to the right to pick up the extra space.

    I'm not a CSS wizz, I've tried for about 4 hours with no luck. Any help would be greatly appreciated.

    Cheers.
     
  2. barbinflorida

    barbinflorida New Member

    exactly my question too! if you have figured this out please let me know. are you changing colors too? I have not looked at the code yet but assume it is easy to spot. I will post if I stumble across the right answer. tia.
     
  3. barbinflorida

    barbinflorida New Member

    Ok, the image will not expand because of the size of the top and bottom graphics. The will need to be made wider, to the width you want that space to be. Name your expanded graphics, top and bottom, just the same and they should work-that is what I am going to do.
    Now, what did you remove in order to eliminate the right side graphic? I have identified where it is in the code but am not sure what to take out so I won't mess up the code for the rest of the page.

    thanks, barb
     
  4. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Which counterstrike template page 4 or 8?
    If you are not sure about the code, then use the comment command.
    <!-- <some code>

     
  5. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Every time I hit the tab key my post uploads, sorry. Here is the right code.
    <!-- <div> <some code> </div> -->
    comments are mainly used for infomation and will not display in your browser on the web page, so if you comment out the section of code, you can then see how your page will work or not.
    When you are happy with it, go back and then delete the code. Otherwise you will have extra work to contend with.