Join 300,443 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,519 people online right now. Registration is fast and FREE... Join Now!
ok im having a issue with this i have actually a animated gif file i would like to put in the top left of my page. So in its failer to show in my page. I went to a jpeg pic to try to put in the same position, it shows a block with a x in it when viewing the page, now i am trying a jpg file, I also have tryed changing it from an id to a class, still nothing.. I have even just tryed to copy and paste other peoples code, can some one fix my code and explain why it isnt working... also here is my page any suggestion would help thanks madisonbrotherhood.x10hosting.com
index.html
CODE
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> Madison Brotherhood </title> <link rel="stylesheet" href="theme.css" type="text/css" /> </head> <body> <div id="container"> <h1> Madison Brotherhood<br /> Brothers And Sisters That Care </h1> <div class="img"> </div> <p><center>IN THE BEGINING:</center><br /> <center>Madison brotherhood was formed to be able to line up cruise ship traveland casino trips at discount prices.<br /> <br />The first meeting was at Pope's Place in Madison, July 7,2005.The first members at this meeting was Bill Green,<br /> <br />Jackie Wilmore,Woody Woods,Jeff Moreland,Joe Jolley,Jodie Davis,Tom Whitley,Doug Skidmore,Jimmy Fox,<br /> <br />Bo Boguskie.It has grown from there to a charity organization, with people with heart to help others. <br /> <br />The first women to join in 2006 , were Janine Jolley,Brenda Moore,Bonnie Simmons,Peggy Woods. </p> </center><br />
Can you provide a link to the where the image is located? Your css file points to the file with no sub directories, so it's looking in the root directory (which is the link I provided), & that file can't be found.
also to noorahmad, if you look at like the 3rd post i did use a url tag.. Sorry i didnt do it in the 1st post but i didnt know the code for it, im a noob, give me a little break!
ahhh im really tired i missed that i've been working on this for hours.. still nothing when i changed it, think maybe it is in the index.html where it is going wrong??
thanks for your help im ganna to call it a night still nothing after i changed the closing bracket.. need to give my eyes a break maybe i can spot whatever i did tomarrow and try to fix it here is my code after i changed it!
CODE
body { background-color: #E6E6FA; color: #191970; font-family: Verdana, Arial, sans-serif;
Most of that code in your CSS is absolutely irrelevant..
display: block; - Div's are block-level. margin: 0; padding: 0; - Div's have no padding/margin on them anyway. font-family: arial, helvetica, sans-serif; - You're not displaying text, why does it need a font? left: 575px; top: -300px; Sure this is doing something? white-space: nowrap; Again, no text, no point