PDA

View Full Version : What am i doing wrong here?



Tim.
17-01-2009, 12:49 PM
Ok i have this issue with the following page:
http://disciplesofrhythm.com/gcsemusic/introduction.php

In IE it works fine, the boxes are linked but in other browsers theyres massive gaps between the top mid and bottom -

How can i solve this issue?

+Rep

Jackboy
17-01-2009, 02:22 PM
PERHAPS A PICTURE OF WHAT IT LOOKS LIKE IN INTERNET EXPLORER. THAT WAY WE WOULD KNOW WHAT IT SHOULD LOOK LIKE
KTHNXBAI

Jxhn
17-01-2009, 02:39 PM
I can't work out what's going wrong, but why are you using images for that layout anyway? Just use a border.

It only look right if I made the margin-top -10px, but that's not right, so I'm confused.
javascript:void(document.getElementsByTagName("div")[1].style.marginTop="-10px");

CHTom
17-01-2009, 04:33 PM
Why may I ask are you doing it like that with images? All you need is div's with a specified width and background/border colour for each section. Then a line break between them.

HabbDance
17-01-2009, 05:48 PM
I believe the <p> tags have a default margin no?

Try adding:



p {
margin: 0;
padding: 0;
}

Jxhn
17-01-2009, 06:42 PM
I believe the <p> tags have a default margin no?

Try adding:



p {
margin: 0;
padding: 0;
}


I tested, and that was the problem. So just set their margins to 0px.
Javascript fix coz I was bored:
javascript:ps=document.getElementsByTagName("p");for(i in ps){ps[i].style.margin="0px";}void(0);

craigg.
17-01-2009, 06:43 PM
dont use images, simply state a border in the div css.

Tim.
17-01-2009, 08:20 PM
PERHAPS A PICTURE OF WHAT IT LOOKS LIKE IN INTERNET EXPLORER. THAT WAY WE WOULD KNOW WHAT IT SHOULD LOOK LIKE
KTHNXBAI

Its obvious what it should look like, so honestly, shut up and stop trying to cause trouble you sad sad person.


dont use images, simply state a border in the div css. Yeah, im doing that now, thanks to those who helped with the issue + Rep to them.

Jackboy
17-01-2009, 11:39 PM
Its obvious what it should look like, so honestly, shut up and stop trying to cause trouble you sad sad person.

Please do not insult other forum members please :( I am offended.

I was asking you what you wanted it to look like. I wanted to help.

Skajo
21-01-2009, 07:27 AM
Please do not insult other forum members please :( I am offended.

I was asking you what you wanted it to look like. I wanted to help.
You were the only person in this thread not to post a helpful reply. It speaks for itself, doesn't it?

Anyway, your page is 404'ing.

Protege
21-01-2009, 08:12 AM
Say the same for yourself, you just bumped an old thread...

MrPinkPanther
21-01-2009, 09:34 AM
Say the same for yourself, you just bumped an old thread...
Not really...under 4 days

Protege
21-01-2009, 11:07 AM
Yeah, that is fairly old. Seeing as Tim wasn't the last to reply I dont think he needed help anymore...?

Want to hide these adverts? Register an account for free!