Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Bear Bibeault
  • Liutauras Vilda
  • Devaka Cooray
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

2 Divs: problems with positioning

 
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello, I have this code below:



My problem is that content div WILL NOT display appropriately.

I cannot use position:absolute.

My question is: can anyone think of something that I can do which does not involve position: absolute to position this div to the right of the other div?

This is killing me!

Thanks,
Michele





 
Marshal
Posts: 67357
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
Did this not get addressed in your other post?

Also, that's way too much code to wade through. Create an SSCCE that demonstrates the problem and wither post it here, or as a JsFiddle.
 
Michele Smith
Ranch Hand
Posts: 421
  • Mark post as helpful
  • send pies
  • Report post to moderator
I don't know if you can see this or not, but my layout requires there to be two divs sitting next to each other.

I tried to mock it up and I put your div solution you recommended at the bottom to show a contrast.

Thanks,
Michele
screenshot.png
[Thumbnail for screenshot.png]
Screenshot of my layout
 
Bear Bibeault
Marshal
Posts: 67357
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
OK, not sure what the question is at this point. Your example looks like you've got your sidebar and your content side by side.

In any case, let's continue any discussion in the original topic.
 
He baked a muffin that stole my car! And this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!