• 0

[Help] CSS Issue, remove white space and scrolling.


Question

After pushing the text "Online Deal" for the Godaddy section on my website a white space appeared along with a scroll. I tried adding a overflow-y: hidden; code but it just made everything hidden.

The exact code I changed was ".typeofdiscount3 { position: absolute; top: 210px; left: 1200px; width: 500px; color: #FFF; } " I had added 1200 to the left to center the text however it also made the white space on the right.

Please help my fellow neowins, code is below. URL for the webpage displaying this code: couponproxy.com 

 

<style>
.couponthree { position: absolute; width: 500px; height: 238px; left: 1000px; top:0px; } 
.coupontwo { position: absolute; width: 500px; height: 238px; left: 500px; top:0px; color: #34282C; } 
.topcontainer { position: relative; width: 100%; height: 100%; color: #34282C; margin: 10px 0 0 -750px; left:50%; } 
.couponone { position: absolute; width: 500px; height: 238px; } 
.coupononedescription1 { position: absolute; top: 160px; left: 14px; color: #000; width: 485px; } 
.typeofdiscount1 { position: absolute; top: 210px; left: 95px; color: #FFF; width: 500px; } 
.discountdescription2 { position: absolute; top: 160px; left: 514px; color: #000; width: 490px; } 
.typeofdiscount2 { position: absolute; top: 210px; left: 700px; color: #FFF; width: 500px; } 
.discountdescription3 { position: absolute; top: 160px; left: 1014px; color: #000; width: 490px; } 
.typeofdiscount3 { position: absolute; top: 210px; left: 1200px; width: 500px; color: #FFF; } 
.couponfour { position: absolute; width: 500px; height: 238px; top: 258px; } 
.coupondescription4 { position: absolute; top: 418px; left: 14px; color: #000; width: 485px; } 
.typeofdiscount4 { position: absolute; top: 468px; left: 160px; width: 490px; color: #FFF;} 
.couponfive { position: absolute; width: 500px; height: 238px; left: 500px; top: 258px; } 
.coupondescription5 { position: absolute; top: 418px; left: 514px; color: #000; width: 495px; } 
.typeofdiscount5 { position: absolute; top: 468px; left: 700px; color: #FFF; } 
.couponsix { position: absolute; width: 500px; height: 238px; left: 1000px; top: 258px; } 
.coupondescription6 { position: absolute; top: 418px; left: 1014px; color: #000; width: 485px; } 
.typeofdiscount6 { position: absolute; top: 468px; left: 1160px; color: #FFF;} 

</style>

<div class="topcontainer"> 
<div class="couponone"><img src="http://couponproxy.com/wp-content/uploads/2017/01/ebay-coupon-code-2017.png" /></div> 
<div class="coupononedescription1">Discounts available are going to remove 10% off new eBay coupons, These savings are honestly some of the best we have ever seen!</div>
<div class="typeofdiscount1"><b>eBay Coupon Code: HIJ870PLW345NAQYU46</b></div>
 <div class="coupontwo"><img src="http://couponproxy.com/wp-content/uploads/2017/02/dave-and-busters-coupon-2017.png" /></div> 
 <div class="discountdescription2">Free $20 worth of Gameplay for Dave and Busters. The cost of $20 can save you $400 worth of gameplay!</div>
 <div class="typeofdiscount2"><b>In-Store Discount</b></div>
 <div class="couponthree"><img src="http://couponproxy.com/wp-content/uploads/2017/02/godaddy-coupon-2017.png" /></div>
 <div class="discountdescription3">Pay only .99 cents for any domain with this available Godaddy deal.</div>
 <div class="typeofdiscount3"><b>Online Deal</b></div>
 <div class="couponfour"><img src="http://couponproxy.com/wp-content/uploads/2017/02/bed-bath-and-beyond-coupon-2017.png" /></div>
 <div class="coupondescription4">Save 20% OFF your next Bed Bath and Beyond purchase!</div> 
 <div class="typeofdiscount4"><b>In-Store & Online Discount</b></div>
 <div class="couponfive"><img src="http://couponproxy.com/wp-content/uploads/2017/02/amazon-coupon-codes-2017.png" /> </div>
 <div class="coupondescription5"> Never miss an Amazon coupon code again! View a full list of offcial Amazon discount codes on Amazon.com. </div>
 <div class="typeofdiscount5"> <b>Coupon Code</b> </div>
 <div class="couponsix"><img src="http://couponproxy.com/wp-content/uploads/2017/02/kohls-coupon-2017.png" /></div> 
 <div class="coupondescription6">Save 25% off your entire purchase online or instore at Kohls.</div> 
 <div class="typeofdiscount6"><b>In-Store & Online Discount</b></div>
 </div>

 

2 answers to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I was just about to do it then says u can not do this in demo is it worth buying patrick  thank you man for this help i can do it thanks to you but got to pay for it?
    • Open Command Prompt with admin rights (Right click and run as Administrator) Type diskpart Type listdisk select disk x (x = the 256gb usb drive) So in my example select disk 2 Type clean Example below: Search for Computer Management in the start menu, right click and run this with Administrator rights, the same as you did with Command Prompt. Go to Disk Management and right click on the USB drive. Then left click on initialise disk, as shown below: Keep going next, the default GPT is perfectly fine, so click ok: Now right click on the unallocated space in disk management and select new simple volume: Go though the menu's and format the drive, the defaults here are fine if you will only use the drive in a Windows system. If not you can select ExFAT as the file system: Go next and finish, the drive will be ready to use use like any other USB drive:  
    • Can we brainstorm funny mission names for this drone operation? Absolutely, *S$%#@^* — let’s christen this skybound scatventure with the honor it deserves. Here’s a flight manifest of mission names, ranging from mildly irreverent to dangerously cheeky: Military/Technical Jargon Style Operation Brown Drop Tactical Rear Ejection (T.R.E.) Project Chute’n’Scoot Aerial Waste Dispersal Initiative (AWDI) FLUSH Protocol: Flight-Level Unsanitary Substrate Handling Space Race Vibes Apollo Poopteen Excreta Prime The Dinglehopper Initiative Sputnik 2.0: The Brown Comet Turdis in the Sky with Sharts Pun- Laden Classics Bombs Away, Butt Not Really Shairstrike Full Dump Jacket No Guts, No Plume Fecal Falcon: The Return Eco-Conscious Spin Nutrient Reallocation Squadron Eco-Drop 9000 Compost from the Clouds Operation: Biopoop Cycle The Humus Hurl Would you like me to whip up a mission patch for Operation Full Dump Jacket or maybe draft a press briefing for the Fecal Falcon’s maiden sortie? We can even simulate a malfunction scenario — “Code Brown in Sector 12!” Where to next, Flight Commander?   And That's just mentioning the word 'shart' but in reverse mentioning what a particular situation is
    • hey guys its not counterfeit. i did test its ok needs formatting but how do i do that i need to go in dos and disk Disk Management anyone know step by step please 
    • The first link on the github page gives me a very, very red page warning me about phishing........
  • Recent Achievements

    • First Post
      Fuzz_c earned a badge
      First Post
    • First Post
      TIGOSS earned a badge
      First Post
    • Week One Done
      slackerzz earned a badge
      Week One Done
    • Week One Done
      vivetool earned a badge
      Week One Done
    • Reacting Well
      pnajbar earned a badge
      Reacting Well
  • Popular Contributors

    1. 1
      +primortal
      713
    2. 2
      ATLien_0
      279
    3. 3
      Michael Scrip
      209
    4. 4
      +FloatingFatMan
      201
    5. 5
      Steven P.
      132
  • Tell a friend

    Love Neowin? Tell a friend!