![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Sep 2006
Posts: 467
OS: XP Home Service Pack 2
|
How can I make the upper part of my web page reach the upper part in a browser: here is an example: http://www.lls.edu/about/mission.html
As you can see, the upper picture is located exactly under the browser, there is no space. Please help me if you can. Thank you
Last edited by Acer2000; 10-05-2008 at 09:46 AM. |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Moderator: Design
Join Date: Oct 2006
Location: Richmond, B.C.; Canada
Posts: 1,466
OS: Windows XP [Version 5.1.2600] SP3 | Ubuntu Jaunty Jackalope | Windows 7 Ultimate (MSDNAA I <3 you)
|
Re: Upper part
Do you want the image deleted, or do you want a margin?
__________________
![]() Validate your Markup Validate your CSS Notepad++ Please use [html], [php], and [code] when posting code or markup. I do not help by Private Message or e-mail. If for some reason I have over-looked a reply to a thread that I have previously replied to, then send me a message. |
|
|
|
|
|
#3 (permalink) |
|
Manager Home Support, Assistant Manager Articles Team
|
Re: Upper part
Sorry, but I dont understand your query...
The upper part of the web page is reaching the browser. Try to describe your needs again... My best guess is that you want to lower the image... Find this part in your code: Code:
</head> <!--stopindex--> <body> <div id="wrapper"> Code:
</head>
<!--stopindex-->
<style type="text/css">
<!--
body {
margin-top: 30px;
}
-->
</style>
</head>
<div id="wrapper">
__________________
. Lest we forget... "They shall grow not old, as we that are left grow old; Age shall not weary them, nor the years condemn. At the going down of the sun and in the morning We will remember them." |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Join Date: Sep 2006
Posts: 467
OS: XP Home Service Pack 2
|
Re: Upper part
Hi all,
This one: http://www.lls.edu/about/mission.html there is no space between the image and the browser. This one on the other one, there is a space between the image and the browser: http://www.griffith.edu.au/law/griffith-law-school |
|
|
|
|
|
#5 (permalink) |
|
Registered User
Join Date: Sep 2006
Posts: 467
OS: XP Home Service Pack 2
|
Re: Upper part
In other words, I don't want to have a space between the image at the very top and the upper part of the browser. I want them to stick together. Hopefully this helps. Thank you
|
|
|
|
|
|
#6 (permalink) |
|
Registered User
Join Date: Sep 2006
Posts: 467
OS: XP Home Service Pack 2
|
Re: Upper part
Look at this one: http://www.scottishrite.org/who/contact.html
There is a grey area between the picture at the very top and the upper part of the browser where the icons are located. I don't want to have space like the above website. |
|
|
|
|
|
#7 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,887
OS: Vista, various linux distros
|
Re: Upper part
Do you have your own code for us to look at? e.g. the website you want to apply this to?
The technique used in your examples is very common... If you ever have examples like that that you'd like to know how they've created a certain effect you should view the source, because that tells you exactly how it's done. Cheers, Jamey |
|
|
|
|
|
#8 (permalink) |
|
Registered User
Join Date: Sep 2006
Posts: 467
OS: XP Home Service Pack 2
|
Re: Upper part
<html>
<head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> </head> <body> <div align="center"> <table cellpadding="0" cellspacing="0" width="888" height="634"> <!-- MSTableType="layout" --> <tr> <td valign="top" height="112" bgcolor="#000080"> <!-- MSCellType="empty" --> </td> </tr> <tr> <td height="522" width="888"> </td> </tr> </table> </div> </body> </html> |
|
|
|
|
|
#9 (permalink) |
|
Registered User
Join Date: Sep 2006
Posts: 467
OS: XP Home Service Pack 2
|
Re: Upper part
Hi,
I have posted the code of the website i am working on. I have not yet finished the website, but this is the code which was genereated by frontpage 2003. I first created a table and then a cell in the inside of the table. |
|
|
|
|
|
#10 (permalink) |
|
Design Team Member
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,887
OS: Vista, various linux distros
|
Re: Upper part
Hey, change the code to this:
Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 1</title>
<style type="text/css">
BODY{
margin:0;
}
</style>
</head>
<body>
<div align="center">
<table cellpadding="0" cellspacing="0" width="888" height="634">
<!-- MSTableType="layout" -->
<tr>
<td valign="top" height="112" bgcolor="#000080">
<!-- MSCellType="empty" -->
</td>
</tr>
<tr>
<td height="522" width="888"> </td>
</tr>
</table>
</div>
</body>
</html>
Cheers, Jamey |
|
|
|
|
|
#11 (permalink) |
|
Registered User
Join Date: Sep 2006
Posts: 467
OS: XP Home Service Pack 2
|
Re: Upper part
Dear Jamie,
Thank you so much. This is exactly what I am looking form, and it worked again. Thank you ![]() What was the trick? or I should say the part of the code you typed? I don't create my web pages using css. Can you give me a hint? Thank you
Last edited by Acer2000; 10-06-2008 at 04:32 PM. |
|
|
|
![]() |
| Thread Tools | |
|
|