Search
 
SCRIPT & CODE EXAMPLE
 

CSS

inline block and 50% width not aligning items

body{
  margin: 0; /* removing the default body margin */
}

div{
  display: inline-block;
  width: 50%;
}

.left{
  background-color: aqua;
}

.right{
  background-color: gold;
}
Comment

PREVIOUS NEXT
Code Example
Css :: are the iphone dimensions widht then height 
Css :: ahk borderless fullscreen 
Css :: position relative goes on top of position fixed 
Css :: spaziatura caratteri css 
Css :: pixel to inches 
Css :: indexes 
Css :: patterns with css 
Css :: exclude html content when print 
Css :: css class for table 
Css :: How to make a pixel in css 
Css :: css hide select label 
Css :: reset css simples 
Css :: CSS The !important 
Css :: css border-boz 
Css :: map arrays 
Css :: table vertical align middle 
Css :: css child selector 
Css :: background in css 
Css :: fortnite pc size 2022 
Css :: class html css 
Css :: background image animation css codepen 
Css :: css chat 
Css :: transparent circle css 
Css :: gradient generator 
Css :: flex property in css 
Css :: label for centered image 
Css :: importer police de caractère ds css 
Css :: no nobr substitute in html 
Css :: -webkit-animation css 
Css :: sasas 
ADD CONTENT
Topic
Content
Source link
Name
8+3 =