vertical align?

  esl_webber 12:45 16 Nov 04
Locked

Dear all, I am having problems fixing my table so that if I add text to the right hand side of the page it doesn't stretch out the left hand side any suggestions click here ? Also does anyone have any no repeat advice for backround images that works with a site made in dreamweaver?

Cheers
Emily

  Taran 13:43 16 Nov 04

Drop this code into your page, after the closing </title> tag, and before the closing </head> tag:

<style type="text/css">
<!--
body {
background-image: url(images/background.gif);
background-repeat:no-repeat;
}
-->
</style>

Now remove the code from the <body> tag that specifies the location of the background image, in your case, it is this part of the line background="images/background.gif".

That's the backgound image no repeat taken care of, depending on your visitors browser of course, but it works on all modern browsers.

Regarding your tables, that's another story. There are a bunch of ways around this, and some are more desirable than others.

Try fixing the table width to 760 pixels and remove any height settings. Now fix the left table column that contains your navigation buttons to whatever is requires to space them out. While we're talking about your links, reducing the size of the images slightly would help a vast amount in controlling your table behaviour.

As long as your table is set to a fixed width and the left hand column is as well, any text in the right hand column should flow naturally, without distorting the table.

Note that there are more potential issues involved here than you could shake a stick at, so this may work forst time or you may have a fight on your hands. I notice that your table has several unused elements at the right hand side - if they aren't required, remove them.

  esl_webber 13:51 16 Nov 04

for your help I'll have a go over the next couple of days

Emily

This thread is now locked and can not be replied to.

How to get Windows 10 for free | How to install Windows 10: There is still a way to avoid paying…

1995-2015: How technology has changed the world in 20 years

Alex Chinneck’s giant ice cube Christmas tree at Kings Cross

Apple rumours & predictions 2017: The iPhone 8, new iPads, and everything else you should expect fr7…