"...Remember being a youngster, mom or dad telling you "close the door"? Well the same applies to HTML ...."

Go Back   Webmaster Forums > Code Forum > CSS Forum

Reply
 
Thread Tools Rate this Webmaster Discussion
Old 03-25-2009, 10:03 AM   #1
urban
New Member
 
Join Date: Mar 2009
Webmaster Discussions: 8
Rep Power: 9
urban is on a distinguished road
Trying to get swf into a template

Hi All,

This is probably not the ideal place for this thread, but it seemed the best fit. I'm pretty fluent in html and basic css, but I've encountered a problem I am hoping somebody can help me with.

I downloaded a blog template which is full css and I'm trying to replace the static logo with a flash header but I'm not winning at all. I'm not exactly sure how to edit the template and css to accommodate the flash. Here is the html and css:

Code:
<div class="clear"></div>
<div id="top"> 
<div class="blogname">
	<h1><a href="<?php bloginfo('siteurl');?>/" title="<?php bloginfo('name');?>"><?php bloginfo('name');?>
</a>
</h1>
</div>
</div>
I'm trying to get the flash to display in the 'top' id basically, the css is as follows:

Code:
#top {
	height:160px;
        background:#ffffff;
	margin:auto;
	width:1000px;
	border-bottom:1px solid #c3c3c3;
        border-top:1px solid #c3c3c3;
	
	}
.blogname {
	width:800px;
	font-family:Georgia ,Century gothic,Verdana,Tahoma,sans-serif;	
	margin:0px 0 0 0px;
    float:left;
	background-repeat:no-repeat;

	}
.blogname h1  {
	font-size:125px;
	padding:0 0 0px 0;
	font-weight:normal;
	color:#cacccd;
	text-align:left;
	margin:0px 0 0 0px;
	text-indent:-9000px;
background:url(images/logo.png) no-repeat;
	
	}
You can see that is where you insert the logo image that I am trying to replace. If anybody could help me with this I would really appreciate it.

Thanks in advance!


urban is offline   Reply With Quote
Old 03-25-2009, 10:15 AM   #2
HTML
Administrator
 
HTML's Avatar
 
Join Date: Aug 2000
Location: San Antonio
Webmaster Discussions: 3,296
Rep Power: 50
HTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond repute
Re: Trying to get swf into a template

Your code does not show where the current logo is but my guess would be that you want to include it between
Code:
<div id="top"> 
<div class="blogname">
Something tells me I am missing something here though.
HTML is offline   Reply With Quote
Old 03-25-2009, 10:26 AM   #3
urban
New Member
 
Join Date: Mar 2009
Webmaster Discussions: 8
Rep Power: 9
urban is on a distinguished road
Re: Trying to get swf into a template

At the moment the logo is called by the css via the blogname h1 style. It shows in the css above. Right off the bat I also tried to put it where you have just said but that seems to distort the header pretty badly, I'm under the impression that I'm also missing something really ssimple here.

I dunno if I'm allowed to post my url or not, I'm sure that would also make life a bit easier.
urban is offline   Reply With Quote
Old 03-25-2009, 10:36 AM   #4
HTML
Administrator
 
HTML's Avatar
 
Join Date: Aug 2000
Location: San Antonio
Webmaster Discussions: 3,296
Rep Power: 50
HTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond repute
Re: Trying to get swf into a template

ou can post the URL just leave off the http://www.
HTML is offline   Reply With Quote
Old 03-25-2009, 11:07 AM   #5
jthayne
 
jthayne's Avatar
 
Join Date: Aug 2008
Location: Texas
Webmaster Discussions: 501
Rep Power: 21
jthayne is the hardest working person in the biz.jthayne is the hardest working person in the biz.jthayne is the hardest working person in the biz.jthayne is the hardest working person in the biz.
Re: Trying to get swf into a template

Are you trying to replace the entire header, or still have the text, etc. there still?
__________________
Be sure to click the reputation icon to give rep to the person who helped you.
For web design/development services, check Silentium Designs.
jthayne is offline   Reply With Quote
Old 03-25-2009, 11:08 AM   #6
urban
New Member
 
Join Date: Mar 2009
Webmaster Discussions: 8
Rep Power: 9
urban is on a distinguished road
Re: Trying to get swf into a template

thx, the url is uag.co.za you can see where the logo is now, that is where i'm trying to get the flash in
urban is offline   Reply With Quote
Old 03-25-2009, 11:10 AM   #7
urban
New Member
 
Join Date: Mar 2009
Webmaster Discussions: 8
Rep Power: 9
urban is on a distinguished road
Re: Trying to get swf into a template

Im just trying to get my header in the white bit. AFAIK there is no text, the code that is there now just creates a hotspot over the logo.....

Quote:
Originally Posted by jthayne View Post
Are you trying to replace the entire header, or still have the text, etc. there still?
urban is offline   Reply With Quote
Old 03-25-2009, 11:26 AM   #8
HTML
Administrator
 
HTML's Avatar
 
Join Date: Aug 2000
Location: San Antonio
Webmaster Discussions: 3,296
Rep Power: 50
HTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond repute
Re: Trying to get swf into a template

There is text but it is hidden,

PHP Code:
<h1><a href="http://www.uag.co.za/" title="Urban Aluminium &amp; Glass">[b]Urban Aluminium &ampGlass[/b]</a>
</
h1
1 - images do not belong in header tags (h1) only text.

2- Hiding text is a huge no no, especially in a header tag. This could very well result in Google penalties.

Give me a minute to put something together.
HTML is offline   Reply With Quote
Old 03-25-2009, 11:28 AM   #9
HTML
Administrator
 
HTML's Avatar
 
Join Date: Aug 2000
Location: San Antonio
Webmaster Discussions: 3,296
Rep Power: 50
HTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond reputeHTML has a reputation beyond repute
Re: Trying to get swf into a template

can you post your flash.
HTML is offline   Reply With Quote
Old 03-25-2009, 11:32 AM   #10
urban
New Member
 
Join Date: Mar 2009
Webmaster Discussions: 8
Rep Power: 9
urban is on a distinguished road
Re: Trying to get swf into a template

Thx HTML, I really appreciate the help. This is also the first time I have ever seen a img tag in a H1 style.

I take it you want the flash code?

Quote:
Originally Posted by HTML View Post
can you post your flash.
urban is offline   Reply With Quote
Reply

Bookmarks

Tags
swf, template

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Webmaster Discussions
Thread Webmaster Discussion Starter Forum Replies Last Post
myspace template Lane61190 Myspace Forum 2 06-26-2007 04:49 PM
Template help Enigma HTML Forum 8 05-10-2003 03:05 AM


All times are GMT -5. The time now is 09:05 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.