Space above banner |
Space above banner |
gimpguy2000 |
Feb 6 2008, 08:44 PM
Post
#1
|
Novice Group: Members Posts: 25 Joined: 10-November 07 Member No.: 4,279 |
Hi all, been a while since I've been here and thought I came a long way with HTML \CSS but found myself stuck and have tried everything under the sun to solve this.
I have a banner on my "soon to be web site". The banner has a good 20 to 30 px space from top of browser window to top of banner. I really want to get rid of that space and have tried margin, div, padding, etc... and nothing works. I am in Firefox right now. I don't know if anyone has tackled this before but if you have, any suggestions would be highly appreciated so I can move on with this. I included a screen shot of the space above banner. I did it once but then all images overlapped. Just a note, the white is from screen shot, the banner just has to go up to the blue background. Thanks, Paul This post has been edited by gimpguy2000: Feb 6 2008, 08:45 PM Attached thumbnail(s) |
pandy |
Feb 6 2008, 09:06 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
So can we see the page?
|
gimpguy2000 |
Feb 6 2008, 11:12 PM
Post
#3
|
Novice Group: Members Posts: 25 Joined: 10-November 07 Member No.: 4,279 |
|
pandy |
Feb 6 2008, 11:20 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
I don't know if anyone else is up to aranging images and editing the HTML to make it possible to view it all as a page, but I'm not. Sorry.
|
gimpguy2000 |
Feb 7 2008, 01:10 AM
Post
#5
|
Novice Group: Members Posts: 25 Joined: 10-November 07 Member No.: 4,279 |
I don't know if anyone else is up to aranging images and editing the HTML to make it possible to view it all as a page, but I'm not. Sorry. Well that's ok, I didn't expect anyone to do so. I simply wanted to know if there was some code to move the banner up. I'll keep searching. Paul |
Darin McGrew |
Feb 7 2008, 02:03 AM
Post
#6
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Please see the FAQ entry How do I eliminate the margins around my page?
|
gimpguy2000 |
Feb 7 2008, 02:27 AM
Post
#7
|
Novice Group: Members Posts: 25 Joined: 10-November 07 Member No.: 4,279 |
Thanks Darin, I did try that , one of the first things I tried . I finally figured out a way {top: -4px} in the code. I decided to try a negative and it worked. However after, I did something wrong and now the page scrolls over as if having two pages side by side but right side blank. I couldn't get tables to show up either no matter what code I used. So after days of work, I give up as it's all ruined and I am not going over the whole thing again. That's life I guess. Anyhow, thanks for the reply, much appreciated. Take care, Paul |
Darin McGrew |
Feb 7 2008, 02:35 AM
Post
#8
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Can you provide the URL (address) of a document that demonstrates the problem?
|
pandy |
Feb 7 2008, 03:29 AM
Post
#9
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
|
gimpguy2000 |
Feb 7 2008, 11:38 PM
Post
#10
|
Novice Group: Members Posts: 25 Joined: 10-November 07 Member No.: 4,279 |
Can you provide the URL (address) of a document that demonstrates the problem? Hi, well, I would upload the html file as a whole, w\o images. That will still show the issue with the window. I'll do that. You can see where the images end by the blank image squares and is a length of 1024 but the page goes all the way past them. Cheers, Paul gimptogo.html ( 1.59k ) Number of downloads: 795 This post has been edited by gimpguy2000: Feb 7 2008, 11:39 PM |
Darin McGrew |
Feb 7 2008, 11:59 PM
Post
#11
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
I recommend that you start by fixing the markup errors reported by our online validator.
|
gimpguy2000 |
Feb 8 2008, 12:56 AM
Post
#12
|
Novice Group: Members Posts: 25 Joined: 10-November 07 Member No.: 4,279 |
Hi, I did go there, and have been working on it. However, I think my whole page must be bad. I don't know. It tells me the <style> elements are not allowed, yet if I remove them, it tells me it's missing something, not to mention my page won't load correctly. Every time I corrected an error, 3 more would show when validating. I don't know. I was told in order to truly learn CSS and XHTML, to simply do it and make mistakes, well, I have made enough to last a loongg time now. I went through the W3C for CSS and XHTML and such but I don't think I am getting it. I am simply getting frustrated with this whole mess. BTW, if I delete everything and only everything, then the page is spaced correctly... lol. I won't bother anyone with this any more, it's going nowhere anyway and just wasting people's time. Thanks Paul This post has been edited by gimpguy2000: Feb 8 2008, 12:56 AM |
Darin McGrew |
Feb 8 2008, 02:49 AM
Post
#13
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Well, the style element must go inside the head element, and once you have any content that goes inside the body element, the head element automatically closes.
Also, you're using a lot of XHTML syntax. Stick to HTML for now. For example, change CODE <link rel="stylesheet" type="text/css" to href="gimpstyle.css" /> CODE <link rel="stylesheet" type="text/css" href="gimpstyle.css"> And change CODE <img src="/home/gimpguy/Desktop/Gimpguywebpage/gimpimages/fortde2.png" /img> to CODE <img src="/home/gimpguy/Desktop/Gimpguywebpage/gimpimages/fortde2.png" alt="..."> For appropriate values for the alt attribute, see ALT texts in IMG. |
gimpguy2000 |
Feb 8 2008, 04:06 AM
Post
#14
|
Novice Group: Members Posts: 25 Joined: 10-November 07 Member No.: 4,279 |
Thanks for the information. You must have far more patience than I do Since you took the time to post that I figured, I should at least give it a shot. So I did read that link and it helped greatly. Also, I figured out the double space issue where the page is flowing over to the right. It had to do with a bad, well, somewhat bad image. It was keeping 1024 px wide no matter what I did so finally I deleted it completely and remade it, now I don't have the flow over. The only issue I am back to is my banner too far down from the top but I'll worry about that after I clean up this mess I made. So it may just make it yet. Does anyone else ever get to boiling point over a web page? lol or just me? Thanks for the help , truly appreciated. Paul This post has been edited by gimpguy2000: Feb 8 2008, 04:07 AM |
gimpguy2000 |
Feb 10 2008, 03:47 AM
Post
#15
|
Novice Group: Members Posts: 25 Joined: 10-November 07 Member No.: 4,279 |
Just a follow up, the page is going well now "knock on wood". A couple of bumps in the road but thanks for the help. I was about to give up but glad I didn't.
Cheers, Paul |
Lo-Fi Version | Time is now: 25th April 2024 - 08:50 AM |