HighDots Forums  

Re: Why I get a top margin. Going crazy here. Need some help, please.

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: Why I get a top margin. Going crazy here. Need some help, please. in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dorayme
 
Posts: n/a

Default Re: Why I get a top margin. Going crazy here. Need some help, please. - 12-27-2006 , 07:25 PM






In article
<1167263829.760926.154210 (AT) 79g2000cws (DOT) googlegroups.com>,
"shapper" <mdmoura (AT) gmail (DOT) com> wrote:

Quote:
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


Reply With Quote
  #2  
Old   
shapper
 
Posts: n/a

Default Re: Why I get a top margin. Going crazy here. Need some help, please. - 12-27-2006 , 08:00 PM






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:
Quote:
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


Reply With Quote
  #3  
Old   
shapper
 
Posts: n/a

Default Re: Why I get a top margin. Going crazy here. Need some help, please. - 12-27-2006 , 08:04 PM



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.

Thanks,
Miguel


shapper wrote:
Quote:
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


Reply With Quote
  #4  
Old   
dorayme
 
Posts: n/a

Default Re: Why I get a top margin. Going crazy here. Need some help, please. - 12-27-2006 , 08:23 PM



In article
<1167267841.979049.18160 (AT) 79g2000cws (DOT) googlegroups.com>,
"shapper" <mdmoura (AT) gmail (DOT) com> wrote:

Quote:
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


Reply With Quote
  #5  
Old   
shapper
 
Posts: n/a

Default Re: Why I get a top margin. Going crazy here. Need some help, please. - 12-27-2006 , 08:47 PM



Hi,

I will try to explain it better:

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.

Inside content section/div there will be various sections/divs using
the following layout:

Here is a drawing of the design inside CONTENT:

LOGO (width=107px) MENU (width=600px)

WHATSUP (width=647px) INSIDE
(width=100px)

LEFT (width=100px) CENTER (width=100px) RIGHT
(width=100px)

Basically that's it.

The words I added to my code is to identify where each div is going.

Could you give me some feedback about my code?

Thanks,
Miguel

dorayme wrote:
Quote:
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


Reply With Quote
  #6  
Old   
dorayme
 
Posts: n/a

Default Re: Why I get a top margin. Going crazy here. Need some help, please. - 12-27-2006 , 09:16 PM



In article
<1167270470.121375.142210 (AT) 79g2000cws (DOT) googlegroups.com>,
"shapper" <mdmoura (AT) gmail (DOT) com> wrote:

Quote:
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.
You continue to top post, please don't as it makes it harder for
many people here on their newsreaders.

You don't address my warning and question about the 960px. we
need to get this straight before plunging into actual mark up. It
is an important overall question.

--
dorayme


Reply With Quote
  #7  
Old   
dorayme
 
Posts: n/a

Default Re: Why I get a top margin. Going crazy here. Need some help, please. - 12-27-2006 , 09:23 PM



In article
<1167271568.280356.207190 (AT) h40g2000cwb (DOT) googlegroups.com>,
"shapper" <mdmoura (AT) gmail (DOT) com> wrote:

Quote:
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


Reply With Quote
  #8  
Old   
shapper
 
Posts: n/a

Default Re: Why I get a top margin. Going crazy here. Need some help, please. - 12-27-2006 , 09:55 PM




dorayme wrote:
Quote:
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.
Ok, thanks for the info.
Let's see If I am getting this right. :-)

Thanks once again,
Miguel

Quote:
(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


Reply With Quote
  #9  
Old   
dorayme
 
Posts: n/a

Default Re: Why I get a top margin. Going crazy here. Need some help, please. - 12-27-2006 , 10:27 PM



In article
<1167274516.478552.325780 (AT) 79g2000cws (DOT) googlegroups.com>,
"shapper" <mdmoura (AT) gmail (DOT) com> wrote:

Quote:
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. :-)

Actually, you are doing even better now, answering in context, a
variation on bottom posting :-)

Quote:
(btw,
--
dorayme


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.