chrometweaks.org

Can you anyone tell me that what is iPage web hosting services?

Click Here To View All Answers...


Question I have... Can you anyone tell me that what is iPage web hosting services? Thanks for any comment. Another question I got... Hi guys..

I am having second thoughts about my layout..

If you look.

Here.

You can see that the nav images (or spaces for them)on the left get progressively further apart as you look down them..

At the moment I have em in table cells, but it simply isn't accurate enough..

Can anyone please help show me how to align them with say the spacer gifconfigured to give say 10pix between each one..

I've tried to do it but cant figure how to do it without using '<br>'..

I need to do this, I don't think I can publish till I have this sorted..

Any help very greatly appreciated..

Thanks a lot.

D..

Comments (7)

Ye, but you might wanna make sure and wait for someone else here to confirm this as I am unsure. Better yet, why don't you call the iPage guys because they can answer you better...

Comment #1

Wow!thankyou my friend! I am at work at the mo but I will check it out when I get home thanx!!!!.

D..

Comment #2

Just to expand on what scoutt said,.

You can make a transparent gif image that is one pixel by one pixel, that way it loads very quickly onto the HTML page, then you can use the width and height attributes of the image tag to make the size you need to create the space you want:.

<img src=clear.gif width=10 height=10 hspace=2 vspace=2 border=0>.

<img src=clear.gif width=10 height=10 hspace=2 vspace=2 border=0 align=right>.

<img src=clear.gif width=2% height=3% border=0>.

And so on......

Regards,.

Kevin..

Comment #3

Cheers guys!.

I wish I knew that spacer stuff when I started, but hey I guess it's a learning curve thing right?.

Thanx pervI will try to incorpprate what you did into my pages... though if I get stuck I'll be back for help!.

Lol.

Say scoutt and kev how'd you use the spacer gif deal if like you wanted a column of as I have of 4 images?.

I mean to place the 2nd 3rd and 4th IMG's consecutively below one another you'd still need to use <br> to place those below each other - right?.

I think I'm failing to understand something pretty darn fundamental here... which is Peeing me off no end..

I appreciate your time, I wsh I wasn't so darn thick!.

D..

Comment #4

Hi d-stim,.

If you use table code you do not need <br> tags....

In your original proposition you could have used a very simple table and used cellpadding=5 to get 10 pixels of space between each image, no need for a spacer gif at all..

<table width=50 cellspacing=0 border=0 cellpadding=5>.

<tr>.

<td><img src=frog.gif height=40></td></tr>.

<tr>.

<td><img src=frog.gif height=40></td></tr>.

<tr>.

<td><img src=frog.gif height=40></td></tr>.

<tr>.

<td><img src=frog.gif height=40></td></tr>.

</table>.

Or use vspace=5 if you don't want 5 pixels to the left and right of the image as well as the top and bottom of the images.

<table width=40 cellspacing=0 border=0 cellpadding=0>.

<tr>.

<td><img src=frog.gif height=40 vspace=5 hspace=0 border=0></td></tr>.

<tr>.

<td><img src=frog.gif height=40 vspace=5 hspace=0 border=0></td></tr>.

<tr>.

<td><img src=frog.gif height=40 vspace=5 hspace=0 border=0></td></tr>.

<tr>.

<td><img src=frog.gif height=40 vspace=5 hspace=0 border=0></td></tr>.

</table>.

Regards,.

Kevin..

Comment #5

Gee I knew it was something really simple - how embarrasing.

But Kev is it poss to set cellpadding and stuff at the <tr> stage, or does it have to be defined in the table tag..

I.e. could it be like <tr cellpadding=5> etc?.

Reason I ask is I have created this whole bloody iPage site in the one table (newbie I know) and the trouble is it seems that if I play about with it too much it screws up the alignment of the other elements on the page, and therefore gets wrongly aligned compared to the other pages..

I hope you get my drift!.

Many thanks for your time!.

D..

Comment #6

No, you can't have the cellpadding in the <tr> tag. sorry..

Comment #7

Hi d-stim,.

Scoutt is correct, not in the TR tag with regular old HTML code but with CSS you can set the left, right, top, bottom padding for each and every cell in a table and each one can be different..

And you can always embed the table code I posted inside of a TD cell of the master table and the formatting will still work...tables...you gotta love them (or hate them as some do).

Kevin..

Comment #8


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