I'm trying to center this banner, it's in a div that has the same width so it's not exactly "centering" but it's screwed up, It works in safari but in Firefox it's messed up. I uploaded a Video to show what I'm talking about. http://screencast.com/t/i5SLg3cAczH
(*WARNING, TAKES A WHILE TO LOAD*)
*HTML* -
-
<html>
-
<head>
-
<title>James Mann - Portfolio</title>
-
<link rel="stylesheet" href="styles.css" type="text/css">
-
-
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><style type="text/css">
-
<!--
-
body {
-
background-color: #9cad32;
-
}
-
-->
-
</style></head>
-
-
<body>
-
<div id="topbar">
-
<div id="buttonconatiner">
-
<div id="buttons">
-
-
<ul>
-
<li class="selected"><a href="http://pdhtdev.johnabbott.qc.ca/students/2010/james_mann/portfolio/index.htm">Home</a></li>
-
<li><a href="#">Media</a></li>
-
<li><a href="websites.htm">Websites</a></li>
-
<li><a href="#">Projects</a></li>
-
<li><a href="#">About Me</a></li>
-
</ul>
-
</div>
-
</div>
-
</div>
-
-
<div id="wrapper">
-
<div id="container">
-
<div id="banner">
-
<a href="#"></a>
-
</div>
-
-
-
<div id="flashtop">
-
<script type="text/javascript" src="flashobject.js"></script>
-
<div id="flashban" style="width: 700px; height: 150px"></div>
-
-
<script type="text/javascript" language="javascript">
-
var fo = new FlashObject("flashbanner2.swf", "flashban", "700", "150", "7", "#000000, true");
-
fo.addParam("allowScriptAccess", "sameDomain");
-
fo.addParam("quality", "high");
-
fo.addParam("scale", "noscale");
-
fo.addParam("loop", "false");
-
fo.addParam("wmode", "transparent");
-
fo.write("flashban");
-
</script>
-
</div>
-
-
-
<div id="content">
-
<h1>Updates!</h1>
-
<p class="bigz"> Biography will be moved to the "About Me" page soon - "Websites" page up and with content - "Artwork" to be changed to "Media" because I will be posting my Music and Digital Artwork but currently Artwork/Projects/About Me are non-existent. Please email me any suggestion, email link at the bottom of the page.</p>
-
-
<h2>Biography</h2>
-
-
-
<p class="bigz"> blah.</p>
-
-
<p class="bigz">blah</p>
-
-
<p class="bigz">blah</p>
-
-
<p class="bigz"> blah. </p>
-
-
</div>
-
</div>
-
-
<div id="footer">
-
© <a href="mailto:jwm@videotron.ca">James Mann</a>, 2008, Montreal
-
</div>
-
</div>
-
-
</div>
-
-
</body>
-
</html>
-
*CSS* 24 3565
I would suggest that you fix your errors in your CSS and add the proper DTD to your HTML then go from there.
--Kevin
Fair enough, I don't know what DTD is though.
I typed this stuff by hand I just use Dreamweaver to view it quickly
*FIXED HTML* -
-
<?xml version="1.0" encoding="utf-8"?>
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-
-
<head>
-
<title>James Mann - Portfolio</title>
-
<link rel="stylesheet" href="styles.css" type="text/css">
-
<meta http-equiv="content-type"
-
content="text/html;charset=utf-8" />
-
<meta http-equiv="Content-Style-Type" content="text/css" />
-
<style type="text/css">
-
<!--
-
body {
-
background-color: #9cad32;
-
}
-
-->
-
</style></head>
-
-
<body>
-
<div id="topbar">
-
<div id="buttonconatiner">
-
<div id="buttons">
-
-
<ul>
-
<li class="selected"><a href="http://pdhtdev.johnabbott.qc.ca/students/2010/james_mann/portfolio/index.htm">Home</a></li>
-
<li><a href="#">Media</a></li>
-
<li><a href="websites.htm">Websites</a></li>
-
<li><a href="#">Projects</a></li>
-
<li><a href="#">About Me</a></li>
-
</ul>
-
</div>
-
</div>
-
</div>
-
-
<div id="wrapper">
-
<div id="container">
-
<div id="banner">
-
<a href="#"></a>
-
</div>
-
-
-
<div id="flashtop">
-
<script type="text/javascript" src="flashobject.js"></script>
-
<div id="flashban" style="width: 700px; height: 150px"></div>
-
-
<script type="text/javascript" language="javascript">
-
var fo = new FlashObject("flashbanner2.swf", "flashban", "700", "150", "7", "#000000, true");
-
fo.addParam("allowScriptAccess", "sameDomain");
-
fo.addParam("quality", "high");
-
fo.addParam("scale", "noscale");
-
fo.addParam("loop", "false");
-
fo.addParam("wmode", "transparent");
-
fo.write("flashban");
-
</script>
-
-
</div>
-
-
-
<div id="content">
-
<h1>Updates!</h1>
-
<p class="bigz"> Biography will be moved to the "About Me" page soon - "Websites" page up and with content - "Artwork" to be changed to "Media" because I will be posting my Music and Digital Artwork but currently Artwork/Projects/About Me are non-existent. Please email me any suggestion, email link at the bottom of the page.</p>
-
-
<h2>Biography</h2>
-
-
-
<p class="bigz"> I first started doing this type of stuff when I was about 14 years old. At that time I always heard about how powerful Photoshop was and how websites were getting better and better and it really interested me. I started learning basic html using free online resources until I could build basic sites. I used to make little flash videos back then so I made a site where I would show them(even if they were bad).</p>
-
-
<p class="bigz">My friend who was also interested in this type of stuff told me about CSS and how it made making a site 200 times more easier(well, organized). We both started learning CSS at that point and I even made a little css webpage at 15. I didn't FULLY understand CSS but I knew how it was structered so I managed with online resources on hand. </p>
-
-
<p class="bigz">Around the same time, I looked into Photoshop because it interested me; everyone was saying it was really powerful so I wanted to be able to use it. I went to tons and tons of forums learning photoshop techniques via online tutorials people made. The forums helped me because I offered to make signatures for people (picture shown below every forum post) and I would improve myself each one I made. I had a LOT of bad ones but eventually I got the hang of Photoshop because it was sort of a competition in the community and everytime we posted a signature we were critiqued and evaluted to improve the next time. Now I have a whole collection of good signatures I made for people.</p>
-
-
<p class="bigz"> I also learned a program called FL Studio 7 which is a music making program which allows you to create music from scratch. I made tons of songs and everytime I got better and better and eventually I hit a point where the software wasn't powerful enough to create what I wanted(CPU Cycle hog). I moved to Reason(another music program) which is in my opinion more powerful so hopefully it will turn out better. My goal now is to make a site that will incorporate Flash movies, Photoshop tutorials/show off, Music show off website that everyone can post their own creations and people willl be able to comment on them. Anyway, that's me. </p>
-
-
</div>
-
</div>
-
-
<div id="footer">
-
© <a href="mailto:jwm@videotron.ca">James Mann</a>, 2008, Montreal
-
</div>
-
</div>
-
-
</div>
-
-
</body>
-
</html>
-
*FIXED CSS*
bump, It's really bugging me :(
Sorry for all the bumps but, bump...
I need somethin' T__T
Nobody? :( I thought it was going to be a simple fix =\
Please don't take the bumping personally.
Aahh, it's Saturday.
Remove the first line. The xml declaration only works in modern browsers. IE chokes on it and goes into quirks. As usualy, IE is the problem here. Not FF or Safari.
I don't have your flash file but the div is centered in Firefox.
I don't have your flash file but the div is centered in Firefox.
The div is but for some reason the flash file goes out of the div and is displayed like what is shown on my video link.
Do you want the flash file?
No but did you make the corrections? The div is centered.
No but did you make the corrections? The div is centered.
Should it not be centered?
I should remove lines 220, 221, 230 and 231?
Edit*
I tried it but it didn't change anything :(
It must be hard for you guys to debug this kind of stuff.
The only browser that ever gives me problems is IE.
That link has flash and I'm on my Unix laptop without flash so I can't see what's going on till later. I looked at it before and it was centered in Firefox. The only line you should have removed was the very first line with the <xml..... stuff.
The only browser that ever gives me problems is IE.
That link has flash and I'm on my Unix laptop without flash so I can't see what's going on till later. I looked at it before and it was centered in Firefox. The only line you should have removed was the very first line with the <xml..... stuff.
Well I removed the <xml line and it still looks the same as it did.
This is weird. >.>
I guess you'd have to know the speacial differences between firefox and IE and the way render css in order to answer this.
Busy weekend for me. Not much time.
It's not the differences between IE and Firefox. It's the differences between IE and everything else. All browser do a very good job of following web standards. IE is the exception (including, apparently, the new IE8 coming out this year). You should trust what Firefox is showing you as being what you wrote and that it is working correctly. Not always, but most of the time.
Do NOT trust IE if it's different than Firefox/Opera/Safari. In almost all cases, you need to fix IE. So get your page working in FF first. Then hack IE.
Busy weekend for me. Not much time.
It's not the differences between IE and Firefox. It's the differences between IE and everything else. All browser do a very good job of following web standards. IE is the exception (including, apparently, the new IE8 coming out this year). You should trust what Firefox is showing you as being what you wrote and that it is working correctly. Not always, but most of the time.
Do NOT trust IE if it's different than Firefox/Opera/Safari. In almost all cases, you need to fix IE. So get your page working in FF first. Then hack IE.
Yea I've read that around this forum somewhere.
It doesn't even work in FF though. and I don't know exactly how to "hack" IE as you say. I don't understand why it isn't working in FF, It's in the container and I didn't set a value for left, so it should STAY in the container, yet... It's going outside of it for some reason. I just want the flash on top of the banner so it will load seemlessly as people look at the banner image. Maybe it's a z-index problem? overflow issue? It's bothering me. this part of the project is due tuesday for me so I hope you can help :(
ahk, oh well. :( You guys tried.
Argh, I asked my teacher and she told me it was impossible. But it has to be possible if it works in safari...
Bump. Any updates? anyone?
You're probably avoiding me on purpose.
Sigh. Anybody pleaaasseee? T______T
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Norman Bird |
last post by:
I just got my site up and low and behold, my flash banner does not
show in Netscape, only in IE. It shows on Netscape in my local testing
enviornment, this is why I felt all was fine. the site is...
|
by: DDK |
last post by:
Does anyone know if the asp.net adrotator control supports flash banners.
If so, how does the XML file look with a flash banner in it. I am trying to
get a .swf flash file to work with the...
|
by: daokfella |
last post by:
Hi all,
I want users of my website community to be able to upload video files.
I'd like to automatically convert these on the server to flash video.
I'd also like to get a screen shot from the...
|
by: Rafael tejera |
last post by:
Somebody knows a component to play and control flash video inside asp.net
Rafael
|
by: Pratay |
last post by:
Hi all, great forum - keep it up. The title of this post pretty much sums it up.
I have a flash banner on my website with a button on it which says "view cart (0 items)". I would like this text to...
|
by: mratanudey83 |
last post by:
With the help of this forum members and google search i've done the following part
Imports AxShockwaveFlashObjects
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object,...
|
by: David Buckley |
last post by:
Does anyone have any example code of converting any type of video to flash
video at all using asp.net 2.0 c# web applications. God Bless
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |