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
 Background-position in CSS
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

petran
Super User

Netherlands
345 Posts

Posted - 12 Feb 2008 :  16:37:33  Show Profile  Visit petran's Homepage  Reply with Quote
For a site I'm making I would like to use in CSS

body {
background-position: 50% 115px;
}

Is there a way to add this to a CSS file without losing it every time I export my DHE files

--------

regards

Petran

s.dav
Site Admin

Italy
3364 Posts

Posted - 13 Feb 2008 :  09:13:17  Show Profile  Visit s.dav's Homepage  Reply with Quote
Yes, you can put a <style> tag in the "header" section of your page

1- open the page properties
2- click on the "scripts" tab
3- choose "Header Code"
4- under the menu "Tags" you'll find "style"
5- write the class

If you want this style for every page in your site simply put this code into a master-page or into an inported .dhe file object ;-)

Regards, Davide
Go to Top of Page

petran
Super User

Netherlands
345 Posts

Posted - 13 Feb 2008 :  09:44:26  Show Profile  Visit petran's Homepage  Reply with Quote
Yes, that's the way.

Thanks a lot.

--------

regards

Petran
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