Inline-block, what the fuck
https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-431245.jpg?dateline=1473556056
#1
I'm trying to get two inline-blocks to sit next to eachother but for fucks sake it's not working. I'm not completely braindead but I have no idea why this isn't working. Code is shit, made a new setup just to troubleshoot this so don't judge it. Please help me.

HTML:
Code:
<div class="box">
  <div class="child">first</div>
  <div class="child">what the fuck</div>
</div>


CSS:
Code:
.box {
display:block;
width:100%;
}
.child {
display:inline-block;
width:50%;
background:red;
}

What it looks like:
[Image: 78908c8109874346866da72189d78332.png]
Reply
https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-431245.jpg?dateline=1473556056
#2
Also float is not an option.
Reply
https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-74599.jpg?dateline=1519854641
#3
Why isn't float an option? Just set [icode]overflow:hidden[/icode] on the parent
Reply
https://i.imgur.com/3kqBoC7.jpg?dateline=1542091882
#4
When the children are on new lines it creates a space between them which is what causes this. Add a comment between the children like this:

Code:
<div class="parent">
   <div class="child">
       ecks
   </div><!--
   --><div class="child">
       dee
   </div>
</div>
Doesn't require float.
Drop top BM's, I'm the man girlfriend
Reply
#5
Prescription Medications Diflucan Pak Dosage Dangers Of Taking Expired Keflex [/url] Substitute For Propecia Cialis Hipertension Super Cialis 40 Mg Generique Levitra Prix Discount Feline Dosage For Amoxicillin [url=http://tadalaffbuy.com]online pharmacy Buy Levitra Online 20mg Amoxicillin 500mg Walmart Prices

Buy Cheap Levitra Finasteride Nausea Propecia cheap levitra canada Prix Du Levitra Generique

Priligy 15mg generic cialis overnight delivery Prix De Cytotec Au Maroc Cheap Cialis And Viagra Pak Generic Is Cialis Cheaper Than Viagra Kamagra And Viagra generic cialis canada Viagra Tadalafil Doxycycline Hyclate 100mg Cap Buy Vigra
Doryx Bacterial Infections Buying Low Price Pharmacy On Line cialis Kamagra Online Now
Reply
#6
Pastillas Cialis Levitra Propecia Side Effects Itch cheapest cialis 20mg Cialis Schwul Viagra Yeux Rouges Viagra Prix Pfizer En Paris generic cialis from india Zithromax Problems Buy Cheap Cialis Uk levitra no me funciona Clobetasol 30g Eczema Website Elocon Get Amex Accepted Buy Cheap Generic Cialis Uk

Comprar Cialis En Farmacia Sin Receta generic cialis canada Effets Secondaires De Priligy 30mg De Farmacia Online Cialis Generico Viagra Rezeptfrei Schweiz Viagra India Pill Prednisone Online Pharmacy buy viagra Livraison Levitra Buy Plavix 75 Mg Uk viagra Cialis O Viagra Cual Es Mejor Brand Name Propecia Become Pregnant Prinivil Discount Stendra Quick Shipping Website Overseas Cod Accepted cialis no prescription Zithromax Tooth Infection Symptoms From Amoxicillin

Internet Based Drug Stores Best Price For Levitra 20mg tadalafil cialis from india Propecia Usos Misoprostol Oral cheapest cialis 20mg accutane venta online What Is Zithromax Good For Cytotec Et Maladie Zyrtec Cialis 5mg Vs 10mg online cialis Zithromax Gonorrhea And Chlamydia Prix Officiel Cialis Pharmacie viagra Amoxicillin Without Cephalexin Cross Reactant Generic Diflucan No Prescription Needed canadian pharmacy cialis 20mg Isotretinoin cod accepted website Levitra Prescription Pediatric Once Daily Dosing Of Amoxicillin
Doryx Bacterial Infections Buying Low Price Pharmacy On Line cialis Kamagra Online Now
Reply




Users browsing this thread: 1 Guest(s)