Solved

This is a simple one (i think!!!!)

Posted on 1998-11-17
7
187 Views
Last Modified: 2013-12-25
I have a background made in A4 page in corel draw. It has a figure of a house in the center and a column in the right side.
My problem is that when i put that image as a background in frontpage the size is exagerated and it repeat's it self.
What size shoul'd the image have and what shoul'd i do for making it appear only once.
0
Comment
Question by:ElvasLion
  • 4
  • 3
7 Comments
 
LVL 8

Accepted Solution

by:
MaDdUCK earned 20 total points
Comment Utility
If you use it as a background, this 'tiling' will always happen. Your best bet is as follows:

Put all of your page into a table like this:

<html>
.
<body>
<div align="center">
<table border="0" width="**WDITH**" height="**HEIGHT**" background="**IMAGE**">
<tr><td>

your page goes here.

</td></tr>
</table>
</div>
</body>
</html>

this will make sure your image shows exactly once and all of it.
substitute the variables **WIDTH** *HEIGHT** and **IMAGE** appropriately.

Note: A4 is large compared to a monitor. My suggestion is to crop of resize the image to fit within 640x480 pixels at the most. Since the text can run all over the image, most people won't be able to see it all at once...

any questions?
\\MaDdUCK
0
 
LVL 1

Author Comment

by:ElvasLion
Comment Utility
before i grade your answer, i must tell you that what i really wanted is the size that a background shoul'd have.
You have to explain better what your solution does and by the way i woul'd like very much if you gave me an adress of page that you made.
Do that and i will give you the points ok?
0
 
LVL 8

Expert Comment

by:MaDdUCK
Comment Utility
check out http://www.madduck.ml.org/creativity/trancyberia.html

I used this method there to ensure that the whole background grafix is displayed exactly once.

this is all you can do in HTML...there is no way to prevent tiling (multiple pictures next to each other if browser window size exceeds image size).

MaD dUCK
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 1

Author Comment

by:ElvasLion
Comment Utility
I Know that i already graded your answer, but i woul'd still like u to tell me how can i do it in frontpage.
thanks anyway
0
 
LVL 8

Expert Comment

by:MaDdUCK
Comment Utility
will get to this sometime over thanksgiving weekend...
0
 
LVL 1

Author Comment

by:ElvasLion
Comment Utility
thank's
0
 
LVL 8

Expert Comment

by:MaDdUCK
Comment Utility
sorry, took me so long

here is what to do:

create a new table in frontpage with 1 row and 1 column. select the table and choose row properties. Set the row height to the image height (in pixels). then, select column properties and set the column width to the width of the picture in pixels. now select the table and in its properties choose center alignment. also, set border width to 0. This should do it all. finally, enter the link to your picture in the table background field and you are set. Alternatively, you can simply cut and paste the above html code (after modification) into the html source of your page. have fun.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Uploading files to the web server has become common part of almost any kind of web application. People use different technologies to solve this, but regardless of the technology used, it is always useful to have some kind of progress indicator shown…
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now