6 replies [Last post]
Catalyst8487
Offline
newbie
Last seen: 12 years 46 weeks ago
Joined: 2007-05-17
Posts: 6
Points: 0

I used Dreamweaver to create this webpage, and used FF2.0 to check it over as I was building it. I also validated each page and validated the html as well. Every page checked out, but I still have some CSS display errors in a couple of my pages.

http://www.bio-digm.com/index-5.html

If you look in FF and in IE, you'll see the difference. I'm not sure the technical terms for it, but it appears that IE displays the text on only half of the available space.

I'm not a web programmer, I am a c++ programmer but thought it would be fun to give the webpage a whirl since I work for a small company and priorities are always shifting. Anyway, does anyone have a suggestion to fix this annoying display bug?

DanA
DanA's picture
Offline
Elder
Last seen: 10 years 8 weeks ago
Timezone: GMT+2
Joined: 2004-08-14
Posts: 1087
Points: 2

Remove width:314px;

Remove width:314px; from <div class="dc" style="width:314px"> (HTML line 127)

Catalyst8487
Offline
newbie
Last seen: 12 years 46 weeks ago
Joined: 2007-05-17
Posts: 6
Points: 0

That did the trick! Thanks

That did the trick! Thanks a bunch! Could I maybe get your help again?

http://www.bio-digm.com/index-1.html

the pictures are jumbled, and on

http://www.bio-digm.com/index-6.html

the picture is displaying way, way down the page.

I tried tweaking the widths, but it didn't look like I was getting anywhere with that.

DanA
DanA's picture
Offline
Elder
Last seen: 10 years 8 weeks ago
Timezone: GMT+2
Joined: 2004-08-14
Posts: 1087
Points: 2

in the page

in the page http://www.bio-digm.com/index-1.html
in the div content-width2
remove width and height in the div enclosing the images and in the div enclosing this div
add clear:both to the second image.
You will have to find where the styles are as the coding is too complex with two stylesheets, embedded style and inline style.
You should simplify, add ids to target each part of the pages. Otherwise, you will have many more issues.

Catalyst8487
Offline
newbie
Last seen: 12 years 46 weeks ago
Joined: 2007-05-17
Posts: 6
Points: 0

I'm not exactly sure what

I'm not exactly sure what you're saying. I agree the code is pretty disastrous when looking at it again, but that is probably my penalty for using Dreamweaver instead of coding myself.

Can you tell me the line of code specifically you are looking at?

Catalyst8487
Offline
newbie
Last seen: 12 years 46 weeks ago
Joined: 2007-05-17
Posts: 6
Points: 0

I came back to my problems

I came back to my problems this morning, and was able to fix it in a relatively short amount of time. Looking at the code all day frustrated must've allowed the answer to elude me!

Thanks again for your help DanA!

thepineapplehead
thepineapplehead's picture
Offline
Guru
Last seen: 15 weeks 5 days ago
Joined: 2004-06-30
Posts: 9668
Points: 801

Thanks for letting us know

Thanks for letting us know Smile

Verschwindende wrote:
  • CSS doesn't make pies