chrometweaks.org

ANY FREE iPage web hostING FOR MS PUBLISHER? PLEASE HELP?

Click Here To View All Answers...


First off, ANY FREE iPage web hostING FOR MS PUBLISHER? PLEASE HELP? Hoping for any answer or 2. Another question on my mind: The following is the beginning of my code, with the area I believe to be causing me trouble highlighted in red:.

<html>.

<head>.

<link rel="stylesheet" type="text/css" href="filename.css" >.

<style type="text/css">.

<!.

A {text-decoration:none; color:black}.

A:hover {text-decoration:underline; color:white}.

// >.

</style>.

<title>One Stop... everything in one place</title>.

</head>.

<body topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">.

<table bgcolor="#6699FF" width="100%" height="90">.

<tr><td><img WIDTH="100" HEIGHT="100" SRC="/images/barn2.gif"></td><td><font size="5"><b>Air Fare</b></align></font>.

</td></tr>.

</table>.

I have many pages that start this way, with the word (in this case) 'Air Fare' being substituted with other words like Car Rental, Hotel, etc..

However, none of the words in this top table seem to be centered in the same way, and the words appear to "jump" from side to side (slightly off-centered) as I click from page to page..

Everything was centered find until I added the barn2.gif to the table..

Any suggestions on how to fix the code so the text placement in this top table is consistent?.

Thanks in advance for the answer and/or pointing me in the right direction...

Comments (5)

That's a good question. I'm not sure what is the answer to that question. I'll do some research and get back to you if I got an useful answer. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

OK, I messed around with it some more and I THINK I got it to work, using the following code:.

<table bgcolor="#6699FF" width="100%" height="90">.

<tr><td width="20%" align="center"><img WIDTH="100" HEIGHT="100" SRC="/images/barn2.gif"></td><td width="100%" align="center"><font size="5"><b>Hotel Links</b></font>.

</td></tr>.

</table>.

I'll update again if I have any problems..

Thanks for the help <again>. If I learned anything, I think it's that I need to get up on the CSS learning curve (but i'm only about 2 weeks into HTML, so everything in time!)..

Comment #2

Yeah, changing the 90 should have changed the height, it was being pushed under because I used an h1, if I change the display to inle then it doesnt center, but try this instead:.

<style type="text/css">.

Table.1 {width:100%;height:90;background-color:#6699ff;}.

Td.1 {text-align:left;width:45%;}.

Td.2 {text-align:left;width:55%;.

Span.1 {text-align:center;font-size:12px;}.

</style>.

<table class="1">.

<tr><td class="1"><img src="/images/barn2.gif"></td><td class="2"><span class="1">Air Fare</span></td></tr></table>..

Comment #3

Leo,.

Thanks for the reply, but my prior post shows a solution I found that now seems to be working fine, so i'd rather not mess with it again.

Unless of course you find something that's wrong with the code that i'm using as the "fix"...

Comment #4

Make sure that the.

<td> ... </td>.

Tags are on the.

Same.

Line as the HTML code they enclose..

The above examples did.

Not.

Do that; they had the closing.

</td>.

On a new line..

Add.

Alt="some text".

To every.

<img >.

Tag, the text reflecting what is in the dispayed image. On unimportant images, like spacer elements, a minimum of.

Alt="".

Is fine. For bullet-point images,.

Alt="*".

Is often used. Search engines do index the.

Alt.

Text. The.

Alt.

Attribute is a.

Required.

Element..

Run the code through.

Http://validator.w3.org/detailed.html.

And fix all the problems it highlights...

Comment #5

Not at all thereuare,.

I posted at the same time you did, if i'd seen you had found a solution I wouldn't have posted..

Comment #6


This question was taken from a support group/message board and re-posted here so others can learn from it.