![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Hello, I am creating a centered web site with various div's inside the main (pBase) div. Somehow, I am getting a gap on the top of my browser window both in IE and Firefox. I tried everything I could think of. Here is my entire HTML code: Could someone please help me out? I don't know what else to try! |
#2
| |||
| |||
|
|
In article 1167263829.760926.154210 (AT) 79g200...oglegroups.com>, "shapper" <mdmoura (AT) gmail (DOT) com> wrote: Hello, I am creating a centered web site with various div's inside the main (pBase) div. Somehow, I am getting a gap on the top of my browser window both in IE and Firefox. I tried everything I could think of. Here is my entire HTML code: Could someone please help me out? I don't know what else to try! I cannot make head nor tail of what you are doing really? But if you want to be rid of gaps at the top try body style="margin:0;padding:0; at least... You id things but there is no css sheet... Perhaps post a url. -- dorayme |
#3
| |||
| |||
|
|
Hi, I am not using CSS because I added all CSS styles in HTML code. I tried your suggestion. I keep having the gap on the top. Any idea? Thanks, Miguel dorayme wrote: In article 1167263829.760926.154210 (AT) 79g200...oglegroups.com>, "shapper" <mdmoura (AT) gmail (DOT) com> wrote: Hello, I am creating a centered web site with various div's inside the main (pBase) div. Somehow, I am getting a gap on the top of my browser window both in IE and Firefox. I tried everything I could think of. Here is my entire HTML code: Could someone please help me out? I don't know what else to try! I cannot make head nor tail of what you are doing really? But if you want to be rid of gaps at the top try body style="margin:0;padding:0; at least... You id things but there is no css sheet... Perhaps post a url. -- dorayme |
#4
| |||
| |||
|
|
I cannot make head nor tail of what you are doing really? But if you want to be rid of gaps at the top try body style="margin:0;padding:0; at least... You id things but there is no css sheet... Perhaps post a url. -- dorayme In fact it does work. I needed to clear the browser cache. One question I have is: Should I use a container around divs which float left? I always get different answers or opinions. I am a little bit lost about it since it is working in Firefox 2.0 and IE 6.0 without the container. |
#5
| |||
| |||
|
|
In article 1167267841.979049.18160 (AT) 79g2000...oglegroups.com>, "shapper" <mdmoura (AT) gmail (DOT) com> wrote: I cannot make head nor tail of what you are doing really? But if you want to be rid of gaps at the top try body style="margin:0;padding:0; at least... You id things but there is no css sheet... Perhaps post a url. -- dorayme In fact it does work. I needed to clear the browser cache. One question I have is: Should I use a container around divs which float left? I always get different answers or opinions. I am a little bit lost about it since it is working in Firefox 2.0 and IE 6.0 without the container. First, please do not top post (fixed slapdashedly by me here...). Your code snippet does not, of itself, exactly show what you are wanting to do, it produces a few words here and there. Please provide a URL and some good description of what you are meaning to do to help out. What is this business of fixing some item 960px to the right? What about those with smaller screens. Frankly, scrap the lot and look at some template you like and go from there. -- dorayme |
#6
| |||
| |||
|
|
I am trying to create a centered web site with 3 main sections: header, content and footer. HEADER CONTENT FOOTER All these sections should be 960px width. |
#7
| |||
| |||
|
|
Sorry, but what do you mean with top-post? Thanks, Miguel Beauregard T. Shagnasty wrote: |
#8
| |||
| |||
|
|
In article 1167271568.280356.207190 (AT) h40g20...oglegroups.com>, "shapper" <mdmoura (AT) gmail (DOT) com> wrote: Sorry, but what do you mean with top-post? Thanks, Miguel Beauregard T. Shagnasty wrote: Ah! OK, fair enough... Top posting is posting your reply before quoting what you are replying to. |
|
(btw, as they say, Google is your friend, try "top posting", this one is not too bad: http://en.wikipedia.org/wiki/Top-posting and discusses some issues) -- dorayme |
#9
| |||
| |||
|
|
what do you mean with top-post? Ah! OK, fair enough... Top posting is posting your reply before quoting what you are replying to. Ok, thanks for the info. Let's see If I am getting this right. :-) |
|
(btw, |
![]() |
| Thread Tools | |
| Display Modes | |
| |