Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Backgroundpicture Question
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

DrBob
Practical

Netherlands
20 Posts

Posted - 01 Oct 2008 :  13:57:32  Show Profile  Visit DrBob's Homepage  Reply with Quote
Hello,

I have a question/problem with building a website:
I have made a basic page (with the menu, logo, etc.). On that page I use a backgroundpicture of 1280 x 1024 px. Over the background I made a graphical rectangel with 50% transparacy so you can see the background. The background is bigger as the working area of the site (800x600 / and that is what I want[3 ~-)]). When I do a preview or I upload the site than I see in my 16:9 22inch screen the background picture lined up to the right side but the rest of the page is centered (as I wish). The problem is that in the graphical rectangel you see a "cut out" from the background shifted from the real background.

Is It possible to centre the background picture? And how?
Or has anybody another idea how to solve?

Pffff A long story and not verry clearly [2 }:HH], but I hope you understand what I want [2 ?:-|]

Thanx in advance

Dr. Bob

PS. See Image, maby it makes it clear

[img]http://www.festest.nl/shapers/foutje.jpg[/img]

Edited by - DrBob on 01 Oct 2008 14:04:46

jtarin
Super User

Russia
444 Posts

Posted - 01 Oct 2008 :  22:08:07  Show Profile  Visit jtarin's Homepage  Reply with Quote
I would take the picture into a graphical editor and overlay it with the rectangle at 50% trans, flatten, save, and use as one unit centered.Then as filler around the image a tiled background.

Porky
www.pacificwavetour.com
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 02 Oct 2008 :  09:29:33  Show Profile  Visit s.dav's Homepage  Reply with Quote
The problem appears because you are using non PNG32 image (because the PNG32 support is not enabled) with transparency so D.H.E. merges the background and simulates semi-transparent pixels (that are non supported using NON-PNG32 images)

You can fix your problem in two ways:

1- disable the "center" flag into the page properties; D.H.E. is actually merging the image with the background exactly in the point the image is in the editor; using the "center" flag the image is translated ;-)

2- enable the PNG32 support in the Project properties (and in the Program options, for the preview)

Regards, Davide
Go to Top of Page

petran
Super User

Netherlands
345 Posts

Posted - 02 Oct 2008 :  10:48:27  Show Profile  Visit petran's Homepage  Reply with Quote
I've had the same a few months ago. You can centre a background with CSS. Take a look at this post: http://www.hexagora.com/forum/topic.asp?TOPIC_ID=1245

--------

regards

Petran
Go to Top of Page

DrBob
Practical

Netherlands
20 Posts

Posted - 02 Oct 2008 :  11:57:28  Show Profile  Visit DrBob's Homepage  Reply with Quote
"I LOVE IT WHEN A FORUM WORKS AS WELL AS THIS ONE [2 H:)] !!"

Thanks everybody, it works [5 !] ! I took the second option from Davide

Let's take a beer on again a solved case [4 :!!:] !

Dr. Bob
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000