Hi,
I'm trying to figure out why my top table is leaving a gop between it and the top of the screen. -
</head>
-
-
-
-
<body onload="MM_preloadImages('images/bttn_hover.gif','images/bttn-hover.jpg')">
-
-
<form action="https://www.fooshenergytrial.com/orderpage.php" method="post" name="frmSignUp" id="frmSignUp">
-
-
<table align="center"><td><table align="center" vspace="0" width="972" cellspacing="0" cellpadding="0">
-
-
<tr>
-
-
<td scope="row" valign="top"><img src="images/topBanner.gif" /></td>
-
-
</tr>
-
-
<tr>
-
-
<td scope="row"><img src="images/header.gif" /></td>
-
-
</tr>
-
-
-
U have my vspace set to 0, but that doesn't seem to be doing it. I looked through the rest of the commands suggested by dreamweaver and I can't see any that would apply.
I don't understand why it won't allow me to use valign"top", like I do with the following image, for controlling the top of the table.
Any advice would be appreciated. Slowly but surely I'm starting to understand the structure of all this (trying to understand the code that was written for me on a site I paid to get designed).
Thanks for your help.
Andrew
4 2170 Dormilich 8,658
Recognized Expert Moderator Expert
check the paddings and margins of the elements before (there arfe also browser defaults). and using tables for image layout is outdated for long.
thanks Dorm. I'm still fighting with it. trying to adjust paddings and stuff.
Table layout works well for this application. Site is pretty simple and the entire thing is created as images in Illustrator.
It was built for me, so I'm trying to stay within the framework I was given. Certainly learning a lot along the way.
Thanks for your help.
Andrew
How big a gap is it? About 10px? Which browser?
Add this to the body tag and see if it's the solution:
<body style="margin:0 " ...
Thanks fort he suggestion. I actually had 2 similar pages, and one was flush with the top (the other, which I was fighting with, I had made other changes to that I didn't want to lose).
In the end, I started from scratch and built a page that was chunks of each. Even copy and pasting all the relevant from the one that worked wouldn't fix it. Still not sure what the problem was, but I have moved onto my next problem (for another post).
Thanks for the help.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: john T |
last post by:
Is there anyway to vertically center a html table using css in such a
way it does not alter the html table. When I tryied it just screws up.
|
by: Brian Conway |
last post by:
I have a webform that I have a datagrid on that I want a button at the
bottom of the grid to maintain its position with the datagrid, if the grid
grows large then button needs to move down with it, and if it is smaller it
needs to move up. Everything regarding anchoring that I have found is with
Windows Forms, is there any way to do this with...
|
by: Mad Joe |
last post by:
Hi!
I have a window form that contains 4 elements (2x2) on one panel.
Those 4 elements are GroupBoxes of the exact same size, sorted like this:
groupBox1 groupBox2
groupBox3 groupBox4
While resizing a Form window manually, I would like to resize
automatically each groupBox by keeping the same ratio:
Width of each groupBox = 50% of...
|
by: Beowulf |
last post by:
I have a report laid out in Design View as shown at the end of this message.
I have code that performs the following steps:
1. In main report's Report_Open(), DELETE any old rows in tblTOC for
this username.
2. In main report's CategoryHeader_Format(), add a row to tblTOC with
the current category name and the current page number.
3. In...
|
by: daveryan78 |
last post by:
Hi all,
I've been getting a strange problem with anchoring on my forms. I have
a form where I put on a tabControl. I set it's anchoring to Top,
Bottom, Left, Right. I put a number of tabPages on to the control. On
the first tab I put textBoxes and comboBoxes. I set all their widths to
655 and their anchoring to Top, Left, Right.
When I run...
| |
by: Greg |
last post by:
This works properly:
1. Create a new Form and set it's size to 229, 474.
2. Drag a Panel to the form and set the following properties:
Size = 216, 438
Location = 3,1
Anchor = Top, Bottom
3. Add a PictureBox control to the top of the panel and set the following
|
by: Steve |
last post by:
I have two group boxes containing labels and textboxes that are next too
each other. I want the group boxes and labels and textboxes to remain
portionally the same as the form is resized.
I've set the group boxes to be anchored left, right, top, and bottom, the
labels to be left, right, top, and the textboxes to be anchored left,...
|
by: marfi95 |
last post by:
My application consists of basically a treeview on the left side,
along with a panel control that takes up the right side. When nodes
are clicked on the left, the data on the right side of the panel is
changed based on that type.
What I'm using are usercontrols, so I can do the visual design of them
in a separate window. when the node is...
|
by: sklett |
last post by:
I've read several articles/blogs/threads about anchoring/docking child
controls in a FlowLayoutPanel. It sounds like it *should* work, but I can't
get it to work for the life of me.
Jon Skeet: I've created a short and complete sample to illustrate the
problem. Beat you to it! :0)
I would really appreciate if anyone could take a look...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |