• Post Reply 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
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Cannot control width in css  RSS feed

 
Ranch Hand
Posts: 81
Android Chrome Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem where my divs take up the entire screen width when I only want them to take up 75% width.


and my css

the link to the site is https://ramirorocha.com/contact
 
Sheriff
Posts: 67257
170
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the browser, right click on the element in question and select "Inspect". This will open the browser debugger and show you information about the element including the CSS applied.

That's way too much code to wade through. Either pare it down to an SSCCE, or point out where you believe you are telling an element to be the width you desire.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!