Remove Inline code from p tag i.e
p
{
float: left;
padding-left: 2%;
width: 60%;
}
and remove float:left from img tag
More Related Contents:
- How to place elements like this
- Hide scroll bar, but while still being able to scroll
- Flexbox code working on all browsers except Safari. Why?
- Position absolute but relative to parent
- How to style the option of an html “select” element?
- css ‘pointer-events’ property alternative for IE
- What is the effect of encoding an image in base64?
- Should I embed images as data/base64 in CSS or HTML
- How to show text on image when hovering?
- Fixed header table with horizontal scrollbar and vertical scrollbar on
- Ordered list (HTML) lower-alpha with right parentheses?
- How to get box-shadow on left & right sides only
- Vertical align not working on inline-block
- Add padding at the beginning and end of each line of text
- CSS: Vertically align div when no fixed size of the div is known
- Flex item should align left, not center, when it wraps
- Why does my Transform snap back?
- Dynamically aligning pseudo element according to parent height
- Is there a way to use use text as the background with CSS?
- Exclude menu item from the collapse of bootstrap 3 navbar
- CSS Select box arrow style
- Text Padding in Select Boxes
- CSS border color switch animation: “from” color not correct
- The border-radius property and border-collapse:collapse don’t mix. How can I use border-radius to create a collapsed table with rounded corners?
- Pixelated edge around a CSS Circle with overflow: hidden;
- How to change font-family of drop down’s list item?
- sticky position on css grid items
- Can you style ordered list numbers?
- Div with horizontal scrolling only
- Best Way to do Columns in HTML/CSS