|
Answer» Hello,
I'm having a problem trying to display a webpage correctly, it appears to be centered different depending on which browser i'm using.
Code: [Select]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Imagetoolbar" content="no"> <meta name="description" content="www.nswsolartech.com, providing you the future of solar technologies."> <meta name="keywords" content="NSW Solar Technologies, Technologies, Solar Energy, Solar Cells, Photovoltic, Ontario Solar Companies, Green Energy, Future of solar technologies, NSW Solar"> <title>NSW Solar Technologies</title> <link rel="shortcut icon" type="image/x-icon" href="/backups/favicon.ico"> </head> <body> <div id="bg"><img src="a4content/Beautyful_Landscape_22.jpg" width="0%" height="100%" alt=""></div <div id="content"><p><br><br> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" CODEBASE="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,115,0" width="900" height="506" align="left"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="index.swf" /> <param name="play" value="True" /> <param name="loop" value="False" /> <param name="MENU" value="False" /> <param name="quality" value="BEST" /> <param name="wmode" value="transparent" /> <embed src="index.swf" play="False" loop="False" menu="False" quality="best" wmode="transparent" width="1400" height="478" align="center" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </div> </body> </html> I tried using Cascading Style Sheets to center the website correctly in all browsers but with no luck.
Can somebody PLEASE Explain to me what the *censored* is going on We cant see the images. They are stored on your pc.
Quote <div id="bg"><img src="a4content/Beautyful_Landscape_22.jpg" width="0%" height="100%" alt=""></div>
The image source is a folder on your computer, not a public accessible place such as a web server.
Quote from: ThomasTheXPUser on June 06, 2011, 06:35:07 PMWe cant see the images. They are stored on your pc.
The image source is a folder on your computer, not a public accessible place such as a web server.
Am...no, not necessarily.
The proper way to centre a website: http://www.webdesigntuts.net/css-tutorials/how-to-center-a-website-with-css.html
Quote from: kpac on June 07, 2011, 05:55:40 AMAm...no, not necessarily.
The proper way to centre a website: http://www.webdesigntuts.net/css-tutorials/how-to-center-a-website-with-css.html
i take that back. I couldnt see the images
i shall now proceed to bash my head on this desk
|