2 replies [Last post]
gibby3164
Offline
newbie
Last seen: 13 years 45 weeks ago
Joined: 2008-03-13
Posts: 2
Points: 0

I have a div that has a set width of 831px. In dreamweaver it is displaying past 831px, and when I roll over the div when it's selected, it displays the css properties and shows "width: 831px (855px)" Obviously it is for some reason setting it to 855, but I don't know why? The actual css is:

.detailscontainer {
width:831px;
margin:auto;
background-color: #FFFFFF;
height: 100%;
}

Any guidance would be appreciated!

Katie
Katie's picture
Offline
Enthusiast
Seattle, WA
Last seen: 6 years 11 weeks ago
Seattle, WA
Timezone: GMT-8
Joined: 2006-08-06
Posts: 357
Points: 2

Perhaps there's some padding

Perhaps there's some padding on that div?

Can you post a link to the page, or all of the code - both the HTML and the CSS?

Blog: Pew Pew Laser Blog
Online File Storage: DropBox
Daily Deals on Local Activities: Groupon

gibby3164
Offline
newbie
Last seen: 13 years 45 weeks ago
Joined: 2008-03-13
Posts: 2
Points: 0

Ok that issue is resolved,

Ok that issue is resolved, there was padding on another div that was inside that one! Thanks!