Win a 3 month subscription to Marco Behler Videos this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Cannot control width in css  RSS feed

 
Rocky Rocha
Ranch Hand
Posts: 40
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
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66047
141
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!