Search This Blog

Tuesday, July 26, 2011

Div width not obeying css style

Ok, so this problem may have been asked before, but no one seems to have my exact problem. When I put a set of inline

‘s inside an inline div and then put the width to 100%, instead of expanding to the width of it’s parent element it sticks at just the width it needs to fit it’s

elements. Here is the code












T

HE

N

AME

| BOB JONES


|

1855-ANUMBER









I’m pretty sure that this is super obvious, but I don’t understand CSS and HTML that well.

P.S. I’ve already tried taking out the div inside that floats right, and that doesn’t solve it

http://bit.ly/r1wy4x

No comments:

Post a Comment