Solved

Side By Side <Div>

Posted on 2014-01-22
5
229 Views
Last Modified: 2014-01-23
I am trying  to add a <Div> "Yellow" to the right of the of the body of text that begins with Skiptracer.  However; the <Div> always ends up under and not to the right.  How can I fix this?  Thank you.

http://www.mediascrubber.com/skip.html
0
Comment
Question by:DS928
  • 2
  • 2
5 Comments
 
LVL 34

Accepted Solution

by:
Dan Craciun earned 250 total points
Comment Utility
Add float:left; to your Methodology div and float:right; to your yellow div.

PS: inline CSS is usually a bad idea...

HTH,
Dan
0
 
LVL 4

Assisted Solution

by:ravikantninave
ravikantninave earned 250 total points
Comment Utility
use float:left or try to use float:right
after div do not forget to use <div style="clear:both"></div>
0
 

Author Comment

by:DS928
Comment Utility
The divs are left and right but the yellow needs to be at the top right.  its still at the bottom.
 <div align="left" style="padding-left:72px; float:left;"<h2><strong>METHODOLOGY</strong></h2></div>

Open in new window


<div align="left" style="background-color:#f8ea04;width:200px; float:right;">Yellow</div>

Open in new window

0
 
LVL 4

Expert Comment

by:ravikantninave
Comment Utility
margin-top:- some value
0
 

Author Comment

by:DS928
Comment Utility
I moved it up and it worked.  Thank you all.
<div align="left" style="padding-left:72px; "<h2><strong>METHODOLOGY</strong></h2></div>
    <div align="left" style="background-color:#f8ea04;width:200px; float:right;">Yellow</div>
    <div align="left" style="width:630px;padding-left:72px">

Open in new window

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now