Forums
This topic is locked
CSS Layout Problems
Posted 21 Dec 2006 23:25:51
1
has voted
21 Dec 2006 23:25:51 Corey Burns posted:
I am having a lot of problem with my layout in Dreamweaver. The graphic won't repeat vertically which should be easy but its just not wanting to do it. I'm guessing there is a problem with the divs in the main but I've been racking my brain all day on this. URL: burns-animations.com/guru/vision/
CSS: burns-animations.com/guru/vision/css/visionStyleMain.css
Thanks in advance!
Corey
Replies
Replied 22 Dec 2006 18:31:22
22 Dec 2006 18:31:22 Alan C replied:
Corey,
I took a quick look - too much CSS there to spend a lot of time on, and a lot of background images, without wading through I can't really tell whether you need them all or not. In your source there are a lot of divs that are empty, there is an /div on the same line as div and nothing inside.
I tried to validate your CSS but . . . the validator says there is no </body> tag, I had a look and there is one.
I suggest that you get Firefox (if you're not already using it) and add the developer toolbar, from that you can edit the CSS directly and observe the changes immediately on the live or a copy site. I did try that - but when I tried the Edit CSS command all your top images disappeared - I've not seen that before.
Your idea about the divs sounds right, how about checking the nesting of the divs and stripping out all the empty ones for a start.
I took a quick look - too much CSS there to spend a lot of time on, and a lot of background images, without wading through I can't really tell whether you need them all or not. In your source there are a lot of divs that are empty, there is an /div on the same line as div and nothing inside.
I tried to validate your CSS but . . . the validator says there is no </body> tag, I had a look and there is one.
I suggest that you get Firefox (if you're not already using it) and add the developer toolbar, from that you can edit the CSS directly and observe the changes immediately on the live or a copy site. I did try that - but when I tried the Edit CSS command all your top images disappeared - I've not seen that before.
Your idea about the divs sounds right, how about checking the nesting of the divs and stripping out all the empty ones for a start.