Need help...

Sohail

Active Member
Messages
3,055
Reaction score
0
Points
36
Okay i have my website at:

http://sohailtech.com/

I used the .htaccess file so that when you go to it, it would redirect to /index.swf which it does, but there's two things i want to know :-

1) How to change the title of the page.

2) How to use a favicon.

Please help quick as i need my site up and running as soon as possible. Thanks
 

Slothie

New Member
Messages
1,429
Reaction score
0
Points
0
You don't use a swf and change the title of a html page. You'll need to embed your SWF into a html file and work from there.
 

adrenlinerush

New Member
Messages
379
Reaction score
1
Points
0
just put favicon.ico in the public_html dir
not a big flash guy so can't help you there
 

Sohail

Active Member
Messages
3,055
Reaction score
0
Points
36
Thanks for the info adrenalinrush! I gave you rep in return :)
 

Slothie

New Member
Messages
1,429
Reaction score
0
Points
0
For the sole reason that you did not/don't know how to center your swf?
 

Tomcenc

New Member
Messages
57
Reaction score
0
Points
0
In the body tag, add the attribute style containing "text-align: center;" like this:
<body style="text-align: center;">
In the head tag, add a title element like this:
<head><title>My page title</title></head>
 

Thewinator

New Member
Messages
256
Reaction score
0
Points
0
No, the swf file makes a nice shade on different resolutions/window sizes and also makes it fit.
Try not including a size defintion in the embed tags.

Edit:
In the body tag, add the attribute style containing "text-align: center;" like this:
<body style="text-align: center;">
In the head tag, add a title element like this:
<head><title>My page title</title></head>
If you checked the scource of the html file you could have seen he already added the title:
HTML:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>index</title>
</head>
as for centering it won't fix the scaling problem.
 
Last edited:

Tomcenc

New Member
Messages
57
Reaction score
0
Points
0
Then use this as style:
<body style="margin: 0px; padding: 0px; width: 100%; height: 100%;">
And change the width to width=100% and the height to height=100% (twice, once in the object and once in the embed)
 
Last edited:

Sohail

Active Member
Messages
3,055
Reaction score
0
Points
36
In the body tag, add the attribute style containing "text-align: center;" like this:
<body style="text-align: center;">
In the head tag, add a title element like this:
<head><title>My page title</title></head>


I'm not a noob. I'm very good with HTML! Everything iv'e tried hasn't worked...
 

VPmase

New Member
Messages
914
Reaction score
0
Points
0
<style>object{
position:absolute;
margin-top:0px;
padding-top:0px;
text-align:center;
}</style>

That should center and make it so that there is no margin at the top.
 

Tomcenc

New Member
Messages
57
Reaction score
0
Points
0
I'm not a noob. I'm very good with HTML! Everything iv'e tried hasn't worked...
Hey I'm not saying you are a noob nor suggesting it. Either way it worked in Firefox using firebug, I'm not going to test someone else's site in more than one browser.
 

Sohail

Active Member
Messages
3,055
Reaction score
0
Points
36
I really have tried everything youv'e told me but none of this looks right :(
Are you sure there's no way to change the page title from within the swf file?
 

Mooseman

New Member
Messages
89
Reaction score
0
Points
0
It is very hard to follow this thread when someone gives you a clue on centering it, you reply with a .swf question.

So, do you still want it centered ??
 

Sohail

Active Member
Messages
3,055
Reaction score
0
Points
36
I'm going to create a new thread in the marketplace...
 

Mooseman

New Member
Messages
89
Reaction score
0
Points
0
The main reason there is a difference in the layout, is that on one page you have a 100% width, and on the other it is defined in pixels ;)
 

Sohail

Active Member
Messages
3,055
Reaction score
0
Points
36
No it's not, iv'e tried all the other things aswell, that's just what it's like at the moment.
 

Mooseman

New Member
Messages
89
Reaction score
0
Points
0
Put it inside a div which is centered with a predefined width in px and absolute positioned ;)

If you like, I can example code it for you, and then you can adjust the settings to suit your need as you see fit laters ;)
 
Top