View Full Version : Div trouble


nick6425
08-05-2004, 11:28 PM
I have two websites that are currently operational (adifferentopinion.com, and pinkandgreen.org), and they both share a problem. When I designed those layouts, I was on a PC. Now I come to the mac. And I see that the div elements do not behave like they did on my PC. I fixed most of the problems, except I can't get my head around one. I have the websites running with MT, and put the divs in a .shtml, and did a <!--include virtual="blah.html"--> and MT updates blah.html. But the problem is, on the windows the div elements expanded to cover all the text. In Safari (mac browser) the divs are stationary, and do not expand to contain all of it, and it looks bad. Is there anything I can put in the stylesheet or html documents?

jazzberry
08-06-2004, 12:08 AM
could you make the div's a certain width in your stylesheet?

width: #px

do you have a copy of the code? it'd be easier to help you :)

nick6425
08-06-2004, 02:26 AM
could you make the div's a certain width in your stylesheet?

width: #px

do you have a copy of the code? it'd be easier to help you :)

http://www.adifferentopinion.com/stylesheet.css

http://www.pinkandgreen.org/stylesheet.css

The problem div is called 'content'. I make the divs a certain width, the text stays that width. It runs DOWN the page.

jazzberry
08-06-2004, 02:46 AM
ooh. try adding

overflow: auto;